فهرست منبع

删除缓存 和 出标签 问题

shish 3 سال پیش
والد
کامیت
b7effb74b6
2فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 1 0
      hdPad/src/pages/home/components/console.vue
  2. 2 2
      hdPad/src/pages/home/components/createWork.vue

+ 1 - 0
hdPad/src/pages/home/components/console.vue

@@ -212,6 +212,7 @@ export default {
 						this.price = res.data.mainPay ? Number(res.data.mainPay) : 0
 						this.$refs.toPayRef.open('center')
 					}else{
+						this.removeFromSaveDirect()
 						//开单完成之后更新花材库存
 						this.$emit('rightItemRefresh')
 						uni.showToast({ title: '操作成功', duration: 1000 })

+ 2 - 2
hdPad/src/pages/home/components/createWork.vue

@@ -112,10 +112,10 @@ export default {
             this.$emit('cancelCreate')
         },
         confirmAdd(){
-            this.$refs.confirmCreateRef.open('center')
+            this.$util.hitVoice()
+            this.commitCreate()
         },
         confirmCreate(){
-            let that = this
             this.$util.hitVoice()
             this.commitCreate()            
         },