yanjinhui
3 天以前 bfc11f87e2b64420c9917c0b9881b3e327d6f796
н¨Îļþ¼Ð/WMS/src/views/stock/stockInfo.vue
@@ -128,9 +128,10 @@
        },
        {
          field: "supplyQuantity",
          title: "盘点数",
          title: "盘点差异数",
          type: "number",
          span: 8
        },
        
      ],
@@ -327,10 +328,21 @@
        },
      {
        field: "supplyQuantity",
        title: "盘点数",
        title: "盘点差异数",
        type: "number",
        width: 100,
        align: "left",
         cellStyle: (row) => {
          const value = row.supplyQuantity;
          if (value > 0) {
            return { color: "#00ff00" }; // ç»¿è‰²
          } else if (value < 0) {
            return { color: "#ff0000" }; // çº¢è‰²
          }
          // else {
          //   return { color: '#000000' }; // é»‘色
          // }
        },
      },
      {
        field: "inDate",