Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before
| | |
| | | ], |
| | | toolbar: [], |
| | | operator: [ |
| | | { |
| | | text: '查看库存', |
| | | type: 'text', |
| | | size: 'small', |
| | | fun: this.searchStock |
| | | } |
| | | // { |
| | | // text: '查看库存', |
| | | // type: 'text', |
| | | // size: 'small', |
| | | // fun: this.searchStock |
| | | // } |
| | | ], |
| | | operatorConfig: { |
| | | fixed: 'right', |
| | |
| | | return '' |
| | | }, |
| | | // 删除 |
| | | deleteHandle(row) { |
| | | this.$confirm('是否确认删除ID为' + row.id, '提示', { |
| | | deleteMainPlan(row) { |
| | | this.$confirm('是否确认作废ID为' + row.id, '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | closeOnClickModal: false, |
| | |
| | | // } |
| | | }, |
| | | init() { |
| | | this.operationId = this.dataForm.id |
| | | this.fetchCapabilityForOperation() |
| | | // this.operationId = this.dataForm.id |
| | | // this.fetchCapabilityForOperation() |
| | | if (this.dataForm.id) { |
| | | getObj(this.dataForm.id).then((response) => { |
| | | this.dataForm = response.data.data |