Junjie
昨天 e0cee09916a315d6012b8d44b4c493c4f3adc5d1
src/main/webapp/components/DevpCard.js
@@ -176,6 +176,15 @@
    orDash: function (value) {
      return MonitorCardKit.orDash(value);
    },
    formatIoMode: function (value) {
      if (value === 1 || value === "1") {
        return "入库";
      }
      if (value === 2 || value === "2") {
        return "出库";
      }
      return "--";
    },
    getStatusLabel: function (item) {
      return item && item.autoing ? "自动" : "手动";
    },
@@ -265,6 +274,7 @@
        { label: "工作号", value: this.orDash(item.taskNo) },
        { label: "目标站", value: this.orDash(item.targetStaNo) },
        { label: "模式", value: item.autoing ? "自动" : "手动" },
        { label: "出入库模式", value: this.formatIoMode(item.ioMode) },
        { label: "有物", value: MonitorCardKit.yesNo(item.loading) },
        { label: "可入", value: MonitorCardKit.yesNo(item.inEnable) },
        { label: "可出", value: MonitorCardKit.yesNo(item.outEnable) },