From 41702c7ce4c88ad70f52d83d153dd4c596ff69d5 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <1247017146@qq.com> Date: 星期一, 26 五月 2025 15:29:36 +0800 Subject: [PATCH] 1 --- 项目代码/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx | 72 ++++++++++++++++++------------------ 1 files changed, 36 insertions(+), 36 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..f220431 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'); @@ -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