界面接口数据调整

master
mhsnet 2 months ago
parent b5fc2823f8
commit 37484302d9

@ -457,7 +457,7 @@
:formData="scope.row" :formData="scope.row"
:templateJson="[]" :templateJson="[]"
placeholder="请选择" placeholder="请选择"
propsValue="supplier_cname" propsValue="supplier_id"
popupWidth="800px" popupWidth="800px"
popupTitle="选择数据" popupTitle="选择数据"
popupType="dialog" popupType="dialog"
@ -676,6 +676,7 @@ export default {
orderDate: undefined, orderDate: undefined,
procurementNumber: undefined, procurementNumber: undefined,
supplier: undefined, supplier: undefined,
materialId: undefined,
materialCode: undefined, materialCode: undefined,
materialName: undefined, materialName: undefined,
specification: undefined, specification: undefined,
@ -697,6 +698,7 @@ export default {
orderDate: undefined, orderDate: undefined,
procurementNumber: undefined, procurementNumber: undefined,
supplier: undefined, supplier: undefined,
materialId: undefined,
materialCode: undefined, materialCode: undefined,
materialName: undefined, materialName: undefined,
specification: undefined, specification: undefined,
@ -729,6 +731,7 @@ export default {
methods: { methods: {
fnProcurementOrderCreate(row) { fnProcurementOrderCreate(row) {
this.procurementOrderItem = { ...this.procurementOrderItemO }; this.procurementOrderItem = { ...this.procurementOrderItemO };
this.procurementOrderItem.materialId = row.id;
this.procurementOrderItem.materialCode = row.materialCode; this.procurementOrderItem.materialCode = row.materialCode;
this.procurementOrderItem.materialName = row.materialName; this.procurementOrderItem.materialName = row.materialName;
this.procurementOrderItem.materialType = row.materialType; this.procurementOrderItem.materialType = row.materialType;

Loading…
Cancel
Save