diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue
index dfc15325..f54f73cd 100644
--- a/src/views/wpm_bx/handover_form.vue
+++ b/src/views/wpm_bx/handover_form.vue
@@ -49,6 +49,7 @@
>
{{ item.batch }}
({{ item.material_.process_name }})
+ (原料棒)
{{ item.count }}
@@ -65,7 +66,8 @@
-
+
+
@@ -573,7 +575,9 @@ export default {
item.count = item.count_cando;
totalCount += Number(item.count_cando);
item.tracking = item.material_.tracking;
- item.process = item.material_.process_name;
+ if(item.material_.process_name){
+ item.process = item.material_.process_name;
+ }
item.handoverbw = [];
that.getWprList(item.id,index);
})
@@ -728,7 +732,9 @@ export default {
let obj = {};
obj.wm = item.id;
obj.batch = item.batch;
- obj.batch = item.batch.material_.process_name;
+ if(item.batch.material_.process_name){
+ obj.process = item.batch.material_.process_name;
+ }
obj.count_cando = item.count;
obj.count = item.count;
obj.handoverbw = [];
@@ -780,7 +786,9 @@ export default {
let obj2 = {};
obj2.wm = arr[0].id;
obj2.batch = arr[0].batch;
- obj2.process = arr[0].material_.process_name;
+ if(arr[0].material_.process_name){
+ obj2.process = arr[0].material_.process_name;
+ }
obj2.count_cando = arr[0].count;
obj2.count = arr[0].count;
if(that.form.handoverb&&that.form.handoverb.length>0){
@@ -839,7 +847,9 @@ export default {
let obj2 = {};
obj2.wm = item.id;
obj2.batch = item.batch;
- obj2.process = item.material_.process_name;
+ if(item.material_.process_name){
+ obj2.process = item.material_.process_name;
+ }
obj2.count_cando = item.count;
obj2.handoverbw = [];
obj2.count = 1;