Browse Source

改前后端传数据格式

LLL 1 year ago
parent
commit
24bab360b0

+ 6 - 6
itdmWeb/src/views/module-iTDM/inventory/ItdmSampleExpireList.vue

@@ -45,12 +45,12 @@
 <!--      </a-upload>-->
       <!-- 高级查询区域 -->
 <!--      <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>-->
-      <a-dropdown v-if="selectedRowKeys.length > 0">
-        <a-menu slot="overlay">
-          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
-        </a-menu>
-        <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
-      </a-dropdown>
+<!--      <a-dropdown v-if="selectedRowKeys.length > 0">-->
+<!--        <a-menu slot="overlay">-->
+<!--          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>-->
+<!--        </a-menu>-->
+<!--        <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>-->
+<!--      </a-dropdown>-->
     </div>
 
     <!-- table区域-begin -->

+ 9 - 8
itdmWeb/src/views/module-iTDM/inventory/modules/ItdmSampleExpireForm.vue

@@ -5,12 +5,13 @@
         <a-row>
           <a-col :span="24">
             <a-form-model-item label="样品条码列表" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="barCodes">
-              <j-multi-select-tag type="list_multi"
-                                  v-model="model.barCodes"
-                                  value-in-value
-                                  show-search
-                                  :options="rukuSampleBarcodeOptions"
-                                  placeholder="请选择样品条码列表" />
+              <a-select type="list_multi"
+                        mode="multiple"
+                        v-model="model.barCodes"
+                        value-in-value
+                        show-search
+                        :options="rukuSampleBarcodeOptions"
+                        placeholder="请选择样品条码列表" />
             </a-form-model-item>
           </a-col>
           <a-col :span="24">
@@ -96,10 +97,10 @@
       getSampleBarcodeList(){
         rukuSampleBarcodeList().then((res) =>{
           this.rukuSampleBarcodeOptions = res.result.map( res => {
-            console.log("444",res)
             return{
               value: res.barCode,
-              label: res.barCode
+              label: res.barCode,
+              // label: res.sampleName
             }
           })
         })