From a1f7a7a68d23f7b9de7c4237bf167fa4808fb20d Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期日, 09 十一月 2025 13:36:39 +0800
Subject: [PATCH] 1
---
项目代码/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx | 46 ++++++++++++++++++++++++++--------------------
1 files changed, 26 insertions(+), 20 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 6a2415c..09f277c 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"
@@ -173,37 +173,37 @@
render: (h, { row, column, index }) => {
return (
<div>
- <el-button onClick={($e) => { }} type="primary">
+ <el-button
+ onClick={($e) => {
+ ;(row.remark = '鍏朵粬鍑哄簱'), this.linkData(row)
+ }}
+ type="primary"
+ >
鍏朵粬鍑哄簱
</el-button>
- <el-button onClick={($e) => {
-
- }} type="success" >
+ <el-button
+ onClick={($e) => {
+ ;(row.remark = '璋冩嫧鍑哄簱'), this.linkData(row)
+ }}
+ type="success"
+ >
璋冩嫧鍑哄簱
</el-button>
- <el-button onClick={($e) => {
- // this.http
- // .post(`/api/Task/OutBoundTaskAsync?palletCode=${row.palletCode}`, {}, '姝e湪鐢熸垚浠诲姟')
- // .then((res) => {
- // //绀轰緥锛氳皟鐢ㄥ悗鍙版帴鍙�
- // if (res.status) {
- // this.$Message.success(row.palletCode + '鍑哄簱鎴愬姛')
- // this.refresh()
- // } else {
- // this.$Message.error(res.message) //閿欒鎻愮ず
- // this.refresh()
- // }
- // })
- this.$refs.gridBody.open(row.palletCode);
- }} type="warning">
+ <el-button
+ onClick={($e) => {
+ this.$refs.gridBody.open(row.palletCode)
+ }}
+ type="warning"
+ >
鐩樼偣鍑哄簱
</el-button>
</div>
)
}
})
+
// this.columns.push({
// title: "鎿嶄綔",
// field: "鎿嶄綔",
@@ -236,7 +236,11 @@
btn.hidden = true
}
})
-
+ this.boxButtons.forEach((btn) => {
+ if (btn.name == '淇� 瀛�') {
+ btn.hidden = true
+ }
+ })
this.columns.forEach((column) => {
if (column.field == 'floor') {
const floorMap = {
@@ -302,6 +306,7 @@
modelOpenAfter(row) {
const isAdd = this.currentAction == 'Add' //鍒ゆ柇鏄惁涓烘柊寤烘搷浣�
//闅愯棌鏄庣粏琛ㄦ寜閽�
+ // boxButtons
this.detailOptions.buttons.forEach((btn) => {
if (btn.name == '娣诲姞琛�') {
btn.hidden = true
@@ -309,6 +314,7 @@
//btn.readonly=true;
}
})
+
const isDel = this.currentAction == 'Add' //鍒ゆ柇鏄惁涓烘柊寤烘搷浣�
//闅愯棌鏄庣粏琛ㄦ寜閽�
this.detailOptions.buttons.forEach((btn) => {
--
Gitblit v1.9.3