This commit is contained in:
linfso 2025-03-01 17:22:45 +08:00
parent 1086b8f998
commit 5572bb249e

View File

@ -254,8 +254,8 @@
</el-row> </el-row>
</el-form> </el-form>
<div style="text-align: center;margin-bottom: 10px;"> <div style="text-align: center;margin-bottom: 10px;">
<el-button type="primary" @click="submitForm" >确 定</el-button> <el-button type="primary" :loading="isDoing" @click="submitForm" >确 定</el-button>
<el-button type="primary" @click="submitFormAndContinue" >保存并继续开票</el-button> <el-button type="primary" :loading="isDoing" @click="submitFormAndContinue" >保存并继续开票</el-button>
<el-button @click="cancel">取 消</el-button> <el-button @click="cancel">取 消</el-button>
</div> </div>
@ -291,7 +291,7 @@ export default {
lastestLoading: false, lastestLoading: false,
blCanotSubmit:false, isDoing:false,
lastestInvoiceRecordList:[], lastestInvoiceRecordList:[],
lastestTotal:0, lastestTotal:0,
@ -679,10 +679,10 @@ export default {
// this.$emit("on-changed"); // this.$emit("on-changed");
// }); // });
} else { } else {
this.blCanotSubmit=true; this.isDoing=true;
addEmisSettleInvoiceRecord(this.form).then(response => { addEmisSettleInvoiceRecord(this.form).then(response => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.blCanotSubmit=false; this.isDoing=false;
if(isContinue){ if(isContinue){
this.form.openBillScope='1'; this.form.openBillScope='1';