skyouc
2025-11-13 3a770819f22efdc0ecb0ba57de0ac64f08421c55
pages/listing/itemSelect.vue
@@ -4,8 +4,6 @@
      <view class="search-bar">
         <uni-search-bar v-model="condition" placeholder=" 输入批次/编码/单号" bgColor="#EEEEEE"  @confirm="search()"/>
      </view>
      <view>
         <view class="padding-lr margin-top-sm">
            <block v-for="(item, index) in matList" :key="index">
@@ -33,13 +31,20 @@
                        <text class="text-grey ">{{item.asnCode}}</text>
                     </view>
                  </view>
                  <view class="cu-item">
                     <view class="content">
                        <text class="text-black">供应商批次:</text>
                     </view>
                     <view class="action">
                        <text class="text-grey ">{{item.splrBatch}}</text>
                     </view>
                  </view>
                  <view class="cu-item">
                     <view class="content">
                        <text class="text-black">现品票号:</text>
                     </view>
                     <view class="action">
                        <text class="text-grey ">{{item.extendFields.crushNo}}</text>
                     </view>
                  </view>
                  <view class="cu-item">
@@ -127,6 +132,7 @@
               matnrCode: this.condition,
               asnCode: this.condition,
               code: this.condition,
               fieldsIndex: this.condition,
               batch: this.condition
            }
            this.getDet(req);
@@ -134,6 +140,7 @@
         back() {
            for (var i = 0; i < this.matList.length; i++) {
               if(this.matList[i].selected === true){
                  this.matList[i].receiptQty = this.matList[i].anfme - this.matList[i].workQty
                  this.selectedList.push(this.matList[i])
               }                  
            }            
@@ -163,6 +170,7 @@
               matnrCode: req.matnrCode,
               asnCode: req.asnCode,
               code: req.code,
               fieldsIndex: req.fieldsIndex,
               batch: req.batch
            }, "post")
            if (code === 200) {