#
zhou zhou
22 小时以前 54444275ff8ef4ed966377dce3b34f07d63836a3
pages/InManagement/ContainerBinding/Container_Binding.vue
@@ -86,33 +86,9 @@
               </view>
               <view class="card-content">
                  <view class="info-row">
                     <text class="info-label">{{ $t('container.matName') }}</text>
                     <text class="info-value">
                        {{ item.maktx || '-' }}
                     </text>
                  </view>
                  <view class="info-row">
                     <view class="info-col">
                        <text class="info-label">{{ $t('container.matSpec') }}</text>
                        <text class="info-value">
                           {{ item.specs || '-' }}
                        </text>
                     </view>
                     <view class="info-col">
                        <text class="info-label">{{ $t('container.matBatch') }}</text>
                        <text class="info-value highlight">
                           {{ item.batch || '-' }}
                        </text>
                     </view>
                  </view>
                  <view class="info-row">
                     <view class="info-col">
                        <text class="info-label">{{ $t('container.matQty') }}</text>
                        <text class="info-value qty">
                           {{ item.anfme }}
                        </text>
                     </view>
                  <view class="info-row" v-for="(field, idx) in displayFields" :key="idx">
                     <text class="info-label">{{ $t(field.label) }}</text>
                     <text class="info-value">{{ item[field.field] || '-' }}</text>
                  </view>
               </view>
@@ -275,7 +251,13 @@
         orderCombNeedSplit: true,
         orderCombSeparator: ';',
         orderCombArrayIndex: 0,
         orderCombStartPos: 3
         orderCombStartPos: 3,
         displayFields: [
            { field: 'maktx', label: 'container.matName' },
            { field: 'specs', label: 'container.matSpec' },
            { field: 'batch', label: 'container.matBatch' },
            { field: 'anfme', label: 'container.matQty' }
         ]
      }
   },
   onShow() {
@@ -285,6 +267,9 @@
         this.orderCombSeparator = settings.orderCombSeparator || ';'
         this.orderCombArrayIndex = settings.orderCombArrayIndex !== undefined ? Number(settings.orderCombArrayIndex) : 0
         this.orderCombStartPos = settings.orderCombStartPos !== undefined ? Number(settings.orderCombStartPos) : 3
         if (settings.containerBindingFields && settings.containerBindingFields.length > 0) {
            this.displayFields = settings.containerBindingFields
         }
      } else {
         this.orderCombNeedSplit = true
         this.orderCombSeparator = ';'