生产领料提交按钮状态限制

master
guoshuang 6 months ago
parent 1103549d3d
commit a2ebbb6785

@ -96,7 +96,7 @@
<u-row class="button-bar">
<!-- 确定 -->
<u-col :span="6">
<u-button @click="onSubmit" type="primary">确认出库</u-button>
<u-button :disabled="isdisabled" @click="onSubmit" type="primary">确认出库</u-button>
</u-col>
<!-- 返回 -->
<u-col :span="6">
@ -347,8 +347,10 @@ export default class ProductionREQ extends BasePage {
params.push(item);
});
}
this.isdisabled = true;
//console.log('list', {orderList: params, gzList: guozhannglist});
await this.model.out({ orderList: params, gzList: guozhannglist });
this.isdisabled = false;
if (this.model.SubmitCode == '200') {
(this.$refs.uToast as any).show({
title: '成功',

Loading…
Cancel
Save