diff --git a/src/views/PurchasingCenter/MaterialManagement/index.vue b/src/views/PurchasingCenter/MaterialManagement/index.vue index 949512f1..f3d9717f 100644 --- a/src/views/PurchasingCenter/MaterialManagement/index.vue +++ b/src/views/PurchasingCenter/MaterialManagement/index.vue @@ -681,25 +681,25 @@ export default { methods: { // 通过 Tongguo(row) { - this.$confirm('是否通过?', '提示', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - }).then(() => { - Tongguo(row.物料流水号).then(response => { - if (response.data[0].result === '1') { - this.getMaterial() - this.daishenhe() - this.searchMaterial() - this.$message.success('通过成功') - } else { this.$message.error('通过失败') } - }) - }).catch(() => { - this.$message({ - type: 'info', - message: '已取消通过' - }) + Tongguo(row.物料流水号).then(response => { + if (response.data[0].result === '1') { + this.getMaterial() + this.daishenhe() + this.searchMaterial() + this.$message.success('通过成功') + } else { this.$message.error('通过失败') } }) + // this.$confirm('是否通过?', '提示', { + // confirmButtonText: '确定', + // cancelButtonText: '取消', + // type: 'warning' + // }).then(() => { + // }).catch(() => { + // this.$message({ + // type: 'info', + // message: '已取消通过' + // }) + // }) }, // 打回 Dahui(row) {