1
skyouc
2025-11-18 928e30463fc7e6e88fa3f3c1bdd3f4f94c518011
pages/outbound/PickItemDetl.vue
@@ -14,9 +14,8 @@
         <form>
            <view class="cu-form-group" v-show="!isconfirm">
               <view class="title">票号:</view>
               <input placeholder="请扫描票号" v-model="fieldsIndex" focus></input>
               <input placeholder="请扫描票号" v-model="fieldsIndex" focus @input="search()"></input>
               <text class='cuIcon-close text-gray margin-right-xs' v-show="fieldsIndex!==''" @click="clearCode"></text>
               <text class='cuIcon-search text-blue' @click="search"></text>
            </view>
         </form>
      </view>
@@ -116,9 +115,9 @@
         },
         async search() {
            let that = this;
            // if(this.barcode === '' || this.barcode ===null){
            //    return ;
            // }
            if(this.fieldsIndex === '' || this.fieldsIndex.length > 30){
               return ;
            }
            const {   code, data, msg   } = await request('/wave/order/items', {
               barcode: this.orderDetl.barcode,
               orderId: that.orderDetl.orderId,