|
|
|
@ -678,7 +678,7 @@ export default {
|
|
|
|
this.loadEditOptions(row)
|
|
|
|
this.loadEditOptions(row)
|
|
|
|
|
|
|
|
|
|
|
|
// 打开抽屉
|
|
|
|
// 打开抽屉
|
|
|
|
this.dialogVisible = true
|
|
|
|
this.dialogVisible = true
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(error => {
|
|
|
|
.catch(error => {
|
|
|
|
console.error('加载支付表格选项失败:', error)
|
|
|
|
console.error('加载支付表格选项失败:', error)
|
|
|
|
@ -802,7 +802,7 @@ export default {
|
|
|
|
if (this.form.paymentForm && this.form.paymentForm !== this.originalPaymentForm) {
|
|
|
|
if (this.form.paymentForm && this.form.paymentForm !== this.originalPaymentForm) {
|
|
|
|
submitData.contract_template_id = this.form.paymentForm
|
|
|
|
submitData.contract_template_id = this.form.paymentForm
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// 新增模式下,如果有支付表格值就添加
|
|
|
|
// 新增模式下,如果有支付表格值就添加
|
|
|
|
if (this.form.paymentForm) {
|
|
|
|
if (this.form.paymentForm) {
|
|
|
|
submitData.contract_template_id = this.form.paymentForm
|
|
|
|
submitData.contract_template_id = this.form.paymentForm
|
|
|
|
@ -816,7 +816,7 @@ export default {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.$message.success('保存成功')
|
|
|
|
this.$message.success('保存成功')
|
|
|
|
this.dialogVisible = false
|
|
|
|
this.dialogVisible = false
|
|
|
|
// 刷新列表数据
|
|
|
|
// 刷新列表数据
|
|
|
|
await this.getTableData()
|
|
|
|
await this.getTableData()
|
|
|
|
|