|
|
@@ -225,8 +225,7 @@ export default {
|
|
|
this.$refs.toPayRef.open('center')
|
|
|
}else{
|
|
|
this.removeFromSaveDirect()
|
|
|
- this.customId = 0
|
|
|
- this.customName = ''
|
|
|
+ this.$emit('clearAll')
|
|
|
//开单完成之后更新花材库存
|
|
|
this.$emit('rightItemRefresh')
|
|
|
uni.showToast({ title: '操作成功', duration: 1000 })
|
|
|
@@ -323,8 +322,7 @@ export default {
|
|
|
confirmClearItem(){
|
|
|
this.$util.hitVoice()
|
|
|
this.removeFromSaveDirect()
|
|
|
- this.customId = 0
|
|
|
- this.customName = ''
|
|
|
+ this.$emit('clearAll')
|
|
|
},
|
|
|
confirmLogout(){
|
|
|
this.$util.hitVoice()
|