|
|
|
@ -37,12 +37,17 @@ |
|
|
|
<el-input v-model="dataForm.createDate" disabled style="" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="12"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item > |
|
|
|
<span slot="label" style="" @click="quotationOfficerChooseModal()"><a herf="#">Select Quote Specialist</a></span> |
|
|
|
<el-input v-model="dataForm.quotationOfficer" readonly style="" @focus="quotationOfficerChooseModal()" ></el-input> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'最新报价单'"> |
|
|
|
<el-input @focus="jumpPage('C')" ref="jumpC" class="blue-input" v-model="quotationNo" readonly style="" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<!-- <el-col :span="12"><div class="grid-content bg-purple">--> |
|
|
|
<!-- <el-form-item >--> |
|
|
|
<!-- <span slot="label" style="" @click="quotationOfficerChooseModal()"><a herf="#">Select Quote Specialist</a></span>--> |
|
|
|
<!-- <el-input v-model="dataForm.quotationOfficer" readonly style="" @focus="quotationOfficerChooseModal()" ></el-input>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </div></el-col>--> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
<el-row :gutter="20"> |
|
|
|
@ -53,7 +58,7 @@ |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'ECN Number'"> |
|
|
|
<el-input @focus="jumpPage('A')" class="blue-input" v-model="dataForm.ecnNo" readonly style="" ></el-input> |
|
|
|
<el-input @focus="jumpPage('A')" ref="jumpA" class="blue-input" v-model="dataForm.ecnNo" readonly style="" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="12"><div class="grid-content bg-purple"> |
|
|
|
@ -74,7 +79,7 @@ |
|
|
|
<el-form-item :label="'Production Stage'"> |
|
|
|
<el-select v-model="dataForm.stage" :disabled="ifDisableFlag"> |
|
|
|
<el-option label="Sample" value="Sample"></el-option> |
|
|
|
<el-option label="MassProduction" value="N"></el-option> |
|
|
|
<el-option label="Mass Production" value="Mass Production"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
@ -85,7 +90,7 @@ |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'Sample Application No'"> |
|
|
|
<el-input @focus="jumpPage('B')" class="blue-input" v-model="dataForm.proofingNo" readonly style="" ></el-input> |
|
|
|
<el-input @focus="jumpPage('B')" ref="jumpB" class="blue-input" v-model="dataForm.proofingNo" readonly style="" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
@ -167,6 +172,7 @@ |
|
|
|
tsdBasicInformationSearch, |
|
|
|
searchTechnicalSpecificationTeamStr, |
|
|
|
updateBMBasicInformation, |
|
|
|
searchPartLastQuotationNo, |
|
|
|
} from "@/api/sampleManagement/technicalSpecificationList.js" |
|
|
|
import { |
|
|
|
searchOperatorWithSite, |
|
|
|
@ -178,6 +184,7 @@ |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
quotationNo:'', |
|
|
|
searchData: { |
|
|
|
site: '', |
|
|
|
username: this.$store.state.user.name, |
|
|
|
@ -302,7 +309,15 @@ |
|
|
|
searchTechnicalSpecificationTeamStr(inData3).then(({data}) => { |
|
|
|
this.dataForm.engineerList = data.rows |
|
|
|
}) |
|
|
|
|
|
|
|
let inData4={ |
|
|
|
site:data.row.site, |
|
|
|
productNo:data.row.testPartNo, |
|
|
|
} |
|
|
|
searchPartLastQuotationNo(inData4).then(({data}) => { |
|
|
|
if(data.rows.length>0){ |
|
|
|
this.quotationNo = data.rows[0].quotationNo |
|
|
|
} |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.dataList = ''; |
|
|
|
} |
|
|
|
@ -404,6 +419,7 @@ |
|
|
|
}, |
|
|
|
jumpPage(type){ |
|
|
|
if(type==="A"&& this.dataForm.ecnNo!==null&&this.dataForm.ecnNo!==''){ |
|
|
|
this.$refs.jumpA.blur(); |
|
|
|
let inData={ |
|
|
|
ecnNo:this.dataForm.ecnNo |
|
|
|
} |
|
|
|
@ -411,11 +427,22 @@ |
|
|
|
window.open('#/changeManagement-changeRecord'); |
|
|
|
} |
|
|
|
if(type==="B"&& this.dataForm.proofingNo!==null&&this.dataForm.proofingNo!==''){ |
|
|
|
this.$refs.jumpB.blur(); |
|
|
|
let inData={ |
|
|
|
proofingNo:this.dataForm.proofingNo |
|
|
|
} |
|
|
|
localStorage.setItem('proofingData', JSON.stringify(inData)) |
|
|
|
window.open('#/proofing-requestForProofing'); |
|
|
|
|
|
|
|
} |
|
|
|
if(type==="C"&& this.quotationNo!==null&&this.quotationNo!==''){ |
|
|
|
this.$refs.jumpC.blur(); |
|
|
|
let inData={ |
|
|
|
quotationNo:this.quotationNo |
|
|
|
} |
|
|
|
localStorage.setItem('quotationData', JSON.stringify(inData)) |
|
|
|
window.open('#/quotation-sellForQuotation'); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|