Browse Source

完善出入库

wangchao 3 years ago
parent
commit
ad37773b83

+ 11 - 0
pages/erp/improvedExWaehousing/improvedExWaehousingDetail.vue

@@ -233,6 +233,17 @@
 			// this.detailData.goodsName = uni.getStorageSync('erpContractNo').goodsName;
 			// this.detailData.contractNo = uni.getStorageSync('erpContractNo').contractNo;
 			this.detailData.goodsNameKey = uni.getStorageSync('erpContractNo').goodsNameKey;
+			if (this.detailData.inOutType == '销售出库') {
+				this.detailData.inOutTypeKey = 1
+			} else if (this.detailData.inOutType == '移库出库') {
+				this.detailData.inOutTypeKey = 3
+			} else if (this.detailData.inOutType == '暂存出库') {
+				this.detailData.inOutTypeKey = 4
+			} else if (this.detailData.inOutType == '贸易服务出库') {
+				this.detailData.inOutTypeKey = 5
+			} else if (this.detailData.inOutType == '采购出库') {
+				this.detailData.inOutTypeKey = 6
+			}
 			if (!this.detailData.contractNo) {
 				this.detailData.contractNo = '请选择合同编号'
 			}

+ 11 - 0
pages/erp/improvedWrehousing/improvedWrehousingDetail.vue

@@ -264,6 +264,17 @@
 			}else if(this.detailData.inOutType == '移库入库'){
 				this.isSelectType = true
 			}
+			if (this.detailData.inOutType == '采购入库') {
+				this.detailData.inOutTypeKey = 1
+			} else if (this.detailData.inOutType == '移库入库') {
+				this.detailData.inOutTypeKey = 3
+			} else if (this.detailData.inOutType == '暂存入库') {
+				this.detailData.inOutTypeKey = 4
+			} else if (this.detailData.inOutType == '贸易服务入库') {
+				this.detailData.inOutTypeKey = 5
+			} else if (this.detailData.inOutType == '退库') {
+				this.detailData.inOutTypeKey = 6
+			}
 			
 			// if (!this.detailData.tranCarInfoList) this.detailData.tranCarInfoList = []
 			// if (!this.detailData.contractNo) {