瀏覽代碼

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

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'
                   }
                 })