1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-534c3dec"],{5901:function(t,a,e){"use strict";e("c6c9")},"6d16":function(t,a,e){"use strict";e.d(a,"e",(function(){return r})),e.d(a,"d",(function(){return l})),e.d(a,"f",(function(){return n})),e.d(a,"a",(function(){return o})),e.d(a,"b",(function(){return s})),e.d(a,"c",(function(){return d}));var i=e("b775");function r(t){return Object(i["a"])({url:"/api/wms/material/page",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/api/wms/material/get",method:"post",data:{id:t}})}function n(t){return Object(i["a"])({url:"/api/wms/material/update",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/api/wms/material/add",method:"post",data:t})}function s(){return Object(i["a"])({url:"/api/wms/material/get-code",method:"post"})}function d(t){return Object(i["a"])({url:"/api/wms/material/delete",method:"post",data:{id:t}})}},addf:function(t,a,e){"use strict";e.d(a,"e",(function(){return r})),e.d(a,"d",(function(){return l})),e.d(a,"f",(function(){return n})),e.d(a,"a",(function(){return o})),e.d(a,"b",(function(){return s})),e.d(a,"c",(function(){return d}));var i=e("b775");function r(t){return Object(i["a"])({url:"/api/wms/material-type/page",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/api/wms/material-type/get",method:"post",data:{id:t}})}function n(t){return Object(i["a"])({url:"/api/wms/material-type/update",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/api/wms/material-type/add",method:"post",data:t})}function s(){return Object(i["a"])({url:"/api/wms/material-type/get-code",method:"post"})}function d(t){return Object(i["a"])({url:"/api/wms/material-type/delete",method:"post",data:{id:t}})}},c6c9:function(t,a,e){},d1a8:function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticStyle:{margin:"20px"}},[e("div",{staticStyle:{"background-color":"#02BCFF","font-size":"1.5em",color:"white",padding:"5px 20px",margin:"20px"},attrs:{slot:"title"},slot:"title"},[t._v(t._s(t._f("i18nFilter")(t.isdetail?"btn.detail":t.dataForm.id?"btn.edit":"btn.add")))]),t._v(" "),e("div",{staticStyle:{margin:"0 15px"}},[e("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"140px"},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.dataFormSubmit()}}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.material.MaterialName"),prop:"name"}},[e("el-input",{attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.material.MaterialName")]),clearable:""},model:{value:t.dataForm.name,callback:function(a){t.$set(t.dataForm,"name",a)},expression:"dataForm.name"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.material.MaterialCoding"),prop:"code"}},[e("el-input",{attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.material.MaterialCoding")]),clearable:""},model:{value:t.dataForm.code,callback:function(a){t.$set(t.dataForm,"code",a)},expression:"dataForm.code"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.visual.EnglishName"),prop:"enName"}},[e("el-input",{attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.EnglishName")]),clearable:""},model:{value:t.dataForm.enName,callback:function(a){t.$set(t.dataForm,"enName",a)},expression:"dataForm.enName"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Abbreviation"),prop:"abbr"}},[e("el-input",{attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Abbreviation")]),clearable:""},model:{value:t.dataForm.abbr,callback:function(a){t.$set(t.dataForm,"abbr",a)},expression:"dataForm.abbr"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.material.MaterialType"),prop:"category"}},[e("el-select",{attrs:{disabled:t.isdetail,filterable:"",placeholder:t.$i18nForm(["placeholder.
|