| | |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | checkHanderOrder(val.id).then(res=>{ |
| | | checkHanderOrder(val).then(res=>{ |
| | | if(res.status===200){ |
| | | this.$message.success("审核通过") |
| | | this.getData() |
| | |
| | | }, |
| | | // 新增 / 修改 |
| | | addOrUpdateHandle(row) { |
| | | this.addOrUpdateVisible = true |
| | | this.$nextTick(() => { |
| | | this.$refs.addOrUpdate.init(row ? row.id : row) |
| | | }) |
| | | if(row.isPass){ |
| | | this.addOrUpdateVisible = true |
| | | this.$nextTick(() => { |
| | | this.$refs.addOrUpdate.init(row ? row.id : row) |
| | | }) |
| | | }else{ |
| | | this.addSampleVisible = true |
| | | this.$nextTick(() => { |
| | | this.$refs.addSampleForm.init(row ? row.contractNo : null) |
| | | }) |
| | | } |
| | | }, |
| | | // 新增样品订单 |
| | | addSampleCustomerOrder() { |
| | | this.addSampleVisible = true |
| | | this.$nextTick(() => { |
| | | this.$refs.addSampleForm.init(0) |
| | | this.$refs.addSampleForm.init(null) |
| | | }) |
| | | }, |
| | | // 打开日期选择框 |