From 63632473168802069ce6dbc77aa1cdcd23342a5b Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Thu, 6 Mar 2025 16:33:59 +0800
Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=85=A5=E5=BA=93=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
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 8f98c80..df446de 100644
--- a/pages/manage/mater-in-storage.vue
+++ b/pages/manage/mater-in-storage.vue
@@ -23,7 +23,7 @@
/>
-
+
目的地
@@ -31,6 +31,14 @@
+
+
+ 当前工序
+
+
+
+
+
@@ -90,6 +98,7 @@
index: '',
options1: [],
index1: '',
+ index2: '',
disabled: false,
dataList: [{order_code: '', material_code: '', material_qty: 0}]
};
@@ -119,6 +128,7 @@
this.index = ''
this.dataList = [{order_code: '', material_code: '', material_qty: 0}]
this.index1 = ''
+ this.index2 = ''
this.disabled = false
},
async _handheldBlanking () {
@@ -134,7 +144,7 @@
}
})
try {
- let res = await handheldBlanking(this.index, this.val1, this.index1, this.val2, arr)
+ let res = await handheldBlanking(this.index, this.val1, this.index1, this.val2, arr, this.index2)
this.clearUp()
uni.showToast({
title: res.message,
diff --git a/utils/getData2.js b/utils/getData2.js
index c4a5e4d..84e1706 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) => request({
+export const handheldBlanking = (type, code, rcode, vcode, material, reg) => request({
url:'api/handheld/blanking',
- data: {type: type, device_code: code, region_code: rcode, vehicle_code: vcode, material: material}
+ data: {type: type, device_code: code, region_code: rcode, vehicle_code: vcode, material: material, regionCode: reg}
})
// 修改订单工序
export const fabOrders = (code) => request({