From c05003c73bbe527478bccc55efe25c19068b6f50 Mon Sep 17 00:00:00 2001 From: Huangxiaoqiang-03 <1247017146@qq.com> Date: 星期三, 23 十月 2024 17:30:42 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue" index 39cd9fe..a02362a 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue" @@ -3,7 +3,7 @@ <vol-box v-model="showDetialBox" :lazy="true" - width="75%" + width="60%" :padding="15" title="鎸囧畾搴撳瓨" > @@ -78,8 +78,12 @@ </el-table> </div> <template #footer> - <el-button type="primary" size="small" @click="outbound">鐩存帴鍑哄簱</el-button> - <el-button type="primary" size="small" @click="lockStock">閿佸畾搴撳瓨</el-button> + <el-button type="primary" size="small" @click="outbound" + >鐩存帴鍑哄簱</el-button + > + <el-button type="primary" size="small" @click="lockStock" + >閿佸畾搴撳瓨</el-button + > <el-button type="danger" size="small" @click="showDetialBox = false" >鍏抽棴</el-button > @@ -140,6 +144,13 @@ this.originalQuantity = this.row.lockQuantity; this.selectionSum = this.row.lockQuantity; this.getData(); + if (this.selectionSum == this.row.orderQuantity) { + this.selectionClass = "equle-style"; + } else if (this.selectionSum < this.row.orderQuantity) { + this.selectionClass = "less-style"; + } else { + this.selectionClass = "more-style"; + } }, lockStock() { this.http @@ -157,7 +168,7 @@ }); }); }, - outbound(){ + outbound() { this.http .post( "api/Task/GenerateOutboundTask?id=" + this.row.id, -- Gitblit v1.9.3