#
zjj
2025-04-30 b1a44d0c90bf1e5049e18c7faa564cebae3acda9
pages/listing/labour.vue
@@ -31,9 +31,9 @@
                     {{`${item.maktx}`}}
                  </view>
               </view>
               <!--    <view class="action" >
               <view class="action">
                  <text @click="remove(index)" class="cuIcon-close text-red" style="font-size: 24px;"></text>
               </view> -->
               </view>
            </view>
            <view class="cu-item">
@@ -89,13 +89,10 @@
         <view class="title">库位码</view>
         <input placeholder="请扫描库位码" v-model="locCode"></input>
      </view>
      <view class="cu-bar btn-group foot">
         <button class="cu-btn text-blue line-blue shadow" @click="clear">清空</button>
         <button class="cu-btn bg-blue shadow-blur" @click="confirm">上架</button>
      </view>
   </view>
</template>
@@ -135,8 +132,9 @@
               matnrCode: this.barcode
            })
            if (code === 200) {
               const find = this.list.find(el => el.id === data.id);
               !find && this.list.push(data)
               // const find = this.list.find(el => el.id === data.id);
               // !find &&
                this.list.push(data)
            } else {
               uni.showToast({
                  title: msg,