whycq
2024-02-21 96d9192717e33251b958bd4a29304fddb160fba7
pages/order/orderPakin.vue
@@ -15,6 +15,17 @@
               <!-- <uni-icons type="right" color="#c1c1c1"></uni-icons> -->
            </view>
         </view>
         <view class="item">
            <view class="code-decs">满托:</view>
            <radio-group @change="floor">
               <label>
                  <radio :checked="ck1"/><text>是</text>
               </label>
               <label>
                  <radio :checked="ck2" style="margin-left: 50rpx;"/><text>否</text>
               </label>
            </radio-group>
         </view>
      </view>
      <view class="mat-list-title">
         商品列表
@@ -169,7 +180,10 @@
            barcodeFocus: true,
            matFocus: false,
            matData: '',
            removeNum: 0
            removeNum: 0,
            ck1: true,
            ck2: false,
            isFull: true
         }
      },
      onShow() {
@@ -177,6 +191,12 @@
         this.token = uni.getStorageSync('token');
      },
      methods: {
         floor() {
            var temp = this.ck1
            this.ck1 = this.ck2
            this.ck2 = temp
            this.isFull = !temp
         },
         messageToggle(type) {
            this.msgType1 = type
            this.$refs.message.open()
@@ -311,6 +331,7 @@
               url: that.baseUrl + '/mobile/comb/auth',
               data: JSON.stringify({
                  barcode: that.barcode,
                  isFull: that.isFull,
                  combMats: that.dataList
               }),
               method: 'POST',
@@ -435,14 +456,14 @@
   .code {
      width: 100%;
      position: fixed;
      min-height: 200rpx;
      min-height: 210rpx;
      background-color: #FFF;
      z-index: 10;
   }
   .item {
      display: flex;
      align-items: center;
      height: 100rpx;
      height: 70rpx;
      margin-left: 20rpx;
      border-bottom: 1px solid #DCDFE6;
   }