辅材出库

This commit is contained in:
王帅 2025-05-30 10:30:35 +08:00
parent 91e965cfe3
commit 024c6dd479

View File

@ -106,7 +106,7 @@
</el-form-item> </el-form-item>
</div> </div>
<div class="page-search-btns"> <div class="page-search-btns">
<el-button type="primary" @click="confimStockOut" :disabled="state.button_state">出库</el-button> <el-button type="primary" @click="confimStockOut" :disabled="state.button_state" v-loading.fullscreen.lock="state.button_state">出库</el-button>
</div> </div>
</el-row> </el-row>
</div> </div>
@ -626,12 +626,12 @@ function confimStockOut() {
confirmButtonText: 'OK', confirmButtonText: 'OK',
}) })
} else { } else {
/*state.button_state = false;
state.loading = false;*/
ElMessageBox.alert('辅材出库失败,' + res.message, '', { ElMessageBox.alert('辅材出库失败,' + res.message, '', {
confirmButtonText: 'OK', confirmButtonText: 'OK',
}) })
} }
state.button_state = false;
state.loading = false;
}).catch((error: any) => { }).catch((error: any) => {
ElMessageBox.alert('辅材出库失败,' + error, '提示框', { ElMessageBox.alert('辅材出库失败,' + error, '提示框', {
confirmButtonText: 'OK', confirmButtonText: 'OK',
@ -639,8 +639,6 @@ function confimStockOut() {
state.button_state = false; state.button_state = false;
state.loading = false; state.loading = false;
}); });
state.button_state = false;
state.loading = false;
} }
</script> </script>