н¨Îļþ¼Ð/WMS/src/views/stock/stockInfo.vue
@@ -54,8 +54,9 @@
          title: "库房编号",
          type: "string",
          required: true,
            data: [],
          data: [],
           dataKey: "warehouseNuber",
            // readonly : true,//不可编辑
        },
        {
          field: "palletCode",
@@ -131,6 +132,7 @@
          title: "盘点差异数",
          type: "number",
          span: 8
        },
        
      ],
@@ -331,6 +333,17 @@
        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",