From 7006e452acfd249c821bf354f49206332a419d93 Mon Sep 17 00:00:00 2001 From: shuixiang Date: Sat, 31 Jul 2021 19:41:05 +0800 Subject: [PATCH] no message --- canteen/pages/purchase/detail.vue | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/canteen/pages/purchase/detail.vue b/canteen/pages/purchase/detail.vue index 87237f7..e856e0e 100644 --- a/canteen/pages/purchase/detail.vue +++ b/canteen/pages/purchase/detail.vue @@ -108,12 +108,30 @@ },{ key: 'spec', label: '规格' + },{ + key: 'brand', + label: '品牌' + },{ + key: 'quality_level', + label: '品级' + },{ + label: '编号', + key: 'm_sn' + },{ + label: '供应商', + key: 'supplier_name' },{ key: 'pre_tax_price', label: '税前价格' },{ key: 'after_tax_price', label: '税后价格' + },{ + key: 'purchase_limit', + label: '起购数' + },{ + key: 'purchase_number', + label: '采购数量' }], contents: [], order: {}, @@ -219,10 +237,14 @@ return { name: item.material.m_name, spec: item.spec.name, + brand: item.material.brand, + quality_level: item.material.quality_level, + m_sn: item.material.m_sn, + supplier_name: this.order.supplier.supplier_name, pre_tax_price: item.total_tax_amount, after_tax_price: item.total_non_tax_amount, - spec_id: item.spec.id, - material_id: item.material.id + purchase_limit: item.p_order_item.purchase_limit, + purchase_number: item.purchase_number } }) this.contents = contents;