1 line
9.6 KiB
JavaScript
1 line
9.6 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-523689e4"],{1:function(a,t){},2:function(a,t){},"3c30":function(a,t,e){},"6ce1":function(a,t,e){"use strict";e("3c30")},d34c:function(a,t,e){"use strict";e.r(t);var o=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"app-container"},[e("head-form",{attrs:{"placeholder-name":a.placeholderName,"key-name":a.keyNameAdd},on:{getDataList:a.getList,add:a.addNew}}),a._v(" "),e("div",{staticStyle:{}},[a._v(a._s(a.sheCode)+":"+a._s(a.shCode)+" "+a._s(a.sheName)+":"+a._s(a.shName)+" "+a._s(a.locaNum)+":"+a._s(a.num)+"\n "),e("el-button",{attrs:{type:"success"},on:{click:function(t){return a.goback()}}},[a._v(a._s(a._f("i18nFilter")("btn.back")))])],1),a._v(" "),e("base-table",{attrs:{page:a.listQuery.current,limit:a.listQuery.size,"table-config":a.tableProps,"table-data":a.list,"is-loading":a.listLoading}},[e("method-btn",{attrs:{slot:"handleBtn",width:a.trueWidth,"method-list":a.tableBtn},on:{clickBtn:a.handleClick},slot:"handleBtn"})],1),a._v(" "),a.addOrUpdateVisible?e("locationAttr-add",{ref:"addOrUpdate",attrs:{"shelf-id":a.listQuery.shelfId},on:{refreshDataList:a.getList}}):a._e()],1)},i=[],l=(e("7f7f"),e("a3e3")),s=e.n(l),n=e("3393"),r=e.n(n),c=e("9923"),d=e("bb1e"),u=e("b775");function m(a){return Object(u["a"])({url:"/api/wms/area/locationByShelf",method:"post",data:a})}function h(a){return Object(u["a"])({url:"/api/wms/area/locationById",method:"post",data:{id:a}})}function b(a){return Object(u["a"])({url:"/api/wms/area/updatelocation",method:"post",data:a})}function p(a){return Object(u["a"])({url:"/api/wms/area/addlocation",method:"post",data:a})}function f(){return Object(u["a"])({url:"/api/wms/area/getCode",method:"post"})}function N(a){return Object(u["a"])({url:"/api/wms/area/deletelocation",method:"post",data:{id:a}})}var $=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("el-dialog",{attrs:{title:a._f("i18nFilter")(a.dataForm.id?"btn.edit":"btn.add"),visible:a.visible},on:{"update:visible":function(t){a.visible=t}}},[e("el-form",{ref:"dataForm",attrs:{model:a.dataForm,rules:a.dataRule,"label-width":"130px"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&a._k(t.keyCode,"enter",13,t.key,"Enter")?null:a.dataFormSubmit()}}},[e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.LocationName"),prop:"locationName"}},[e("el-input",{attrs:{placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.LocationName")]),clearable:""},model:{value:a.dataForm.locationName,callback:function(t){a.$set(a.dataForm,"locationName",t)},expression:"dataForm.locationName"}})],1),a._v(" "),e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.LocationCode"),prop:"code"}},[e("el-input",{attrs:{placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.LocationCode")]),clearable:""},model:{value:a.dataForm.code,callback:function(t){a.$set(a.dataForm,"code",t)},expression:"dataForm.code"}})],1),a._v(" "),e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.anotherName"),prop:"locationNameAlias"}},[e("el-input",{attrs:{placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.anotherName")]),clearable:""},model:{value:a.dataForm.locationNameAlias,callback:function(t){a.$set(a.dataForm,"locationNameAlias",t)},expression:"dataForm.locationNameAlias"}})],1),a._v(" "),e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.rowMark"),prop:"layers"}},[e("el-input-number",{attrs:{step:1,placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.rowMark")]),clearable:""},model:{value:a.dataForm.layers,callback:function(t){a.$set(a.dataForm,"layers",t)},expression:"dataForm.layers"}})],1),a._v(" "),e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.columnMark"),prop:"columns"}},[e("el-input-number",{attrs:{step:1,placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.columnMark")]),clearable:""},model:{value:a.dataForm.columns,callback:function(t){a.$set(a.dataForm,"columns",t)},expression:"dataForm.c
|