1
huangxiaoqiang
14 小时以前 af5847927931d3f491d7be5e0178cff3c37ac6f9
ÏîÄ¿´úÂë/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');