|
|
|
|
@ -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 || []
|
|
|
|
|
|