dengjunjie
3 天以前 aa5a0ac9a7d35d3a072fbe164ded24adbaa68b17
н¨Îļþ¼Ð/WMS/src/extension/stock/Dt_Inventory_Batch.js
@@ -71,6 +71,13 @@
      this.buttons.forEach(x => {//name改为要隐藏的按钮名字
        if (x.name == '编 è¾‘') {
          x.name = '调 æ‹¨';
          x.onClick = function () {
            let rows = this.$refs.table.getSelected();
            if (rows.length == 0) return this.$error("请选择数据!");
            if (rows.length > 1) return this.$error("只能选择一条数据")
            let row = rows[0];
            this.edit(row)
          }
        }
      })
    },
@@ -106,7 +113,7 @@
      this.editFormOptions.forEach((editForm) => {
        editForm.forEach((x) => {
          if (x.field == "availableQuantity") {
          } else {
            x.readonly = true
          }