#
whycq
2024-07-02 c75288aeffc0ed1e7b8431d3f4351ed52bd9105a
pages/out/checkOut.vue
@@ -152,8 +152,8 @@
         // barcode input 事件
         barcodeInput() {
            let _this = this
            let barcode =  this.barcode.split(",")
            _this.barcode = barcode[0]
            // let barcode =  this.barcode.split(",")
            // _this.barcode = barcode[0]
            // let batch = barcode[0]
            uni.request({
               url: _this.baseUrl + '/mobile/wrkDetl/search/batch/auth',
@@ -354,7 +354,7 @@
         comb() {
            let that = this;
            uni.request({
               url: that.baseUrl + '/mobile/order/search/orderNo/auth',
               url: that.baseUrl + '/mobile/order/search/batch/auth',
               data: that.barcode,
               method: 'POST',
               header: {'token': uni.getStorageSync('token')},
@@ -363,7 +363,7 @@
                  let res = result.data
                  if (res.code === 200) {
                     that.dataList = []
                     this.barcode = ''
                     that.barcode = ''
                     that.messageText = "确认成功"
                     that.messageToggle('success')
                  } else if (res.code == 403) {