zm
2020-08-19 d75ce097cb1ee766791f1d5d9d946790adb86cab
src/web/Public/Scripts/PSI/Purchase/PWMainForm.js
@@ -149,7 +149,7 @@
      store: Ext.create("Ext.data.ArrayStore", {
        fields: ["id", "text"],
        data: [[-1, "全部"], [0, "待入库"], [1000, "已入库"],
        [2000, "已退货"]]
        [2000, "部分退货"], [3000, "全部退货"]]
      }),
      value: -1
    }, {
@@ -313,13 +313,16 @@
        }, {
          header: "状态",
          dataIndex: "billStatus",
          width: 60,
          width: 80,
          renderer: function (value) {
            if (value == "待入库") {
              return "<span style='color:red'>" + value
                + "</span>";
            } else if (value == "已退货") {
            } else if (value == "部分退货") {
              return "<span style='color:blue'>" + value
                + "</span>";
            } else if (value == "全部退货") {
              return "<span style='color:green'>" + value
                + "</span>";
            } else {
              return value;
@@ -484,7 +487,7 @@
      fields: ["id", "goodsCode", "goodsName", "goodsSpec",
        "unitName", "goodsCount", "goodsMoney",
        "goodsPrice", "memo", "taxRate", "tax",
        "moneyWithTax", "goodsPriceWithTax"]
        "moneyWithTax", "goodsPriceWithTax", "rejGoodsCount", "realGoodsCount"]
    });
    var store = Ext.create("Ext.data.Store", {
      autoLoad: false,
@@ -528,6 +531,16 @@
          dataIndex: "goodsCount",
          align: "right"
        }, {
          header: "退货数量",
          width: 120,
          dataIndex: "rejGoodsCount",
          align: "right"
        }, {
          header: "实际入库数量",
          width: 120,
          dataIndex: "realGoodsCount",
          align: "right"
        }, {
          header: "单位",
          dataIndex: "unitName",
          width: 60