|
@@ -326,6 +326,7 @@
|
|
|
tips: '',
|
|
|
carNo:'',
|
|
|
selfLoading:"0",
|
|
|
+ goodsName:"",
|
|
|
},
|
|
|
params: {
|
|
|
year: true,
|
|
@@ -352,6 +353,8 @@
|
|
|
onLoad(options) {
|
|
|
this.id = options.id
|
|
|
this.cangId = options.cangId
|
|
|
+ this.binNumber = helper.erpWarehouse.binNumber
|
|
|
+ this.warehouseName = helper.erpWarehouse.warehouseName
|
|
|
//查看任务编号
|
|
|
this.inOutNo()
|
|
|
},
|
|
@@ -361,9 +364,11 @@
|
|
|
mask:true
|
|
|
})
|
|
|
let _data = uni.getStorageSync('erpContractNoCK') == '' ? {} : uni.getStorageSync('erpContractNoCK')
|
|
|
- this.binNumber = helper.erpWarehouse.binNumber
|
|
|
- this.warehouseName = helper.erpWarehouse.warehouseName
|
|
|
- this.detailData.goodsName = _data.goodsName;
|
|
|
+ // this.binNumber = helper.erpWarehouse.binNumber
|
|
|
+ // this.warehouseName = helper.erpWarehouse.warehouseName
|
|
|
+ if(_data.goodsName){
|
|
|
+ this.detailData.goodsName = _data.goodsName;
|
|
|
+ }
|
|
|
this.detailData.inOutType = _data.inOutType ? _data.inOutType : '';
|
|
|
if (this.detailData.inOutType == '销售出库') {
|
|
|
this.detailData.inOutTypeKey = 1
|
|
@@ -405,7 +410,7 @@
|
|
|
}
|
|
|
}
|
|
|
if (!this.detailData.goodsName) {
|
|
|
- this.detailData.goodsName = '货名'
|
|
|
+ this.detailData.goodsName = '暂无'
|
|
|
}
|
|
|
let _day = new Date();
|
|
|
_day.setTime(_day.getTime());
|