yangfeng
2023-10-18 a11d38dff8d7beca6d33251557b7e370c155faf1
src/views/warehouseManage/warehouse/index.vue
@@ -57,7 +57,8 @@
    setTable() {
      this.tableList = {
        tableInfomation: [],
        selectBox: true,
        selectBox: false,
        selectIndex: true,
        showcol: this.showcol,
        allcol: [],
        tableColumn: this.setTableColumn(this.showcol)
@@ -82,7 +83,7 @@
        },
        {
          label: "库存位置",
          prop: "deviceName",
          prop: "warehouseLocation",
          isShowColumn: true,
          default: true
        },
@@ -125,21 +126,21 @@
    },
    // 行点击
    tableRowClick(row) {
      this.editConfig.visible = true
      this.editConfig.title = "编辑"
      this.editConfig.infomation = { ...row }
      this.editConfig.visible = true
    },
    // 新建
    addBtnClick() {
      this.editConfig.visible = true
      this.editConfig.infomation={
        address:'',
        buyToResupply:'',
        buyToResupply:null,
        code:'',
        name:'',
        inboundTransportation:1,
        outboundTransportation:1,
      }
      this.editConfig.visible = true
      this.editConfig.title = "新建"
    }
  }