whycq
2024-02-21 96d9192717e33251b958bd4a29304fddb160fba7
pages/pakin/pakin.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">
         商品列表
@@ -156,6 +167,9 @@
            matFocus: false,
            matData: '',
            removeNum: 0,
            ck1: true,
            ck2: false,
            isFull: true
         }
      },
      onLoad() {
@@ -166,6 +180,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()
@@ -392,6 +412,7 @@
               url: that.baseUrl + '/mobile/comb/auth',
               data: JSON.stringify({
                  barcode: that.barcode,
                  isFull: that.isFull,
                  combMats: that.dataList
               }),
               method: 'POST',
@@ -454,7 +475,7 @@
   .code {
      width: 100%;
      position: fixed;
      min-height: 200rpx;
      min-height: 210rpx;
      background-color: #FFF;
      z-index: 10;
   }
@@ -462,7 +483,7 @@
   .item {
      display: flex;
      align-items: center;
      height: 100rpx;
      height: 70rpx;
      margin-left: 20rpx;
      border-bottom: 1px solid #DCDFE6;
   }