From 695571c6009ecbc12e7d4a4fb147df7967a1260e Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期一, 07 七月 2025 20:21:19 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn
---
代码管理/WMS/WIDESEA_WMSClient/src/extension/inbound/takeStockOrder.js | 47 ++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 46 insertions(+), 1 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/inbound/takeStockOrder.js" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/inbound/takeStockOrder.js"
index 6292426..a29e28c 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/inbound/takeStockOrder.js"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/inbound/takeStockOrder.js"
@@ -17,7 +17,52 @@
methods: {
//涓嬮潰杩欎簺鏂规硶鍙互淇濈暀涔熷彲浠ュ垹闄�
onInit() {
-
+ this.columns.push({
+ title: '鎿嶄綔',
+ field: '鎿嶄綔',
+ width: 120,
+ align: 'center',
+ render: (h, { row, column, index }) => {
+ if ( row.takeStockStatus == 2 ) {
+ return (
+ <div>
+ <el-button
+ onClick={($e) => {
+ this.$confirm("纭鍏抽棴鐩樼偣鍗�" + row.orderNo + "鍚�?", "璀﹀憡", {
+ confirmButtonText: "纭畾",
+ cancelButtonText: "鍙栨秷",
+ type: "warning",
+ center: true,
+ }).then(() => {
+ this.http
+ .post("api/TakeStockOrder/DisEnableTakeOrder?id=" + row.id, null, "鏁版嵁澶勭悊涓�")
+ .then((x) => {
+ if (!x.status) return this.$message.error(x.message);
+ this.$message.success("鐩樼偣鍏抽棴鎴愬姛!");
+ this.refresh();
+ });
+ });
+ }}
+ type="warning"
+ plain
+ size="small"
+ style="height:26px; padding: 10px !important;"
+ >
+ 鍏抽棴鐩樼偣
+ </el-button>
+ </div>
+ )
+ }
+ }
+
+ });
+ this.columns.forEach(x=>{
+ //璁剧疆title鍒楀浐瀹�
+ if (x.field=='鎿嶄綔') {
+ x.fixed = 'right';
+ // x.align="center"//璁剧疆鏂囨湰灞呬腑
+ }
+ })
},
onInited() {
//妗嗘灦鍒濆鍖栭厤缃悗
--
Gitblit v1.9.3