From 3fe42736e3275b4e66d3a1829b5f664beaef127a Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Fri, 21 Mar 2025 10:44:13 +0800
Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=85=A5=E5=BA=93=E5=8A=A0?=
=?UTF-8?q?=E6=97=A5=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/manage/mater-in-storage.vue | 14 ++++++++++++--
utils/getData2.js | 4 ++--
2 files changed, 14 insertions(+), 4 deletions(-)
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({