版本更新

This commit is contained in:
Zhang.WH
2025-10-16 17:38:08 +08:00
parent f515bb8fbb
commit e4c5f36f2e
488 changed files with 41436 additions and 2901 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="app-container">
<div class="app-container" v-loading="pageLoading" loading-text="审批中。。。">
<el-row :gutter="10" class="mb8" v-if="viewStatus">
<el-col :span="1.5">
<el-button v-if="viewStatus != 'view'" plain type="primary" icon="Edit" @click="handelApply"
@@ -578,6 +578,7 @@ const visible = ref(false);
const row = ref({});
const rowIndex = ref(-1);
const totalAmount = ref(0);
const pageLoading = ref(false)
const props = defineProps({
sourceTypeListOptions: {
type: Object,
@@ -1029,8 +1030,10 @@ function handleReject() {
});
}
function handelApply() {
pageLoading.value = true
lossReportApproved(route.query.supplyBusNo).then((res) => {
if (res.code == 200) {
pageLoading.value = false
proxy.$modal.msgSuccess('操作成功');
tagsViewStore.delView(router.currentRoute.value);
store.clearCurrentDataBS();
@@ -1040,6 +1043,8 @@ function handelApply() {
query: { type: 'lossReporting' },
});
}
}).catch(() => {
pageLoading.value = false
});
}
/** 提交审核按钮 */