|
|
|
@ -1,10 +1,29 @@ |
|
|
|
<template> |
|
|
|
<div class="mod-config" v-highlight-container> |
|
|
|
<el-form label-position="top" style="margin-top: 1px; margin-left: 0px;"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="18"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="' '"> |
|
|
|
<el-button type="primary" @click="refresh()" >刷新数据</el-button> |
|
|
|
<el-button type="primary" @click="saveData()" v-if="!ifDisableFlag&&isAuth('103002:bmSave')">保存</el-button> |
|
|
|
<el-button v-if="dataForm.status === 'spz'&&!ifDisableFlag" type="primary" @click="agreeSubmit">同意</el-button> |
|
|
|
<el-button v-if="dataForm.status === 'spz' && dataForm.isReject === 'Y' &&!ifDisableFlag" type="primary" @click="submitDataModal">驳回</el-button> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'当前节点'" > |
|
|
|
<el-input v-model="spForm.nodeName" disabled ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'审批人'" > |
|
|
|
<el-input v-model="spForm.sp" disabled ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<el-form label-position="top" style="margin-top: 1px; margin-left: 0px;"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
@ -26,11 +45,7 @@ |
|
|
|
<el-input v-model="dataForm.finalPartNo" disabled ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'当前节点'"> |
|
|
|
<el-input v-model="dataForm.nodeName" disabled ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
|
|
|
|
<!-- <el-col :span="6"><div class="grid-content bg-purple">--> |
|
|
|
<!-- <el-form-item :label="'P/N Rev.'">--> |
|
|
|
<!-- <el-input v-model="dataForm.partRevNo" disabled ></el-input>--> |
|
|
|
@ -271,7 +286,7 @@ |
|
|
|
tsdBasicInformationSearch, |
|
|
|
searchTechnicalSpecificationTeamStr, |
|
|
|
updateBMBasicInformation, |
|
|
|
searchPartLastQuotationNo,getBMStatusDesc, |
|
|
|
searchPartLastQuotationNo,getBMStatusDesc,getOADetailForBM, |
|
|
|
submitChange, // 提交 |
|
|
|
} from "@/api/sampleManagement/technicalSpecificationList.js" |
|
|
|
import { |
|
|
|
@ -302,6 +317,10 @@ |
|
|
|
quotationOfficerList:[], |
|
|
|
engineerList:[], |
|
|
|
technicianList:[], |
|
|
|
spForm:{ |
|
|
|
sp:'', |
|
|
|
nodeName:'', |
|
|
|
}, |
|
|
|
dataForm:{ |
|
|
|
nodeName:'', |
|
|
|
process:'', |
|
|
|
@ -496,6 +515,10 @@ |
|
|
|
codeNo: this.dataForm.codeNo, |
|
|
|
type: 'quotationOfficer', |
|
|
|
} |
|
|
|
getOADetailForBM(inData).then(({data}) => { |
|
|
|
this.spForm.nodeName = data.row.nodeName |
|
|
|
this.spForm.sp = data.row.sp |
|
|
|
}) |
|
|
|
searchTechnicalSpecificationTeamStr(inData).then(({data}) => { |
|
|
|
this.dataForm.quotationOfficerList = data.rows |
|
|
|
}) |
|
|
|
@ -546,6 +569,10 @@ |
|
|
|
searchTechnicalSpecificationTeamStr(inData).then(({data}) => { |
|
|
|
this.dataForm.quotationOfficerList = data.rows |
|
|
|
}) |
|
|
|
getOADetailForBM(inData).then(({data}) => { |
|
|
|
this.spForm.nodeName = data.row.nodeName |
|
|
|
this.spForm.sp = data.row.sp |
|
|
|
}) |
|
|
|
let inData2 = { |
|
|
|
site: this.dataForm.site, |
|
|
|
codeNo: this.dataForm.codeNo, |
|
|
|
|