diff --git a/pages/hdyy/scgl/cp-chuliao.vue b/pages/hdyy/scgl/cp-chuliao.vue index 0c5bfc2..701288b 100644 --- a/pages/hdyy/scgl/cp-chuliao.vue +++ b/pages/hdyy/scgl/cp-chuliao.vue @@ -53,7 +53,7 @@ {{e.qty}} {{e.qty_unit_name}} {{e.supp_name}} - {{e.material_type_id}} + {{e.class_name}} {{e.material_spec}} {{e.material_model}} {{e.struct_code}} diff --git a/pages/hdyy/scgl/lt-callmater.vue b/pages/hdyy/scgl/lt-callmater.vue index 5f8a95f..a246e2c 100644 --- a/pages/hdyy/scgl/lt-callmater.vue +++ b/pages/hdyy/scgl/lt-callmater.vue @@ -66,7 +66,7 @@ {{e.qty}} {{e.qty_unit_name}} {{e.supp_name}} - {{e.material_type_id}} + {{e.class_name}} {{e.material_spec}} {{e.material_model}} {{e.vehicle_code}} diff --git a/pages/hdyy/scgl/lt-weight.vue b/pages/hdyy/scgl/lt-weight.vue index a6c7a7f..becf2e4 100644 --- a/pages/hdyy/scgl/lt-weight.vue +++ b/pages/hdyy/scgl/lt-weight.vue @@ -56,7 +56,7 @@ {{e.material_code}} {{e.material_name}} {{e.pcsn}} - {{e.material_type_id}} + {{e.class_name}} {{e.material_spec}} {{e.material_model}} {{e.struct_code}} diff --git a/pages/hdyy/scgl/point-quhuo.vue b/pages/hdyy/scgl/point-quhuo.vue index 2cdc563..8b2d311 100644 --- a/pages/hdyy/scgl/point-quhuo.vue +++ b/pages/hdyy/scgl/point-quhuo.vue @@ -67,7 +67,7 @@ {{e.qty_unit_name}} {{e.supp_name}} - {{e.material_type_id}} + {{e.class_name}} {{e.material_spec}} {{e.material_model}} {{e.struct_code}} @@ -158,6 +158,9 @@ icon: 'none' }) } + this.dataList.forEach(e => { + e.initialQty = e.qty + }) this.num = this.dataList.reduce((sum, item) => sum + Number(item.qty), 0) } else { } diff --git a/pages/hdyy/scgl/sc-chuliao.vue b/pages/hdyy/scgl/sc-chuliao.vue index 0bd5ddc..4c7be48 100644 --- a/pages/hdyy/scgl/sc-chuliao.vue +++ b/pages/hdyy/scgl/sc-chuliao.vue @@ -64,7 +64,7 @@ {{e.qty}} {{e.qty_unit_name}} {{e.supp_name}} - {{e.material_type_id}} + {{e.class_name}} {{e.material_spec}} {{e.material_model}} {{e.struct_code}} diff --git a/pages/hdyy/scgl/sl-huiku.vue b/pages/hdyy/scgl/sl-huiku.vue index 3d70f1b..e5e1c03 100644 --- a/pages/hdyy/scgl/sl-huiku.vue +++ b/pages/hdyy/scgl/sl-huiku.vue @@ -54,7 +54,7 @@ {{e.qty_unit_name}} {{e.supp_name}} - {{e.material_type_id}} + {{e.class_name}} {{e.material_spec}} {{e.material_model}} {{e.struct_code}} @@ -132,6 +132,9 @@ let res = await getGroupInfo(this.val1) if (res && res.data.length > 0) { this.dataList = [...res.data] + this.dataList.forEach(e => { + e.initialQty = e.qty + }) this.num = this.dataList.reduce((sum, item) => sum + Number(item.qty), 0) if(!res.data.length) { this.flag = true