diff --git a/src/views/components/workOrderDetail.vue b/src/views/components/workOrderDetail.vue index dd4f45f..0f261f0 100644 --- a/src/views/components/workOrderDetail.vue +++ b/src/views/components/workOrderDetail.vue @@ -210,7 +210,7 @@ @@ -234,7 +234,7 @@ @@ -661,7 +661,8 @@ export default { price: item.materialPrice, inventoryId: item.inventoryId, productId: '', - productList: [] + productList: [], + unifiedQuotation: Number(item.materialPrice) / Number(item.materialCount) }) }) this.getDeviceList(res.data.data.reportUnit) @@ -798,10 +799,11 @@ export default { }, // 切换物料数量 changeNumber(val, row) { + console.log('row--------------->',row) + console.log('val--------------->',val) if (row.unifiedQuotation) { // row.price = (row.unifiedQuotation * val).toFixed(2) row.price = Math.trunc(row.unifiedQuotation * val * 100) / 100 - } else { } }, // 运维主管输入折扣限制