haoxuan
2023-10-18 38080d8ef637391709d45ac5dba1b382c59a7faa
src/views/warehouseManage/bussinessType/index.vue
@@ -58,7 +58,8 @@
    setTable() {
      this.tableList = {
        tableInfomation: [],
        selectBox: true,
        selectBox: false,
        selectIndex: true,
        showcol: this.showcol,
        allcol: [],
        tableColumn: this.setTableColumn(this.showcol)
@@ -123,7 +124,15 @@
    // 行点击
    tableRowClick(row) {
      this.editConfig.title = "编辑"
      this.editConfig.infomation = { ...row }
      let obj=JSON.parse(JSON.stringify(row))
      for(let i in obj){
        if(i=='name'||i=='prefix'){
          obj[i]=obj[i]?obj[i]:''
        }else{
          obj[i]=obj[i]?obj[i]:null
        }
      }
      this.editConfig.infomation = { ...obj }
      this.editConfig.visible = true
    },
    // 新建
@@ -133,7 +142,7 @@
         name:'',
         prefix:'',
         // 作业类型
         baseOperationType:null,
        baseOperationType:null,
        // 退货类型
        returnOperationTypeID:null,
        // 创建欠单
@@ -141,7 +150,7 @@
        // 仓库
        warehouseId:null,
        // 显示作业详情
        showOperations:null,
        showOperations:false,
        earlyOperations:null,
        // 保留方式
        reservationMethod:null,