|
@@ -244,24 +244,28 @@ export default {
|
|
|
// let team_name = '';
|
|
|
// let employee_ids = '';
|
|
|
// let employee_names = '';
|
|
|
+
|
|
|
this.list.forEach((v, index) => {
|
|
|
- box_orders_label_products.push(...(v.box_orders_label_product.filter(v => v.loss_num)))
|
|
|
+ box_orders_label_products.push(...(v.box_orders_label_product.filter(c => c.loss_num)))
|
|
|
let box_orders_product = {
|
|
|
"item_num": (index + 1),
|
|
|
"product_no": v.material_code,
|
|
|
"product_title": v.material_code_show,
|
|
|
+ "process_title_two": v.craft_type_two_code_show,
|
|
|
"color_code": v.craft_type_code_show,
|
|
|
"process_code_two": v.craft_type_two_code,
|
|
|
"color_code_two": v.decor_two_code,
|
|
|
"process_title": v.craft_type_code_show,
|
|
|
"color": v.decor_code_show,
|
|
|
- "process_title_two": v.craft_type_two_show,
|
|
|
+ // "process_title_two": v.craft_type_two_show,
|
|
|
"color_two": v.decor_two_code_show,
|
|
|
"product_size": v.specs,
|
|
|
"product_unit": v.unit_code,
|
|
|
"product_unit_title": v.unit_code_show,
|
|
|
"order_no": v.exe_sale_order_b.no,
|
|
|
"order_item_id": v.id,
|
|
|
+ "brand_code":v.prod_trademark_compare_c.brand_code,
|
|
|
+ "brand_code_show":v.prod_trademark_compare_c.brand_code_show,
|
|
|
"order_item_no": v.item_no,
|
|
|
"customer_no": v.exe_sale_order_b.customer_code,
|
|
|
"customer_name": v.exe_sale_order_b.customer_code_show,
|
|
@@ -301,6 +305,7 @@ export default {
|
|
|
"production_orders_dtl": box_orders_products,
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
let data1 = {
|
|
|
url: 'http://121.36.142.167:7774/jbl/api/module-data/box_orders/box_orders',
|
|
|
post: data
|