From c69b6892e9e004db9cf5d0edc69bbd2fcc1d83db Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期一, 15 十二月 2025 16:41:44 +0800
Subject: [PATCH] 1
---
项目代码/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx | 42 +++++++++++++++++++++++++++++++++++-------
1 files changed, 35 insertions(+), 7 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
index 96924f4..8fa5fbe 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
@@ -71,7 +71,7 @@
type: 'danger',
icon: 'el-icon-check',
disabled: false,
- plain: true,
+ plain: false,
onClick: function () {
if (this.editFormFields.remark == '鍏朵粬鍑哄簱') {
this.$confirm('鏄惁鍏朵粬鍑哄簱', '璀﹀憡', {
@@ -97,7 +97,34 @@
}
})
})
- } else {
+ }
+ else if (this.editFormFields.remark == '') {
+ this.$confirm('鏄惁鐩存帴鍑哄簱', '璀﹀憡', {
+ confirmButtonText: '纭畾',
+ cancelButtonText: '鍙栨秷',
+ type: 'warning',
+ center: true,
+ customClass: 'large-text-confirm'
+ }).then(() => {
+ console.log(this.$refs.detail.rowData)
+ this.http
+ .post(
+ `/api/StockInfo/UpdateDataStockDetail`,
+ this.$refs.detail.rowData,
+ '鐗规畩鍑哄簱'
+ )
+ .then((res) => {
+ if (res.status) {
+ this.$Message.success(res.message)
+ this.boxModel = false
+ this.refresh()
+ } else {
+ this.$Message.error(res.message) //閿欒鎻愮ず
+ }
+ })
+ })
+ }
+ else {
this.$confirm('鏄惁璋冩嫧鍑哄簱', '璀﹀憡', {
confirmButtonText: '纭畾',
cancelButtonText: '鍙栨秷',
@@ -161,6 +188,7 @@
})
}
})
+
this.columns.push({
title: '鎿嶄綔',
field: '鎿嶄綔',
@@ -201,11 +229,11 @@
})
//绀轰緥锛氳缃慨鏀规柊寤恒�佺紪杈戝脊鍑烘瀛楁鏍囩鐨勯暱搴�
this.boxOptions.labelWidth = 150
- this.buttons.forEach((btn) => {
- if (btn.name == '缂栬緫') {
- btn.hidden = true
- }
- })
+ // this.buttons.forEach((btn) => {
+ // if (btn.name == '缂栬緫') {
+ // btn.hidden = true
+ // }
+ // })
this.boxButtons.forEach((btn) => {
if (btn.name == '淇� 瀛�') {
btn.hidden = true
--
Gitblit v1.9.3