|
@@ -21,8 +21,8 @@
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
- <a-form-item label="报价供应商(quotation supplier)" v-bind="validateInfos.quotationSuppiler" id="PuechaseQuotationFormForm-quotationSuppiler" name="quotationSuppiler">
|
|
|
- <JSelectInput v-model:value="formData.quotationSuppiler" placeholder="请选择" allow-clear :options="supplierOption" @change="changeSupplier"></JSelectInput>
|
|
|
+ <a-form-item label="报价供应商(quotation supplier)" v-bind="validateInfos.suppilerName" id="PuechaseQuotationFormForm-suppilerName" name="suppilerName">
|
|
|
+ <JSelectInput v-model:value="formData.suppilerName" placeholder="请选择" allow-clear :options="supplierOption" @change="changeSupplier"></JSelectInput>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
@@ -221,32 +221,31 @@
|
|
|
delFlag: undefined,
|
|
|
otherStatus: '',
|
|
|
submit: '',
|
|
|
+ sourceCode:'',
|
|
|
billDate: moment(new Date()).format('YYYY-MM-DD'),
|
|
|
- billCode: '',
|
|
|
- inquiryProject: '',
|
|
|
- inquirySuppiler:"",
|
|
|
- inquiryCustomer: '',
|
|
|
+ billCode: '',
|
|
|
+ projectName:'',
|
|
|
+ qutationProject:'',
|
|
|
+ suppilerName:"",
|
|
|
+ quotationSuppiler:'',
|
|
|
+ quotationDeadline:'',
|
|
|
priority: '',
|
|
|
productionClass: '',
|
|
|
model: '',
|
|
|
maker: '',
|
|
|
paymentTerms:'',
|
|
|
+ placeDelivery:'',
|
|
|
delivery:'',
|
|
|
deliveryTime: '',
|
|
|
- // inquiryTeam: '',
|
|
|
- quotationValidity:'',
|
|
|
- quotationNotes: '',
|
|
|
- quotationDeadline:'',
|
|
|
- sourceCode:'',
|
|
|
- projectName:'',
|
|
|
- placeDelivery:'',
|
|
|
- suppilerName:'',
|
|
|
+ quotationValidity:'',
|
|
|
+ quotationValidityDate:'',
|
|
|
+ currency:'',
|
|
|
+ quotationNotes: '',
|
|
|
+ technicalInformation:'',
|
|
|
saleAttachs:'',
|
|
|
paymentTermsInfo:'',
|
|
|
- quotationValidityDate:'',
|
|
|
- technicalInformation:'',
|
|
|
quotationInfomation:'',
|
|
|
- currency:''
|
|
|
+
|
|
|
});
|
|
|
|
|
|
//表单验证
|
|
@@ -382,7 +381,7 @@
|
|
|
}
|
|
|
function addProject(data) {
|
|
|
if(data.length!==0){
|
|
|
- formData.quotationProject = data[0].id
|
|
|
+ formData.qutationProject = data[0].id
|
|
|
formData.projectName = data[0].name
|
|
|
}else{
|
|
|
formData.inquiryProject = ''
|
|
@@ -408,8 +407,10 @@
|
|
|
item.deliveryTime = formData.deliveryTime
|
|
|
})
|
|
|
PuechaseQuotationFormProductTable.dataSource=arrProduct
|
|
|
- formData.inquiryProject = data[0].inquiryProject
|
|
|
+ formData.quotationProject = data[0].inquiryProject
|
|
|
formData.projectName = data[0].projectName
|
|
|
+ formData.quotationSuppiler = data[0].inquirySuppiler
|
|
|
+ formData.suppilerName = data[0].suppilerName
|
|
|
formData.sourceCode = data[0].billCode
|
|
|
formData.priority = data[0].priority
|
|
|
formData.model = data[0].headModel
|