diff --git a/src/api/payment/paymentApplication.js b/src/api/payment/paymentApplication.js index 3031f6f..bc772d0 100644 --- a/src/api/payment/paymentApplication.js +++ b/src/api/payment/paymentApplication.js @@ -4,6 +4,12 @@ const baseUrl = '/blade-transport/payment-application'; export const getList = (current, size, params) => request({ url: `${baseUrl}/list`, method: 'get', params: { current, size, ...params } }); export const getDetail = id => request({ url: `${baseUrl}/detail`, method: 'get', params: { id } }); +export const getReferenceAmount = (paymentType, referenceId, excludeId) => + request({ + url: `${baseUrl}/reference-amount`, + method: 'get', + params: { paymentType, referenceId, excludeId: excludeId || undefined }, + }); export const save = data => request({ url: `${baseUrl}/save`, method: 'post', data }); export const remove = id => request({ url: `${baseUrl}/remove`, method: 'post', params: { id } }); export const submit = data => request({ url: `${baseUrl}/submit`, method: 'post', data }); diff --git a/src/views/payment/payment-application-form.vue b/src/views/payment/payment-application-form.vue index de71c7b..5cf9582 100644 --- a/src/views/payment/payment-application-form.vue +++ b/src/views/payment/payment-application-form.vue @@ -55,8 +55,14 @@ > + >
+ % +
- + - -
- 新增发票 -
- + + + + + + + + + + + + + + + + + + + +
- 材料清单 - - {{ item.label }}({{ hasAttachmentMaterial(item) ? '已上传' : '未上传' }}) - + 批量下载 +