付款登记 增加项目完成时间 是否验收

master
lion 7 months ago
parent 147d26a76e
commit 71e2067aa3

@ -63,7 +63,7 @@
<div class="xy-table-item">
<div class="xy-table-item-label">实付日期</div>
<div class="xy-table-item-content">
<el-date-picker v-model="paymentRegistrationForm.act_date" value-format="yyyy-MM-dd" style="width: 150px;">
<el-date-picker type="date" v-model="paymentRegistrationForm.act_date" value-format="yyyy-MM-dd" style="width: 150px;">
</el-date-picker>
</div>
</div>
@ -137,6 +137,25 @@
</div>
</div>
</template>
<template v-slot:end_time v-if="currentStep === 1">
<div class="xy-table-item">
<div class="xy-table-item-label">项目完成时间</div>
<div class="xy-table-item-content">
<el-date-picker type="date" v-model="paymentRegistrationForm.end_time" value-format="yyyy-MM-dd HH:mm:ss" style="width: 150px;">
</el-date-picker>
</div>
</div>
</template>
<template v-slot:isCheck v-if="currentStep === 1">
<div class="xy-table-item">
<div class="xy-table-item-label" style="width: 200px">
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>是否验收
</div>
<div class="xy-table-item-content">
<el-switch v-model="paymentRegistrationForm.isCheck" />
</div>
</div>
</template>
<template v-slot:extraFormBottom>
<div v-if="currentStep === 2" class="payment-table-section">
@ -271,6 +290,8 @@
act_date: '',
type: "",
isLast: false,
end_time:'',
isCheck:false,
plan: [],
remark: ""
},
@ -409,12 +430,12 @@
if (this.contract.contract_template) {
this.contractTemplate = this.contract.contract_template.template;
this.forms = this.contract.forms;
// contract_template_fields
if (!this.contract.contract_template.contract_template_fields) {
this.contract.contract_template.contract_template_fields = this.contract.other_data || [];
}
console.log('Contract template fields:', this.contract.contract_template.contract_template_fields);
}
},
@ -463,6 +484,8 @@
is_end: this.paymentRegistrationForm.isLast ? 1 : 0,
remark: this.paymentRegistrationForm.remark,
audit_money: this.paymentRegistrationForm.audit_money,
end_time:this.paymentRegistrationForm.end_time,
is_check:this.paymentRegistrationForm.isCheck ? 1 : 0,
// HTML
forms: this.forms,
other_data: this.contract.contract_template?.contract_template_fields || []

@ -26,7 +26,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath
*/
publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin',
outputDir: '/Users/mac/Documents/朗业/2025/h-苏州河道处/h-河道合同/contract-business-service/public/admin',
outputDir: '/Users/mac/Documents/朗业/2025/h-苏州河道处/h-河道合同/contract-business-service/public/admin_test',
assetsDir: 'static',
lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false,

Loading…
Cancel
Save