diff --git a/apps/web-antd/src/views/erp/purchase/order/modules/PurchaseOrderItemForm.vue b/apps/web-antd/src/views/erp/purchase/order/modules/PurchaseOrderItemForm.vue index e89ada9c..158549f4 100644 --- a/apps/web-antd/src/views/erp/purchase/order/modules/PurchaseOrderItemForm.vue +++ b/apps/web-antd/src/views/erp/purchase/order/modules/PurchaseOrderItemForm.vue @@ -1,15 +1,11 @@ @@ -263,100 +240,84 @@ defineExpose({ validate, getData, init }); :scroll="{ x: 1400 }" > - + + onChangeProduct(value, index)" class="w-full" > - {{ item.name }} + {{ product.name }} + {{ record.productName || '-' }} - - {{ record.stockCount || 0 }} - - - {{ record.productBarCode }} - - - {{ record.productUnitName }} - - + + + - - - onCountChange(value, index)" class="w-full" /> + {{ record.count || '-' }} - + + + onPriceChange(value, index)" class="w-full" /> + {{ record.productPrice || '-' }} - + + + onTaxPercentChange(value, index)" class="w-full" /> + {{ record.taxPercent || '-' }} - - - - - - - - + + + onRemarkChange((e.target as HTMLInputElement).value, index) + " + class="w-full" /> + {{ record.remark || '-' }} - + + + 合计: 数量:{{ getSummaries().count }} - 金额:{{ getSummaries().totalPrice }} + 金额:{{ getSummaries().totalProductPrice }} 税额:{{ getSummaries().taxPrice }} - 税额合计:{{ getSummaries().totalTaxPrice }} + 税额合计:{{ getSummaries().totalPrice }} diff --git a/apps/web-antd/src/views/erp/purchase/order/modules/form.vue b/apps/web-antd/src/views/erp/purchase/order/modules/form.vue index 67f4ee2f..93d62604 100644 --- a/apps/web-antd/src/views/erp/purchase/order/modules/form.vue +++ b/apps/web-antd/src/views/erp/purchase/order/modules/form.vue @@ -129,11 +129,19 @@ defineExpose({ modalApi }); > - - + + + + + + + + + +