|
@@ -368,15 +368,7 @@ import { log } from 'console';
|
|
|
SupplierQuotationDetailsTable.dataSource=res.result.records
|
|
|
supplierList.value= []
|
|
|
res.result.records.map(item=>{
|
|
|
- if(supplierList.value.length!==0){
|
|
|
- supplierList.value.map(event=>{
|
|
|
- if(item.suppilerName!==event.value){
|
|
|
- supplierList.value.push({label:item.suppilerName,value:item.id})
|
|
|
- }
|
|
|
- })
|
|
|
- }else{
|
|
|
- supplierList.value.push({label:item.suppilerName,value:item.id})
|
|
|
- }
|
|
|
+ supplierList.value.push({label:item.suppilerName,value:item.quotationSuppiler})
|
|
|
})
|
|
|
}
|
|
|
})
|
|
@@ -398,7 +390,7 @@ import { log } from 'console';
|
|
|
}
|
|
|
function selectSupplier(prop){
|
|
|
SupplierQuotationDetailsTable.dataSource.map(item=>{
|
|
|
- if(item.productCode==prop.row.productCode&&item.suppilerName==prop.row.selectionSupplier){
|
|
|
+ if(item.productCode==prop.row.productCode&&item.quotationSuppiler==prop.row.selectionSupplier){
|
|
|
var arr = [...SelectQuotationFormProductTable.dataSource]
|
|
|
arr.map((event,index)=>{
|
|
|
if(prop.rowIndex==index){
|