Kaynağa Gözat

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

jingbb 5 ay önce
ebeveyn
işleme
58c837c5ff

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