|
@@ -250,6 +250,12 @@
|
|
|
onShow() {
|
|
|
this.detailData.goodsName = uni.getStorageSync('erpContractNo').goodsName;
|
|
|
this.detailData.contractNo = uni.getStorageSync('erpContractNo').contractNo;
|
|
|
+ if(!this.detailData.contractNo){
|
|
|
+ this.detailData.contractNo = '请选择合同编号'
|
|
|
+ }
|
|
|
+ if(!this.detailData.goodsName){
|
|
|
+ this.detailData.goodsName = '货名'
|
|
|
+ }
|
|
|
// 获取入库类型
|
|
|
this.getrkType()
|
|
|
|