修改库内管理连续点击

This commit is contained in:
王帅 2025-05-29 13:45:05 +08:00
parent 86e90377a0
commit 5ac11a347a
5 changed files with 12 additions and 8 deletions

View File

@ -102,10 +102,10 @@
</div>
</el-col>
<el-col :span="2" class="transfer-switch">
<el-button type="primary" @click="LeftIn" v-loading="loading3"
<el-button type="primary" @click="LeftIn" v-loading.fullscreen.lock="loading3"
><el-icon> <ArrowRight /> </el-icon
></el-button>
<el-button type="primary" @click="RightIn" v-loading="state.loading2"
<el-button type="primary" @click="RightIn" v-loading.fullscreen.lock="state.loading2"
><el-icon> <ArrowLeft /> </el-icon
></el-button>
</el-col>

View File

@ -91,10 +91,10 @@
</el-col>
<el-col :span="1" class="transfer-switch">
<el-button type="primary" @click="LeftIn" v-loading="loading"><el-icon>
<el-button type="primary" @click="LeftIn" v-loading.fullscreen.lock="loading"><el-icon>
<ArrowRight />
</el-icon></el-button>
<el-button type="primary" @click="RightIn" v-loading="loading2"><el-icon>
<el-button type="primary" @click="RightIn" v-loading.fullscreen.lock="loading2"><el-icon>
<ArrowLeft />
</el-icon></el-button>
</el-col>
@ -148,7 +148,7 @@
</el-col>
<el-col :span="2" >
<div class="page-search-btns" style="float: right">
<el-button type="primary" @click="handleStockOut" :disabled="state.buttonOut_state" v-loading="state.buttonOut_loading">转换</el-button>
<el-button type="primary" @click="handleStockOut" :disabled="state.buttonOut_state" v-loading.fullscreen.lock="state.buttonOut_loading">转换</el-button>
</div>
</el-col>
</el-row>

View File

@ -105,7 +105,7 @@
</el-form>
<div class="page-search-btns" style="margin-bottom: 10px;">
<el-button type="primary" @click="queryInfo">搜索</el-button>
<el-button type="primary" @click="handleReview">审核</el-button>
<el-button type="primary" @click="handleReview" v-loading.fullscreen.lock="state.loadings">审核</el-button>
<!-- <el-button type="primary" @click="exportExcel">导出</el-button> -->
</div>
</el-row>
@ -575,6 +575,7 @@ const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableH
commitDate: state.commitDate
})
})
state.loadings = true;
checkMaterialPack(paramList)
.then((res: any) => {
if (res.success) {
@ -583,6 +584,7 @@ const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableH
} else {
proxy.$ElMessage.warning(res.message)
}
state.loadings = false
}).catch(() => { })
}

View File

@ -318,7 +318,7 @@
type="primary"
@click="modifiedRemark"
:disabled="state.CAREER_ASSISTANCEDrawer"
v-loading="state.loadings"
v-loading.fullscreen.lock="state.loadings"
>更新</el-button
>
</el-col>

View File

@ -120,7 +120,7 @@
</el-form-item>
</el-col>
<el-col :span="2">
<el-button type="primary" @click="updateInfo" v-loading="state.loadings">更新</el-button>
<el-button type="primary" @click="updateInfo" v-loading.fullscreen.lock="state.loadings">更新</el-button>
</el-col>
</el-row>
</el-form>
@ -269,6 +269,7 @@ function updateInfo() {
if (!valid) {
return
}
state.loadings = true;
updatePacking({
...state.updateParams,
dataList: state.selection,
@ -282,6 +283,7 @@ function updateInfo() {
} else {
proxy.$ElMessage.error(res.message)
}
state.loadings = false;
})
});
}