#
whycq
2024-07-29 fbc9586ae97493f51444f99c8db695653833503d
pages/order/zlOrderPakin.vue
@@ -208,7 +208,10 @@
         }
      },
      onLoad() {
         this.dataList = uni.getStorageSync('zlPakinDataList')
         if (this.dataList === '') {
            this.dataList = []
         }
      },
      onShow() {
         this.baseUrl = uni.getStorageSync('baseUrl');
@@ -453,6 +456,7 @@
            }
            this.$forceUpdate() // 强制刷新
            this.maxAnfme = ''
            uni.setStorageSync('zlPakinDataList', this.dataList);
         },
         // 修改批号
         revise(item, i) {
@@ -553,6 +557,8 @@
                     const innerAudioContext = uni.createInnerAudioContext();
                     innerAudioContext.src = '/static/music/pakinOk.mp3';
                     innerAudioContext.play()
                     that.dataList = []
                     uni.setStorageSync('zlPakinDataList', that.dataList);
                  } else if (res.code == 403) {
                     uni.showToast({ title: res.msg, icon: "error", position: 'top' })
                     setTimeout(() => {