pjb
15 小时以前 d9afd0924fc3bb5b495d4f879fc8b82b0be7c708
pages/order/orderSelect.vue
@@ -72,6 +72,12 @@
                        </view>
                     </view>
                     <view class="info-row">
                        <view class="info-label">工单号:</view>
                        <view class="info-value">
                           <text class="tag tag-primary">{{orderDetl.standby1 || '-'}}</text>
                        </view>
                     </view>
                     <view class="info-row">
                        <view class="info-label">批号:</view>
                        <view class="info-value">
                           <text class="tag tag-warning">{{orderDetl.batch || '-'}}</text>
@@ -113,6 +119,9 @@
      
      <!-- 底部操作按钮 -->
      <view class="bottom-bar">
         <button class="btn-submit" size="default" type="primary" @click="reset()">
            <text>重置</text>
         </button>
         <button class="btn-submit" size="default" type="primary" @click="addItems()">
            <uni-icons type="checkmarkempty" size="18" color="#ffffff"></uni-icons>
            <text>提取选中物料</text>
@@ -162,6 +171,16 @@
      },
      methods: {
         onFilterInput() {
               let that = this
               // 方法1:分割成数组
               let arr = that.filterMatnr.split('|')
               // 方法2:遍历每一段
               arr.forEach((item, index) => {
                 switch(index){
                     case 2: that.filterMatnr = item
                        break;
                 }
               })
            this.applyFilter()
         },
         
@@ -331,6 +350,12 @@
         addItem(mat) {
            this.getOpenerEventChannel().emit('sMat', {data: mat});
            uni.navigateBack({})
         },
         reset(){
            this.filterMatnr = ''
            this.orderNo = ''
            this.dataList = []
            this.filteredList = []
         }
      },
      
@@ -594,6 +619,8 @@
/* 底部按钮栏 */
.bottom-bar {
   display: flex;
   flex-direction: row;
   position: fixed;
   bottom: 0;
   left: 0;