|
|
@@ -1246,6 +1246,7 @@
|
|
|
type="primary"
|
|
|
v-throttle="2000"
|
|
|
@click="saveLinkTab()"
|
|
|
+ :loading="GLExcelLoadingSave"
|
|
|
>确 定</el-button
|
|
|
>
|
|
|
</span>
|
|
|
@@ -2954,6 +2955,8 @@ export default {
|
|
|
//#region 关联清表
|
|
|
loading: false,
|
|
|
GLExcel: false,
|
|
|
+ GLExcelLoadingSave: false,
|
|
|
+
|
|
|
GLExcelFrom: {
|
|
|
id: "",
|
|
|
name: "",
|
|
|
@@ -4915,14 +4918,14 @@ async saveLinkTab() {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+ this.GLExcelLoadingSave=true
|
|
|
try {
|
|
|
const { data: res } = await saveLinkTab({
|
|
|
exceTabId: node.id,
|
|
|
tabId: this.GLExcelFrom.id,
|
|
|
updateAll:this.isNodeType? false:true,
|
|
|
});
|
|
|
-
|
|
|
+ this.GLExcelLoadingSave=false
|
|
|
if (res.code === 200) {
|
|
|
this.$message({
|
|
|
type: "success",
|
|
|
@@ -4964,6 +4967,7 @@ async saveLinkTab() {
|
|
|
this.GLExcel = false;
|
|
|
}
|
|
|
} catch (error) {
|
|
|
+ this.GLExcelLoadingSave=false
|
|
|
console.error("关联清表失败:", error);
|
|
|
this.$message({
|
|
|
type: "error",
|