skyouc
2025-05-05 6be8b9f43be3670473ddfaebafe18a1be644ca1d
pages/listing/disc.vue
@@ -6,12 +6,11 @@
            <input placeholder="请扫描容器号" v-model="container" focus></input>
            <text class='cuIcon-search text-blue' @click="getList"></text>
         </view>
         <view class="cu-form-group ">
         <view class="cu-form-group">
            <view class="title">批次号</view>
            <input placeholder="请输入物料批次" v-model="batch"></input>
            <text class='text-blue'></text>
         </view>
         <view class="cu-form-group ">
         <view class="cu-form-group">
            <view class="title">物料标签</view>
            <input placeholder="请扫描物料标签" v-model="barcode"></input>
            <text class='cuIcon-search text-blue' @click="search"></text>
@@ -114,7 +113,6 @@
         <button class="cu-btn text-blue line-blue shadow" @click="clear">清空</button>
         <button class="cu-btn bg-blue shadow-blur" :disabled="repeatClick" @click="confirm">组盘</button>
      </view>
   </view>
</template>
@@ -135,7 +133,8 @@
            container: '',
            megreQty: '',
            list: [],
            range: [],
            range: [],
            batch: '',
            repeatClick: false,
            isconfirm: false
         }
@@ -158,7 +157,10 @@
               code,
               data,
               msg
            } = await request('/asnOrderItem/trackCode/' + this.barcode, {}, "get")
            } = await request('/asnOrderItem/trackCode', {
               code: this.barcode,
               batch: this.batch
            }, "post")
            if (code === 200) {
               data && this.list.push(data);
            } else {
@@ -230,7 +232,8 @@
               msg
            } = await request('/waitPakin/merge', {
               items: newArr,
               barcode: this.container
               barcode: this.container,
               batch: this.batch,
            })
            if (code === 200) {
               uni.showToast({