Browse Source

货币

master_hella_20240701
wangyufei 5 months ago
parent
commit
44af11e6ff
  1. 4
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue
  2. 2
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
  3. 36
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

4
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue

@ -225,9 +225,7 @@ const openDetail = async (row: any, titleName: any, titleValue: any) => {
requestTableObject.params.number = row.requestNumber requestTableObject.params.number = row.requestNumber
await requestGetList() await requestGetList()
if(requestTableObject.tableList.length>0){ if(requestTableObject.tableList.length>0){
// row.annexMasterId = requestTableObject.tableList[0].masterId row.annexMasterId = requestTableObject.tableList[0].masterId
row.annexMasterId = row.id
} }

2
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -342,6 +342,8 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea
newRow['deliveryDate'] = item['prhRcpDate'] newRow['deliveryDate'] = item['prhRcpDate']
newRow['arrivalQty'] = item['prhRcvd'] newRow['arrivalQty'] = item['prhRcvd']
newRow['id'] = item['id'] newRow['id'] = item['id']
newRow['currency'] = item['currency']
} }
tableData.value.push(newRow) tableData.value.push(newRow)
}) })

36
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -117,6 +117,10 @@ export const PurchaseReceiptOrReturnRecordDetail = useCrudSchemas(reactive<CrudS
label: '可开票数量', label: '可开票数量',
field: 'invoicableQuantity' field: 'invoicableQuantity'
}, },
{
label: '货币',
field: 'currency',
},
{ {
label: '物料代码', label: '物料代码',
field: 'itemCode' field: 'itemCode'
@ -385,7 +389,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
// } // }
// }, // },
{ {
label: '调整价差', label: '折扣金额',
field: 'discountAmount1', field: 'discountAmount1',
formatter: accountantFormart, formatter: accountantFormart,
table: { table: {
@ -1438,21 +1442,21 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
// { {
// label: '货币', label: '货币',
// field: 'currency', field: 'currency',
// table: { table: {
// width: 150 width: 150
// }, },
// form: { form: {
// componentProps: { componentProps: {
// disabled: true disabled: true
// } }
// }, },
// tableForm:{ tableForm:{
// disabled: true disabled: true
// } }
// }, },
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',

Loading…
Cancel
Save