From 7afa627789e11881366fd5145d9248d1992dcd3b Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 05 十一月 2025 13:23:34 +0800
Subject: [PATCH] 波次拣货修改
---
pages/outbound/wavePickItem.vue | 44 ++++++++++++----------
manifest.json | 19 +--------
2 files changed, 26 insertions(+), 37 deletions(-)
diff --git a/manifest.json b/manifest.json
index 2c9bc8b..d03f340 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,6 +1,6 @@
{
"name" : "涓壃wms",
- "appid" : "__UNI__DA5854D",
+ "appid" : "__UNI__AE0F207",
"description" : "",
"versionName" : "20250613",
"versionCode" : 100,
@@ -84,22 +84,7 @@
}
}
},
- "nativePlugins" : {
- "Hanyin-Plugin" : {
- "__plugin_info__" : {
- "name" : "钃濈墮杩炴帴姹夊嵃渚挎惡寮忔墦鍗版満",
- "description" : "app钃濈墮杩炴帴姹夊嵃渚挎惡寮忔墦鍗版満闈㈠崟鎵撳嵃-----娴嬭瘯鍨嬪彿: HM-A300",
- "platforms" : "Android",
- "url" : "https://ext.dcloud.net.cn/plugin?id=2731",
- "android_package_name" : "uni.UNIDA5854D",
- "ios_bundle_id" : "",
- "isCloud" : true,
- "bought" : 1,
- "pid" : "2731",
- "parameters" : {}
- }
- }
- }
+ "nativePlugins" : {}
},
/* 蹇簲鐢ㄧ壒鏈夌浉鍏� */
"quickapp" : {},
diff --git a/pages/outbound/wavePickItem.vue b/pages/outbound/wavePickItem.vue
index 452fa27..7efd7fa 100644
--- a/pages/outbound/wavePickItem.vue
+++ b/pages/outbound/wavePickItem.vue
@@ -11,11 +11,7 @@
<text class='cuIcon-close text-gray margin-right-xs' v-show="barcode!==''" @click="clearCode"></text>
<text class='cuIcon-search text-blue' @click="search"></text>
</view>
-
</form>
-
-
-
<view class="cu-list det menu sm-border padding">
<block v-for="(item, index) in list">
<view class="cu-list det menu ">
@@ -56,7 +52,7 @@
</view>
<view class="cu-item">
<view class="content">
- <text class="text-gray">璁㈠崟鍙�:<text class="text-black ">{{item2.asnCode}}</text></text>
+ <text class="text-gray">璁㈠崟鍙�:<text class="text-black ">{{item2.orderCode}}</text></text>
</view>
</view>
<view class="cu-item">
@@ -69,6 +65,21 @@
<text class="text-gray">宸叉嫞鏁伴噺:<text class="text-black ">{{item2.qty}}</text></text>
</view>
</view>
+ <view class="cu-item">
+ <view class="content">
+ <view class="cu-form-group padding-lr-0">
+ <view class="title text-blue"><text
+ class="text-red text-xl vertical-middle">*</text>绁ㄥ彿: </view>
+ <input type="input" v-model="item2.fieldsIndex" class="text-black">
+ </view>
+ </view>
+ </view>
+<!-- <view class="cu-item grid col-2" v-if="item2.extendFields">
+ <view class="item" v-for="el in dynamicFields" :key="el.id">
+ <text class="text-black">{{el.fieldsAlise}}:
+ <text class="text-grey ">{{item.extendFields[el.fields]}}</text></text>
+ </view>
+ </view> -->
<view class="cu-item" v-show="item2.anfme !== item2.qty">
<view class="content">
<view class="cu-form-group padding-lr-0">
@@ -85,20 +96,12 @@
<text class="text-gray">鏈鎷h揣鏁伴噺:<text class="text-black ">{{item.wkOrderItems.reduce((total, item) => total + (Number(item.demandQty) ||0 ) , 0)}}</text></text>
</view>
</view>
-
</block>
</view>
-
-
-
-
<view class="cu-bar btn-group foot" v-show="!isconfirm">
<button class="cu-btn text-blue line-blue shadow" @click="clear">娓呯┖</button>
<button class="cu-btn bg-blue shadow-blur" :disabled="repeatClick" @click="complete">鎷h揣瀹屾垚</button>
</view>
-
-
-
</view>
</template>
@@ -120,18 +123,20 @@
isconfirm: false,
barcode:'',
max: 99999999,
- repeatClick:false
-
+ repeatClick:false,
}
},
- computed: {
+ computed: {
+ ...mapState('user', ['dynamicFields']),
+ ...mapState('user', {
+ dynFields: state => state.dynamicFields
+ }),
allCount() {
- return this.list.reduce((acc, row) => +row.receiptQty + acc, 0)
+ return this.list.reduce((acc, row) => + row.receiptQty + acc, 0)
},
-
},
mounted() {
-
+ console.log(dynamicFields);
},
onLoad() {
let that = this
@@ -192,7 +197,6 @@
},
async complete() {
-
let that = this
if(that.barcode === '' || that.barcode === null){
uni.showToast({
--
Gitblit v1.9.1