callm 5 місяців тому
батько
коміт
5f125233da
2 змінених файлів з 2 додано та 4 видалено
  1. 1 2
      src/views/prodline/bottom1.vue
  2. 1 2
      src/views/zz/up1.vue

+ 1 - 2
src/views/prodline/bottom1.vue

@@ -103,8 +103,7 @@ export default {
         for (let index = 0; index < dataList.length; index++) {
           const element = dataList[index];
           let item = [];
-          const cellClass = element.v_remark1 && element.v_remark1 !== "" ? 'colorRed' :
-              element.v_blstatus == '加工中' ? 'colorRemind' : element.v_blstatus == '已完成'?'colorGrass':'colorY';
+          const cellClass = 'colorY';
           let wo = element.v_sacode;
           //item.push(`<span class="cell-text ${cellClass}">${element.v_licode}</span>`);
           item.push(`<span class="cell-text ${cellClass}">${wo.slice(2)}</span>`);

+ 1 - 2
src/views/zz/up1.vue

@@ -94,8 +94,7 @@ export default {
       }
     },
     formatRowData(item) {
-      const rowClass = item.v_remark1 && item.v_remark1 !== "" ? 'colorRed' :
-          item.v_blstatus == '加工中' ? 'colorRemind' : item.v_blstatus == '已完成'?'colorGrass':'colorY';
+      const rowClass = 'colorY';
       return [
        // this.createCell(item.v_licode, rowClass),
         this.createCell(item.v_sacode, rowClass),