|
|
|
@ -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; |
|
|
|
|