skyouc
2025-11-06 19955d9a18f5322e91eeb4bd6a334d0b1f4df26f
pages/rece/other.vue
@@ -3,7 +3,7 @@
      <form>
         <view class="cu-form-group margin-top" v-show="!isconfirm">
            <view class="title">ASN单号</view>
            <input placeholder="请扫描ASN单号" v-model="asncode" @input="search" focus></input>
            <input placeholder="请扫描ASN单号" v-model="asncode" focus></input>
            <text class='cuIcon-close text-gray margin-right-xs' v-show="asncode!==''" @click="clearCode"></text>
            <!-- <text class='cuIcon-search text-blue' @click="search"></text> -->
         </view>
@@ -13,10 +13,7 @@
            <text class='cuIcon-close text-gray margin-right-xs' v-show="barcode!==''" @click="clearBarcode"></text>
            <text class='cuIcon-search text-blue' @click="search"></text>
         </view>
      </form>
      <view class="padding-lr margin-top-sm">
         <block v-for="(item, index) in list" :key="index">
            <view class="cu-list det menu sm-border margin-bottom-sm " :class="[item.barcode===barcode&&'act']"
@@ -138,7 +135,7 @@
                     </view>
                  </view>
               </view> -->
               <view class="cu-item grid  col-2">
               <view class="cu-item grid  col-2" v-if="item.extendFields">
                  <view class="item" v-for="el in dynamicFields" :key="el.id">
                     <text class="text-black">{{el.fieldsAlise}}:
                        <text class="text-grey ">{{item.extendFields[el.fields]}}</text></text>
@@ -221,7 +218,7 @@
               matnrCode: this.barcode
            })
            if (code === 200) {
               this.list = [...data]
               this.list = data
            } else {
               uni.showToast({
                  title: msg,
@@ -251,6 +248,9 @@
         clear() {
            this.list = []
            this.barcode = ''
            this.asncode = ''
            this.whAreaId = ''
            this.range = []
         },
         next() {
            if (this.list.length) {
@@ -333,7 +333,7 @@
               }
            }
         },
         async getRece() {
         async getRece() {
            const {
               code,
               data,