|
@@ -5,6 +5,8 @@
|
|
|
:visible.sync="cashierDialog"
|
|
|
width="1150px"
|
|
|
v-loading="isLoading"
|
|
|
+ element-loading-text="正在收银请稍等……"
|
|
|
+ element-loading-background="rgba(0, 0, 0, 0.8)"
|
|
|
>
|
|
|
<div style="padding: 20px 30px;height: 500px;overflow-y: scroll">
|
|
|
<div class="box">
|
|
@@ -577,7 +579,7 @@
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer" style="float: right">
|
|
|
<el-button @click="cashierDialog = false">取 消</el-button>
|
|
|
- <el-button type="primary" @click="CashierFn()">立即收银</el-button>
|
|
|
+ <el-button type="primary" @click="CashierFn()" :disabled="cashier_button_disabled">立即收银</el-button>
|
|
|
</span>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
@@ -709,6 +711,7 @@
|
|
|
|
|
|
isLoading: false,
|
|
|
condition: '', // 搜索关键词
|
|
|
+ cashier_button_disabled:false
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
@@ -729,6 +732,7 @@
|
|
|
this.zheProducts = 0;
|
|
|
this.ciProjects = 0;
|
|
|
this.ciProducts = 0;
|
|
|
+ this.cashier_button_disabled=false
|
|
|
} else {
|
|
|
// console.log('获取会员列表******************')
|
|
|
// this.getMemberListFn();
|
|
@@ -1204,6 +1208,7 @@
|
|
|
//
|
|
|
shouFun() {
|
|
|
let _this = this;
|
|
|
+ this.cashier_button_disabled=true
|
|
|
// const loading = this.$loading({
|
|
|
// lock: true,
|
|
|
// text: 'Loading',
|