diff --git a/src/api/budget/prePlan.js b/src/api/budget/prePlan.js new file mode 100644 index 0000000..11f0e08 --- /dev/null +++ b/src/api/budget/prePlan.js @@ -0,0 +1,33 @@ +import request from '@/utils/request' + +export function index(params) { + return request({ + method: "get", + url: "/api/admin/pre_plan/index", + params + }) +} + +export function show(params) { + return request({ + method: "get", + url: "/api/admin/pre_plan/show", + params + }) +} + +export function save(data) { + return request({ + method: "post", + url: "/api/admin/pre_plan/save", + data + }) +} + +export function destroy(params) { + return request({ + method: "get", + url: "/api/admin/pre_plan/destroy", + params + }) +} diff --git a/src/views/budget/components/addUpload.vue b/src/views/budget/components/addUpload.vue new file mode 100644 index 0000000..b9c6cf5 --- /dev/null +++ b/src/views/budget/components/addUpload.vue @@ -0,0 +1,305 @@ + + + + + diff --git a/src/views/budget/upload.vue b/src/views/budget/upload.vue new file mode 100644 index 0000000..3645f53 --- /dev/null +++ b/src/views/budget/upload.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/src/views/contract/components/paymentRegistration.vue b/src/views/contract/components/paymentRegistration.vue index 9fc4fa6..2b86993 100644 --- a/src/views/contract/components/paymentRegistration.vue +++ b/src/views/contract/components/paymentRegistration.vue @@ -424,12 +424,32 @@ export default { audit_money: this.paymentRegistrationForm.audit_money, }; addFundLog(data).then((res) => { - this.isShowPaymentRegistration = false; //付款申请后同时更新一下合同中审计金额 editorContract({ id: this.contract.id, audit_money: this.form.audit_money, }).then((r) => { + this.$emit("paid",{ + name: this.contract?.name, + type: this.contract?.type, + number: this.contract?.number, + id: this.contract?.id, + reason: this.paymentRegistrationForm.remark, + yizhifucishu: this.actNumsTotal(), + yizhifujine: this.totalMoney(), + zongjia: this.totalApplyMoney() + }) + console.log({ + name: this.contract?.name, + type: this.contract?.type, + number: this.contract?.number, + id: this.contract?.id, + reason: this.paymentRegistrationForm.remark, + yizhifucishu: this.actNumsTotal(), + yizhifujine: this.totalMoney(), + zongjia: this.totalApplyMoney() + }) + this.isShowPaymentRegistration = false; Message({ type: "success", message: "操作成功", diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue index 866b4dc..c4c113b 100644 --- a/src/views/contract/contractList.vue +++ b/src/views/contract/contractList.vue @@ -166,8 +166,8 @@ @@ -177,7 +177,7 @@