diff --git a/src/views/wpm_gx/handover.vue b/src/views/wpm_gx/handover.vue
index 0c506ffe..b85da9e9 100644
--- a/src/views/wpm_gx/handover.vue
+++ b/src/views/wpm_gx/handover.vue
@@ -130,6 +130,9 @@
报废
+ 退料
{
that.$message.success("操作成功");
}).catch((err) => {
diff --git a/src/views/wpm_gx/handover_form.vue b/src/views/wpm_gx/handover_form.vue
index d3439ac5..4c81f5f9 100644
--- a/src/views/wpm_gx/handover_form.vue
+++ b/src/views/wpm_gx/handover_form.vue
@@ -542,7 +542,7 @@ export default {
that.form.recive_mgroup = that.form.send_mgroup;
that.form.mtype = that.mtype;
}
- if(that.form.new_batch!==''){
+ if(that.change_batch){
that.form.mtype=30;
that.mtype==30
}
@@ -557,9 +557,6 @@ export default {
return err;
});
}else{
- if(that.form.new_batch!==''){
- that.form.mtype=30;
- }
if (that.mode == "add") {
that.$API.wpm.handover.create.req(that.form).then((res) => {
that.isSaveing = false;