收银台 商品 按钮样式调试

This commit is contained in:
zhaotianfeng 2024-09-14 11:03:53 +08:00
parent 4dc4552443
commit d30610dff5

View File

@ -326,7 +326,7 @@
@fatherPendingOrdersName="fatherPendingOrdersName"
></pickUp>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="pickUpTheOrder = false">取消</el-button>
<el-button @click="pickUpTheOrder = false">取消</el-button>
<!-- pendingOrdersList pickUpTheOrder = false pickUpTheOrder = false -->
<el-button type="primary" @click="deletePendingOrdersList">作废</el-button>
<el-button type="primary" @click="getPendingOrdersList">取单</el-button>
@ -637,6 +637,11 @@ export default {
name: ''
}
this.hangingAnOrder = false
this.$message({
message: '挂单成功',
type: 'success'
});
}
} else {
@ -784,8 +789,16 @@ export default {
return true //
})
window.sessionStorage.setItem('pendingOrders', JSON.stringify(this.pendingOrdersList))
this.pickUpTheOrder = false
this.$message({
message: '取单成功',
type: 'success'
});
} else {
this.$message.error('当前无存单 请存单后再作废')
this.$message.error('当前无存单 请存单后再取单')
}
},
//
@ -799,7 +812,10 @@ export default {
})
window.sessionStorage.setItem('pendingOrders', JSON.stringify(this.pendingOrdersList))
this.$message({
message: '作废成功',
type: 'success'
});
} else {
this.$message.error('当前无存单 请存单后再作废')
}