调整 合同、运力、基础配置、客商

This commit is contained in:
2026-09-14 23:43:20 +08:00
parent f1e2313e4c
commit 79aa4f9fae
33 changed files with 1490 additions and 395 deletions
+7 -3
View File
@@ -1840,10 +1840,14 @@ export default {
submitEdit() {
if (this.submitAction || !this.validateBase('edit')) return;
this.submitAction = 'edit';
this.api
.submit(this.normalizeSubmit())
const isChangeRejected = this.form.approvalStatus === 'change_rejected';
const payload = this.normalizeSubmit();
const request = isChangeRejected
? this.api.submitChange(payload)
: this.api.submit(payload);
request
.then(() => {
this.$message.success('修改成功');
this.$message.success(isChangeRejected ? '已重新提交变更审批' : '修改成功');
this.closeForm();
})
.finally(() => {