From 9b6bd0c014b73456edb095ee53b22324437ae646 Mon Sep 17 00:00:00 2001
From: cuijian <cuijian@xalxzn.com>
Date: 星期三, 09 七月 2025 10:59:45 +0800
Subject: [PATCH] 现场问题修改

---
 src/views/tms/modules/inboundOrder/InboundOrderModel.vue |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/src/views/tms/modules/inboundOrder/InboundOrderModel.vue b/src/views/tms/modules/inboundOrder/InboundOrderModel.vue
index c66d5c8..4e1d578 100644
--- a/src/views/tms/modules/inboundOrder/InboundOrderModel.vue
+++ b/src/views/tms/modules/inboundOrder/InboundOrderModel.vue
@@ -40,7 +40,7 @@
               />
             </a-form-item>
           </a-col>
-          <a-col :span="24 / 2">
+          <!-- <a-col :span="24 / 2">
             <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="搴撲綅鍙�">
              <a-select
                 :triggerChange="true"
@@ -48,7 +48,7 @@
                 v-decorator="[ 'locationCodeId', validatorRules.locationCodeId ]"
               />
             </a-form-item>
-          </a-col>
+          </a-col> -->
           <!-- <a-col :span="24 / 2">
             <a-form-item label="鐢宠鍘熷洜" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input placeholder="璇疯緭鍏ョ敵璇峰師鍥�"  :disabled="disableSubmit" v-decorator="['applicationReason', validatorRules.applicationReason]" />
@@ -148,6 +148,17 @@
             @change="(e) => handleChange(e, record.key, col, index)"
             :min="1"
           />
+          <a-select
+            v-if="col.dataIndex == 'goodsShelvesId'"
+            :disabled="disableSubmit"
+            :triggerChange="true"
+            :value="text"
+            show-search
+            :filter-option="filterOption"
+            style="width: 100%"
+            :options="locationCodeOptions"
+            @change="(e) => handleChange(e, record.key, col, index)"
+          />    
         </div>
       </template>
       <span slot="action" slot-scope="text, record, index">
@@ -327,6 +338,12 @@
           align: 'center',
           dataIndex: 'toolModel'
         },
+         {
+          title: '搴撲綅鍙�',
+          align: 'center',
+          dataIndex: 'goodsShelvesId',
+          scopedSlots: { customRender: 'goodsShelvesId' },
+        },
         {
           title: '鍏ュ簱鏁伴噺',
           align: 'center',
@@ -353,6 +370,9 @@
   methods: {
     modalFormOk() {
     },
+    filterOption(input, option) {
+      return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
+    },
     getQueryParams() {
       this.param.pageNo = this.ipagination.current
       this.param.pageSize = this.ipagination.pageSize

--
Gitblit v1.9.3