#
whycq
2024-04-20 fdfc2c66434bdacdd539f228b51a33c8d15e71d5
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="isFrozen">
               <label>
                  <radio :checked="ck1" style="margin-left: 10rpx;"/><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,10 @@
         this.token = uni.getStorageSync('token');
      },
      methods: {
         isFrozen() {
            this.isFull = !this.isFull
            console.log(this.isFull);
         },
         messageToggle(type) {
            this.msgType1 = type
            this.$refs.message.open()
@@ -392,6 +410,7 @@
               url: that.baseUrl + '/mobile/comb/auth',
               data: JSON.stringify({
                  barcode: that.barcode,
                  isFull: that.isFull,
                  combMats: that.dataList
               }),
               method: 'POST',
@@ -462,7 +481,7 @@
   .item {
      display: flex;
      align-items: center;
      height: 100rpx;
      height: 70rpx;
      margin-left: 20rpx;
      border-bottom: 1px solid #DCDFE6;
   }