From 92417fc26db8af34d2f88602aa5dc846d0a67665 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 10 九月 2025 09:25:46 +0800
Subject: [PATCH] 1
---
项目代码/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx | 74 ++++++++++++++++++------------------
1 files changed, 37 insertions(+), 37 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx"
index 372279c..ba4835d 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx"
@@ -24,18 +24,18 @@
//涓嬮潰杩欎簺鏂规硶鍙互淇濈暀涔熷彲浠ュ垹闄�
onInit() {
- this.columns.forEach(x => {
- if (x.field == "errorMessage") {
- x.cellStyle = (row, rowIndex, columnIndex) => {
- if (row.errorMessage == null||row.errorMessage=="") {
- return { background: "White", color: "Black" }
- }
- else{
- return { background: "#FF4500", color: "Black" }
- }
- }
- }
- })
+ // this.columns.forEach(x => {
+ // if (x.field == "errorMessage") {
+ // x.cellStyle = (row, rowIndex, columnIndex) => {
+ // if (row.errorMessage == null||row.errorMessage=="") {
+ // return { background: "White", color: "Black" }
+ // }
+ // else{
+ // return { background: "#FF4500", color: "Black" }
+ // }
+ // }
+ // }
+ // })
//妗嗘灦鍒濆鍖栭厤缃墠锛�
let TaskHandCompleteBtn=this.buttons.find(x=>x.value=='TaskHandComplete');
@@ -48,7 +48,7 @@
return
}
let taskNum = row[0].taskNum
- this.http.get(`/api/Task/CompleteTaskAsync?taskNum=${taskNum}`, {}, "姝e湪瀹屾垚浠诲姟").then((res) => {
+ this.http.get(`/api/Task/TaskComplete?taskNum=${taskNum}`, {}, "姝e湪瀹屾垚浠诲姟").then((res) => {
//绀轰緥锛氳皟鐢ㄥ悗鍙版帴鍙�
if (res.status) {
this.$Message.success('浠诲姟瀹屾垚');
@@ -96,30 +96,30 @@
//绀轰緥锛氳嚜瀹氫箟琛ㄦ牸鍒�
//琛ㄦ牸涓婃坊鍔犺嚜瀹氫箟鎸夐挳
- this.columns.push({
- title: '鎿嶄綔',
- field: '鎿嶄綔',
- width: 150,
- align: 'left', // 'center',
- render: (h, { row, column, index }) => {
- return (
- <div>
- <el-button
- onClick={($e) => {
- // this.$refs.table.load();
- // console.log(this.$refs.table);
- this.$refs.gridHeader.openModel1(row)
- }}
- type="primary"
- plain
- style="height:26px; padding: 10px !important;"
- >
- 鏌ョ湅鎵ц淇℃伅
- </el-button>
- </div>
- )
- }
- })
+ // this.columns.push({
+ // title: '鎿嶄綔',
+ // field: '鎿嶄綔',
+ // width: 150,
+ // align: 'left', // 'center',
+ // render: (h, { row, column, index }) => {
+ // return (
+ // <div>
+ // <el-button
+ // onClick={($e) => {
+ // // this.$refs.table.load();
+ // // console.log(this.$refs.table);
+ // this.$refs.gridHeader.openModel1(row)
+ // }}
+ // type="primary"
+ // plain
+ // style="height:26px; padding: 10px !important;"
+ // >
+ // 鏌ョ湅鎵ц淇℃伅
+ // </el-button>
+ // </div>
+ // )
+ // }
+ // })
},
btn1Click(row, column, index, $e) {
$e.stopPropagation()
--
Gitblit v1.9.3