| | |
| | | data() { |
| | | return { |
| | | tableList: {}, |
| | | keyword:'', |
| | | keyword: "", |
| | | editConfig: { |
| | | visible: false, |
| | | title: "新建", |
| | |
| | | }, |
| | | { |
| | | label: "仓库", |
| | | propType:'mulitple', |
| | | propTwo:'name', |
| | | propType: "mulitple", |
| | | propTwo: "name", |
| | | prop: "warehouse", |
| | | isShowColumn: true, |
| | | default: true |
| | |
| | | }, |
| | | // 搜索 |
| | | getList(val) { |
| | | this.keyword=val; |
| | | this.keyword = val |
| | | this.pagerOptions.currPage=1 |
| | | this.getData() |
| | | }, |
| | |
| | | this.editConfig.title = "编辑" |
| | | let obj=JSON.parse(JSON.stringify(row)) |
| | | for(let i in obj){ |
| | | if(i=='name'||i=='prefix'){ |
| | | obj[i]=obj[i]?obj[i]:'' |
| | | if (i == "name" || i == "prefix") { |
| | | obj[i] = obj[i] ? obj[i] : "" |
| | | }else{ |
| | | obj[i]=obj[i]?obj[i]:null |
| | | } |
| | |
| | | addBtnClick() { |
| | | this.editConfig.title = "新建" |
| | | this.editConfig.infomation={ |
| | | name:'', |
| | | prefix:'', |
| | | name: "", |
| | | prefix: "", |
| | | // 作业类型 |
| | | baseOperationType:null, |
| | | // 退货类型 |
| | |
| | | showOperations:false, |
| | | earlyOperations:null, |
| | | // 保留方式 |
| | | reservationMethod:null, |
| | | reservationMethod: 1, |
| | | // 默认原位置 |
| | | defaultLocationSrcId:null, |
| | | // 默认目标位置 |
| | | defaultLocationDestId:null, |
| | | defaultLocationDestId: null |
| | | } |
| | | this.editConfig.visible = true |
| | | } |