diff --git a/pages/manage/mater-in-storage.vue b/pages/manage/mater-in-storage.vue index 354d8d2..3937ae1 100644 --- a/pages/manage/mater-in-storage.vue +++ b/pages/manage/mater-in-storage.vue @@ -39,6 +39,15 @@ + + + 交期时间 + + + + + + @@ -100,7 +109,8 @@ index1: '', index2: '', disabled: false, - dataList: [{order_code: '', material_code: '', material_qty: 0}] + dataList: [{order_code: '', material_code: '', material_qty: 0}], + datetimesingle: '' }; }, onLoad (options) { @@ -145,7 +155,7 @@ } }) try { - let res = await handheldBlanking(this.index, this.val1, this.index1, this.val2, arr, this.index2) + let res = await handheldBlanking(this.index, this.val1, this.index1, this.val2, arr, this.index2, this.datetimesingle) this.clearUp() uni.showToast({ title: res.message, diff --git a/utils/getData2.js b/utils/getData2.js index 84e1706..f0f58d5 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -60,9 +60,9 @@ export const handheldStorehouse = (code, type) => request({ // url:'api/handheld/getRegionCode', // data: {orderCode: code} // }) -export const handheldBlanking = (type, code, rcode, vcode, material, reg) => request({ +export const handheldBlanking = (type, code, rcode, vcode, material, reg, date) => request({ url:'api/handheld/blanking', - data: {type: type, device_code: code, region_code: rcode, vehicle_code: vcode, material: material, regionCode: reg} + data: {type: type, device_code: code, region_code: rcode, vehicle_code: vcode, material: material, regionCode: reg, due_date: date} }) // 修改订单工序 export const fabOrders = (code) => request({