1 line
4.5 KiB
JavaScript
1 line
4.5 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6eab"],{"1OMC":function(t,e,o){"use strict";o.r(e);var r=o("c/X4"),a={data:function(){return{stockForm:{store_length:0,store_width:0,pallet_length:0,pallet_width:0,charge_x:0,charge_y:0}}},mounted:function(){this.getBasicInfo()},methods:{saveBasicInfo:function(){r.a.saveBasicInfo(this.stockForm).then(function(t){})},getBasicInfo:function(){var t=this;r.a.getBasicInfo().then(function(e){t.stockForm=e.data.data})}}},n=o("KHd+"),c=Object(n.a)(a,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-card",[o("div",{staticStyle:{width:"50%",float:"left"}},[o("div",{staticStyle:{"margin-left":"50px"}},[o("h4",[t._v("基础信息 [与导入地图同比例]")])]),t._v(" "),o("el-form",{ref:"stockForm",attrs:{model:t.stockForm,"label-width":"120px"}},[o("el-form-item",{attrs:{label:"仓库长度"}},[o("el-input",{staticStyle:{width:"80%"},model:{value:t.stockForm.store_length,callback:function(e){t.$set(t.stockForm,"store_length",e)},expression:"stockForm.store_length"}})],1),t._v(" "),o("el-form-item",{attrs:{label:"仓库宽度"}},[o("el-input",{staticStyle:{width:"80%"},model:{value:t.stockForm.store_width,callback:function(e){t.$set(t.stockForm,"store_width",e)},expression:"stockForm.store_width"}})],1),t._v(" "),o("el-form-item",{attrs:{label:"托盘长度"}},[o("el-input",{staticStyle:{width:"80%"},model:{value:t.stockForm.pallet_length,callback:function(e){t.$set(t.stockForm,"pallet_length",e)},expression:"stockForm.pallet_length"}})],1),t._v(" "),o("el-form-item",{attrs:{label:"托盘宽度"}},[o("el-input",{staticStyle:{width:"80%"},model:{value:t.stockForm.pallet_width,callback:function(e){t.$set(t.stockForm,"pallet_width",e)},expression:"stockForm.pallet_width"}})],1),t._v(" "),o("el-form-item",{attrs:{label:"充电桩位置"}},[o("el-input",{staticStyle:{width:"40%"},attrs:{placeholder:"X"},model:{value:t.stockForm.charge_x,callback:function(e){t.$set(t.stockForm,"charge_x",e)},expression:"stockForm.charge_x"}}),t._v(" "),o("el-input",{staticStyle:{width:"40%"},attrs:{placeholder:"Y"},model:{value:t.stockForm.charge_y,callback:function(e){t.$set(t.stockForm,"charge_y",e)},expression:"stockForm.charge_y"}})],1),t._v(" "),o("el-form-item",[o("el-button",{attrs:{type:"primary"},on:{click:t.saveBasicInfo}},[t._v("确认")])],1)],1)],1)])},[],!1,null,null,null);c.options.__file="basicdata.vue";e.default=c.exports},"c/X4":function(t,e,o){"use strict";var r=o("t3Un");e.a={GetBinsInfo:function(t){return Object(r.a)({url:"/storage/GetBinsInfo",method:"post",data:t})},GetStoreModel:function(){return Object(r.a)({url:"/store/GetStoreModel",method:"post"})},GetStoreModel2:function(){return Object(r.a)({url:"/store/GetStoreModel2",method:"post"})},ImportBinModelData:function(t){return Object(r.a)({url:"/store/ImportBinModel",method:"post",data:t})},SetStoreModel:function(t){return Object(r.a)({url:"/store/SetStoreModel",method:"post",data:t})},SaveStockInfo:function(t){return Object(r.a)({url:"/store/SaveStockInfo",method:"post",data:t})},saveBasicInfo:function(t){return Object(r.a)({url:"/store/SaveBasicInfo",method:"post",data:t})},getBasicInfo:function(){return Object(r.a)({url:"/store/GetBasicInfo",method:"post"})},getStoreStatData:function(){return Object(r.a)({url:"/store/GetStoreStatData",method:"post"})},getCheckRecord:function(){return Object(r.a)({url:"/store/GetCheckRecord",method:"post"})},getBatchList:function(){return Object(r.a)({url:"/storage/GetBatchList",method:"post"})},getAllBatchList:function(){return Object(r.a)({url:"/storage/GetAllBatchList",method:"post"})},getProductionBatchList:function(){return Object(r.a)({url:"/erp/GetProductionBatchList",method:"post"})},addBatchNumber:function(t){return Object(r.a)({url:"/storage/AddBatchNumber",method:"post",data:t})},GetCurrentBatchAndPackage:function(){return Object(r.a)({url:"/storage/GetCurrentBatchAndPackage",method:"post"})},SetCurrentBatchAndPackage:function(t){return Object(r.a)({url:"/storage/SetCurrentBatchAndPackage",method:"post",data:t})},getBatchInfo:function(t){return Object(r.a)({url:"/storage/GetBatchInfo",method:"post",data:t})},SetBinStoreInfo:function(t){return Object(r.a)({url:"/storage/SetBinStoreInfo",method:"post",data:t})},GetBinStoreInfo:function(t){return Object(r.a)({url:"/storage/GetBinStoreInfo",method:"post",data:t})},getInOutInfo:function(t){return Object(r.a)({url:"/storage/getInOutInfo",method:"post",data:t})},getProductByBatch:function(t){return Object(r.a)({url:"/storage/getProductByBatch",method:"post",data:t})}}}}]); |