|
|
|
|
@ -3167,14 +3167,14 @@ export default {
|
|
|
|
|
console.log("detail", res);
|
|
|
|
|
|
|
|
|
|
// 检查是否有事前支付表格且未填写
|
|
|
|
|
if (res.before_contract_template && !res.before_forms) {
|
|
|
|
|
if (res.before_contract_template) {
|
|
|
|
|
// 有事前支付表格但未填写,进入编辑模式
|
|
|
|
|
await this.handleEdit(row, true);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 检查是否有事后支付表格且未填写
|
|
|
|
|
if (res.contract_template && !res.forms) {
|
|
|
|
|
if (res.contract_template) {
|
|
|
|
|
// 有事后支付表格但未填写,进入编辑模式
|
|
|
|
|
await this.handleEdit(row, true);
|
|
|
|
|
return;
|
|
|
|
|
|