mt-ck-wms-ui/dist/static/js/chunk-0ebaadc4.8a9f2fe7.js

1 line
15 KiB
JavaScript
Raw Normal View History

2022-06-07 15:13:51 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0ebaadc4"],{"03ef":function(t,e,a){},3105:function(t,e,a){"use strict";a("03ef")},"322f":function(t,e,a){"use strict";a.d(e,"e",(function(){return i})),a.d(e,"d",(function(){return r})),a.d(e,"f",(function(){return o})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return c}));var l=a("b775");function i(t){return Object(l["a"])({url:"/api/wms/area/shelf",method:"post",data:t})}function r(t){return Object(l["a"])({url:"/api/wms/area/shelfById",method:"post",data:{id:t}})}function o(t){return Object(l["a"])({url:"/api/wms/area/updateshelf",method:"post",data:t})}function s(t){return Object(l["a"])({url:"/api/wms/area/addshelf",method:"post",data:t})}function n(){return Object(l["a"])({url:"/api/wms/area/getCode",method:"post"})}function c(t){return Object(l["a"])({url:"/api/wms/area/deleteshelf",method:"post",data:{id:t}})}},"6b45":function(t,e,a){"use strict";var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[a("el-button",{attrs:{type:"text",size:"small"},on:{click:t.emitClick}},[t._v(t._s(t.$t("module.basicData.cache.addLocation")))])],1)},i=[],r={props:{injectData:{type:Object,default:function(){return{}}}},methods:{emitClick:function(){this.$router.push({name:"locationAdd",query:{id:this.injectData.id,code:this.injectData.code,total:this.injectData.total,shelfName:this.injectData.shelfName}})}}},o=r,s=a("2877"),n=Object(s["a"])(o,l,i,!1,null,null,null);e["a"]=n.exports},"93eb":function(t,e,a){"use strict";a.d(e,"e",(function(){return i})),a.d(e,"d",(function(){return r})),a.d(e,"f",(function(){return o})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return c}));var l=a("b775");function i(t){return Object(l["a"])({url:"/api/wms/area/page",method:"post",data:t})}function r(t){return Object(l["a"])({url:"/api/wms/area/getById",method:"post",data:{id:t}})}function o(t){return Object(l["a"])({url:"/api/wms/area/update",method:"post",data:t})}function s(t){return Object(l["a"])({url:"/api/wms/area/add",method:"post",data:t})}function n(){return Object(l["a"])({url:"/api/wms/area/getCode",method:"post"})}function c(t){return Object(l["a"])({url:"/api/wms/area/delete",method:"post",data:{id:t}})}},b7d9:function(t,e,a){"use strict";var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"130px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.ShelfName"),prop:"name"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.ShelfName")]),clearable:""},model:{value:t.dataForm.shelfName,callback:function(e){t.$set(t.dataForm,"shelfName",e)},expression:"dataForm.shelfName"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.ShelfCode"),prop:"code"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.ShelfCode")]),clearable:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.StorageQuantity"),prop:"total"}},[a("el-input-number",{attrs:{step:1,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.StorageQuantity")]),clearable:""},model:{value:t.dataForm.total,callback:function(e){t.$set(t.dataForm,"total",e)},expression:"dataForm.total"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.rowNum"),prop:"rowNum"}},[a("el-input-number",{attrs:{step:1,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.rowNum")]),clearable:""},model:{value:t.dataForm.rowNum,callback:fun