diff --git a/src/views/contract/components/paymentRegistration.vue b/src/views/contract/components/paymentRegistration.vue
index 1eadb08..6e771b3 100644
--- a/src/views/contract/components/paymentRegistration.vue
+++ b/src/views/contract/components/paymentRegistration.vue
@@ -63,7 +63,7 @@
@@ -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 || []
diff --git a/vue.config.js b/vue.config.js
index e9eea1d..3ee03fa 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -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,