소스 검색

供应商报价选定-默认供应商导出其他值

jingbb 5 달 전
부모
커밋
58c837c5ff
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/views/purchase/selectionQuotationForm/components/SelectQuotationFormForm.vue

+ 3 - 1
src/views/purchase/selectionQuotationForm/components/SelectQuotationFormForm.vue

@@ -72,7 +72,7 @@
           asyncRemove
           >
           <template #selectionSupplier="props">
-            <a-select v-model:value="props.row.selectionSupplier" style="width: 100%;" @change="selectSupplier(props)">
+            <a-select v-model:value="props.row.selectionSupplier" style="width: 100%;" @change="selectSupplier(props)" allowClear>
               <a-select-option v-for="item in supplierList" :key="item.value" >{{ item.label }}</a-select-option>
             </a-select>
           </template>
@@ -345,7 +345,9 @@ import { log } from 'console';
               try {
                 SupplierQuotationDetailsTable.dataSource.map(event=>{
                   if(item.productCode==event.productCode){
+                    item=Object.assign(item,event)
                     item.selectionSupplier = event.quotationSuppiler
+                    item.deliveryTime=event.childDeliveryTime
                     throw 'break'
                   }
                 })