辅材出库
This commit is contained in:
parent
91e965cfe3
commit
024c6dd479
@ -106,7 +106,7 @@
|
||||
</el-form-item>
|
||||
</div>
|
||||
<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>
|
||||
</el-row>
|
||||
</div>
|
||||
@ -626,12 +626,12 @@ function confimStockOut() {
|
||||
confirmButtonText: 'OK',
|
||||
})
|
||||
} else {
|
||||
/*state.button_state = false;
|
||||
state.loading = false;*/
|
||||
ElMessageBox.alert('辅材出库失败,' + res.message, '', {
|
||||
confirmButtonText: 'OK',
|
||||
})
|
||||
}
|
||||
state.button_state = false;
|
||||
state.loading = false;
|
||||
}).catch((error: any) => {
|
||||
ElMessageBox.alert('辅材出库失败,' + error, '提示框', {
|
||||
confirmButtonText: 'OK',
|
||||
@ -639,8 +639,6 @@ function confimStockOut() {
|
||||
state.button_state = false;
|
||||
state.loading = false;
|
||||
});
|
||||
state.button_state = false;
|
||||
state.loading = false;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user