| | |
| | | }, |
| | | // 作废 |
| | | cancelHandle(row) { |
| | | this.$confirm('是否确认作废销售订单号为' + row.id + '提示', { |
| | | this.$confirm('确认作废销售订单号为【' + row.contractNo + '】的数据?','提示' , { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | closeOnClickModal: false, |
| | |
| | | this.$message.error('作废失败') |
| | | } |
| | | }) |
| | | }) |
| | | // .then(() => { |
| | | // markPlanned([row.id], '05cancel').then((response) => { |
| | | // var data = response.data |
| | | // if (data.code === 0) { |
| | | // this.$message.success('作废成功') |
| | | // this.getData() |
| | | // } else { |
| | | // this.$message.error('作废失败') |
| | | // } |
| | | // }) |
| | | // }) |
| | | // .then((data) => { |
| | | // this.$message.success('作废成功') |
| | | // this.getData() |
| | | // }) |
| | | }).catch(()=>{ }) |
| | | }, |
| | | // 删除 |
| | | deleteHandle(row) { |