|
|
@@ -117,6 +117,9 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
init(){
|
|
|
+ this.getCustomData()
|
|
|
+ },
|
|
|
+ getCustomData(){
|
|
|
customList({ name: '',isCashier:1 }).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
if(res.data.list.length > 12){
|
|
|
@@ -177,6 +180,7 @@ export default {
|
|
|
this.customName = '快捷开单'
|
|
|
this.$refs.rightItemRef.currentCustomId = this.customId
|
|
|
this.$refs.rightItemRef.itemRefresh()
|
|
|
+ this.getCustomData()
|
|
|
},
|
|
|
changeProperty(property){
|
|
|
this.currentProperty = property
|