From 61101b4e0eafc6e670d0ef7b45d0ff2d143f34bd Mon Sep 17 00:00:00 2001
From: pjb <pjb@>
Date: 星期二, 05 五月 2026 15:36:41 +0800
Subject: [PATCH] 组托和订单组托功能完善,新增领料出库功能
---
pages/mat/matSelected.vue | 2 +-
pages/pakin/pakin.vue | 17 +++++++++++++++--
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/pages/mat/matSelected.vue b/pages/mat/matSelected.vue
index d056ce8..f9995f4 100644
--- a/pages/mat/matSelected.vue
+++ b/pages/mat/matSelected.vue
@@ -27,7 +27,7 @@
<text>鍟嗗搧宸ュ崟</text>
</view>
<view class="info-value">
- <text class="tag tag-info">{{mat.standby1 || '-'}}</text>
+ <input class="batch-input" type="text" v-model="mat.standby1" placeholder="閫夊~" placeholder-class="placeholder-style">
</view>
</view>
diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue
index d4b26eb..f6f446e 100644
--- a/pages/pakin/pakin.vue
+++ b/pages/pakin/pakin.vue
@@ -144,6 +144,13 @@
</view>
</view>
<view class="popup-item">
+ <view class="popup-item-left">宸ュ崟鍙�:</view>
+ <view class="popup-item-right">
+ <input type="text" v-model="standby1" class="popup-input" placeholder="璇疯緭鍏ュ伐鍗曞彿">
+ </view>
+
+ </view>
+ <view class="popup-item">
<view class="popup-item-left">鎵瑰彿:</view>
<view class="popup-item-right">
<input type="text" v-model="batch" class="popup-input" placeholder="璇疯緭鍏ユ壒鍙�">
@@ -199,6 +206,7 @@
matInfo: '',
baseUrl: '',
token: '',
+ standby1: '',
storeId: 0,
store: '',
barcode: '',
@@ -354,7 +362,8 @@
});
}, 1000);
} else {
- uni.showToast({ title: result.msg, icon: "none", position: 'top' })
+ that.resetConfirm()
+ uni.showToast({ title: `${that.matnr}鍟嗗搧妗f鏈悓姝, icon: "none", position: 'top' })
}
}
@@ -420,6 +429,7 @@
this.matnr = this.dataList[i].matnr
this.count = this.dataList[i].anfme
this.batch = this.dataList[i].batch
+ this.standby1 = this.dataList[i].standby1 || ''
this.weight = this.dataList[i].weight
this.rowNum = i
this.eject()
@@ -449,8 +459,9 @@
this.dataList[this.rowNum].anfme = this.count
this.dataList[this.rowNum].batch = this.batch
this.dataList[this.rowNum].weight = this.weight
+ this.dataList[this.rowNum].standby1 = this.standby1
this.matnr = ''
- uni.showToast({ title: '绉婚櫎鎴愬姛', icon: "success", position: 'top' });
+ uni.showToast({ title: '淇敼鎴愬姛', icon: "success", position: 'top' });
this.$refs.revise.close()
},
reviseClose() {
@@ -531,6 +542,7 @@
},
// 纭閲嶇疆
resetConfirm() {
+ this.matInfo = ''
this.dataList = []
this.messageText = "閲嶇疆瀹屾垚"
this.messageToggle('success')
@@ -541,6 +553,7 @@
},
// 娓呯┖
resst() {
+ this.matInfo = ''
this.dataList = []
this.barcode = ''
this.barcodeFocuss()
--
Gitblit v1.9.1