|
|
@@ -514,11 +514,9 @@
|
|
|
workOrderId: this.row.id
|
|
|
};
|
|
|
acceptance(params).then((res) => {
|
|
|
- if (res.success) {
|
|
|
- this.$message.success('验收成功!');
|
|
|
- this.$emit('refesh');
|
|
|
- this.equipmentdialog = false;
|
|
|
- }
|
|
|
+ this.$message.success('验收成功!');
|
|
|
+ this.$emit('refesh');
|
|
|
+ this.equipmentdialog = false;
|
|
|
});
|
|
|
},
|
|
|
//驳回按钮事件
|
|
|
@@ -547,14 +545,14 @@
|
|
|
workOrderId: this.row.id
|
|
|
};
|
|
|
acceptance(params).then((res) => {
|
|
|
- if (res.code == 0) {
|
|
|
+ // if (res.code == 0) {
|
|
|
this.$message.success(
|
|
|
orderStatus == 4 ? '审核通过!' : '驳回成功!'
|
|
|
);
|
|
|
this.$emit('refesh');
|
|
|
this.btnLoading = false;
|
|
|
this.equipmentdialog = false;
|
|
|
- }
|
|
|
+ // }
|
|
|
});
|
|
|
}
|
|
|
},
|