瀏覽代碼

前端小程序 sdy

zhongtianhaoyuan 3 年之前
父節點
當前提交
c2852f5b54
共有 2 個文件被更改,包括 8 次插入2 次删除
  1. 6 0
      pages/erp/exWarehousing/exWarehousing.vue
  2. 2 2
      pages/erp/warehousing/selectContractNo.vue

+ 6 - 0
pages/erp/exWarehousing/exWarehousing.vue

@@ -223,6 +223,9 @@
 			this.warehouseName = helper.erpWarehouse.warehouseName
 			this.detailData.goodsName = uni.getStorageSync('erpContractNo').goodsName;
 			this.detailData.contractNo = uni.getStorageSync('erpContractNo').contractNo;
+			this.detailData.goodsNameKey = uni.getStorageSync('erpContractNo').goodsNameKey;
+			console.log(this.detailData.goodsNameKey,"keyzhi")
+			console.log(uni.getStorageSync('erpContractNoList'))
 			if(!this.detailData.contractNo){
 				this.detailData.contractNo = '请选择合同编号'
 			}
@@ -349,8 +352,11 @@
 				this.detailData.warehouseName = helper.erpWarehouse.warehouseName
 				this.detailData.positionId = helper.erpWarehouse.baseId
 				this.detailData.binNumber = this.binNumber
+				this.detailData.goodsNameKey = uni.getStorageSync('erpContractNo').goodsNameKey;
+				console.log(this.detailData.goodsNameKey,"|key值")
 				this.detailData.compId = helper.erpWarehouse.compId
 				this.detailData.inOutFlag = 1
+				this.detailData.taskType = "出库任务"
 				let title = ""
 				if(num == 1 ){
 					this.detailData.statusFlag = 1

+ 2 - 2
pages/erp/warehousing/selectContractNo.vue

@@ -79,7 +79,7 @@
 			},
 			getContractNoList() {
 				this.$api.doRequest('get', '/warehouseBaseInfo/selectContractNoList', {
-					compId: this.compId,
+					// compId: this.compId,
 					flag: 7,
 				}).then(res => {
 					if (res.data.code == 200) {
@@ -89,7 +89,7 @@
 					}
 				})
 				this.$api.doRequest('get', '/warehouseBaseInfo/selectContractNoList', {
-					compId: this.compId,
+					// compId: this.compId,
 					flag: 6,
 				}).then(res => {
 					if (res.data.code == 200) {