diff --git a/src/api/bs/paymentApply.js b/src/api/bs/paymentApply.js index 949403d..c5718c3 100644 --- a/src/api/bs/paymentApply.js +++ b/src/api/bs/paymentApply.js @@ -61,10 +61,11 @@ export function getByPlanDetail(id) { } // 确认申请 -export function confirmApi(id) { +export function confirmApi(data) { return request({ - url: '/bs/payment-apply/paymentAffirm?id=' + id, - method: 'get', + url: '/bs/payment-apply/paymentAffirm', + method: 'post', + data }) } // 取消确认 diff --git a/src/api/bs/template.js b/src/api/bs/template.js new file mode 100644 index 0000000..1b0fc70 --- /dev/null +++ b/src/api/bs/template.js @@ -0,0 +1,37 @@ +import request from '@/plugin/axios' + +// 创建供应商合同 +export function getFieldTemplate(type) { + return request({ + url: '/bs/field-template/type/' + type, + method: 'get' + }) +} + +export function addFieldTemplate(data) { + return request({ + url: '/bs/field-template/addField', + method: 'post', + data: data + }) +} +export function deleteField(field,type) { + return request({ + url: '/bs/field-template/'+field+'/'+type, + method: 'delete', + }) +} + +export function queryOption(field,type) { + return request({ + url: '/bs/field-template/option/'+field+'/'+type, + method: 'get', + }) +} + +export function queryFieldTemplate(type) { + return request({ + url: '/bs/field-template/type/'+type, + method: 'get', + }) +} diff --git a/src/components/MyPayListCard/index.vue b/src/components/MyPayListCard/index.vue index 60b9bf0..bafc2d7 100644 --- a/src/components/MyPayListCard/index.vue +++ b/src/components/MyPayListCard/index.vue @@ -17,6 +17,9 @@
合同名称:{{itemData.contractName}}
+
+ 分期说明:{{itemData.periodName}} +
供应商名称:{{itemData.supplierName}}
@@ -43,17 +46,20 @@ 修改 删除 付款确认 + 取消确认 {{ itemData.payMentStatus == 1 && itemData.status == 2 ? '查看凭证' : itemData.files.length ? '修改凭证' : '上传凭证'}} + + + \ No newline at end of file diff --git a/src/components/UploadFile/index.vue b/src/components/UploadFile/index.vue index cbb02db..6b32a57 100644 --- a/src/components/UploadFile/index.vue +++ b/src/components/UploadFile/index.vue @@ -1,13 +1,13 @@