|
|
@ -176,10 +176,14 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</div></el-col> |
|
|
</div></el-col> |
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
<el-form-item > |
|
|
|
|
|
<span slot="label" style="" @click="getBaseList(5)"><a herf="#">DCC人员</a></span> |
|
|
|
|
|
<el-input v-model="dataForm.dccOperaterName" ref="dccOperaterName" placeholder="请选择人员" readonly style="" ></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
<!-- <el-form-item >--> |
|
|
|
|
|
<!-- <span slot="label" style="" @click="getBaseList(5)"><a herf="#">DCC人员</a></span>--> |
|
|
|
|
|
<!-- <el-input v-model="dataForm.dccOperaterName" ref="dccOperaterName" placeholder="请选择人员" readonly style="" ></el-input>--> |
|
|
|
|
|
<!-- </el-form-item>--> |
|
|
|
|
|
<el-form-item > |
|
|
|
|
|
<span slot="label" style="" @click="dccChooseModal()"><a herf="#">DCC人员</a></span> |
|
|
|
|
|
<el-input v-model="dataForm.dcc" ref="dcc" readonly style="" @focus="dccChooseModal()"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
</div></el-col> |
|
|
</div></el-col> |
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
<el-form-item > |
|
|
<el-form-item > |
|
|
@ -265,6 +269,23 @@ |
|
|
</span> |
|
|
</span> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
|
width="530px" |
|
|
|
|
|
title="DCC人员" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
:visible.sync="dccFlag"> |
|
|
|
|
|
<el-transfer v-model="dccList" class="rq" filterable :props="{ |
|
|
|
|
|
key: 'operatorId', |
|
|
|
|
|
label: 'operatorName' |
|
|
|
|
|
}" :data="operatorList" :titles="['未选择', '已选择']"></el-transfer> |
|
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
|
<div style="margin-top: 5px"> |
|
|
|
|
|
<el-button type="primary" @click="savetDccList()">确定</el-button> |
|
|
|
|
|
<el-button @click="dccFlag = false" type="primary">取消</el-button> |
|
|
|
|
|
</div> |
|
|
|
|
|
</span> |
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<ChooseUser ref="baseList" @getBaseData="getBaseData"></ChooseUser> |
|
|
<ChooseUser ref="baseList" @getBaseData="getBaseData"></ChooseUser> |
|
|
|
|
|
|
|
|
<!-- 提交 --> |
|
|
<!-- 提交 --> |
|
|
@ -289,6 +310,7 @@ |
|
|
updateBMBasicInformation, |
|
|
updateBMBasicInformation, |
|
|
searchPartLastQuotationNo,getBMStatusDesc,getOADetailForBM, |
|
|
searchPartLastQuotationNo,getBMStatusDesc,getOADetailForBM, |
|
|
submitChange, issueChange, // 下达 // 提交 |
|
|
submitChange, issueChange, // 下达 // 提交 |
|
|
|
|
|
searchBMUser, |
|
|
} from "@/api/sampleManagement/technicalSpecificationList.js" |
|
|
} from "@/api/sampleManagement/technicalSpecificationList.js" |
|
|
import { |
|
|
import { |
|
|
getNodeAuthority, // 获取节点权限 |
|
|
getNodeAuthority, // 获取节点权限 |
|
|
@ -314,7 +336,9 @@ |
|
|
quotationOfficerFlag:false, |
|
|
quotationOfficerFlag:false, |
|
|
engineerFlag:false, |
|
|
engineerFlag:false, |
|
|
technicianFlag:false, |
|
|
technicianFlag:false, |
|
|
|
|
|
dccFlag:false, |
|
|
operatorList:[], |
|
|
operatorList:[], |
|
|
|
|
|
dccList:[], |
|
|
quotationOfficerList:[], |
|
|
quotationOfficerList:[], |
|
|
engineerList:[], |
|
|
engineerList:[], |
|
|
technicianList:[], |
|
|
technicianList:[], |
|
|
@ -322,6 +346,7 @@ |
|
|
sp:'', |
|
|
sp:'', |
|
|
nodeName:'', |
|
|
nodeName:'', |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
dataForm:{ |
|
|
dataForm:{ |
|
|
nodeName:'', |
|
|
nodeName:'', |
|
|
process:'', |
|
|
process:'', |
|
|
@ -364,6 +389,8 @@ |
|
|
dccOperaterName:'', |
|
|
dccOperaterName:'', |
|
|
engineerNo:'', |
|
|
engineerNo:'', |
|
|
technicianNo:'', |
|
|
technicianNo:'', |
|
|
|
|
|
dcc:'', |
|
|
|
|
|
dccList:'', |
|
|
}, |
|
|
}, |
|
|
dataRole: { |
|
|
dataRole: { |
|
|
partTypeDesc: [ |
|
|
partTypeDesc: [ |
|
|
@ -546,6 +573,14 @@ |
|
|
this.quotationNo = data.rows[0].quotationNo |
|
|
this.quotationNo = data.rows[0].quotationNo |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
let inData5 = { |
|
|
|
|
|
site: this.dataForm.site, |
|
|
|
|
|
codeNo: this.dataForm.codeNo, |
|
|
|
|
|
type: 'dcc', |
|
|
|
|
|
} |
|
|
|
|
|
searchTechnicalSpecificationTeamStr(inData5).then(({data}) => { |
|
|
|
|
|
this.dataForm.dccList = data.rows |
|
|
|
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
this.dataList = ''; |
|
|
this.dataList = ''; |
|
|
this.$alert('刷新失败请重新打开技术参数卡', '失败', { |
|
|
this.$alert('刷新失败请重新打开技术参数卡', '失败', { |
|
|
@ -597,6 +632,14 @@ |
|
|
this.quotationNo = data.rows[0].quotationNo |
|
|
this.quotationNo = data.rows[0].quotationNo |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
let inData5 = { |
|
|
|
|
|
site: this.dataForm.site, |
|
|
|
|
|
codeNo: this.dataForm.codeNo, |
|
|
|
|
|
type: 'dcc', |
|
|
|
|
|
} |
|
|
|
|
|
searchTechnicalSpecificationTeamStr(inData5).then(({data}) => { |
|
|
|
|
|
this.dataForm.dccList = data.rows |
|
|
|
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
this.dataList = ''; |
|
|
this.dataList = ''; |
|
|
} |
|
|
} |
|
|
@ -643,7 +686,20 @@ |
|
|
this.engineerList = JSON.parse(JSON.stringify(this.dataForm.engineerList)); |
|
|
this.engineerList = JSON.parse(JSON.stringify(this.dataForm.engineerList)); |
|
|
this.engineerFlag=true |
|
|
this.engineerFlag=true |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
dccChooseModal(){ |
|
|
|
|
|
if(this.ifDisableFlag){ |
|
|
|
|
|
return false |
|
|
|
|
|
} |
|
|
|
|
|
let inData={ |
|
|
|
|
|
site:this.dataForm.site, |
|
|
|
|
|
buNo:this.dataForm.buNo, |
|
|
|
|
|
} |
|
|
|
|
|
searchBMUser(inData).then(({data}) => { |
|
|
|
|
|
this.operatorList=data.rows |
|
|
|
|
|
}) |
|
|
|
|
|
this.dccList = JSON.parse(JSON.stringify(this.dataForm.dccList)); |
|
|
|
|
|
this.dccFlag=true |
|
|
|
|
|
}, |
|
|
saveEngineerList(){ |
|
|
saveEngineerList(){ |
|
|
let engineerName=''; |
|
|
let engineerName=''; |
|
|
for (let i = 0; i < this.engineerList.length; i++) { |
|
|
for (let i = 0; i < this.engineerList.length; i++) { |
|
|
@ -682,6 +738,18 @@ |
|
|
this.dataForm.technicianList=JSON.parse(JSON.stringify(this.technicianList)); |
|
|
this.dataForm.technicianList=JSON.parse(JSON.stringify(this.technicianList)); |
|
|
this.technicianFlag=false |
|
|
this.technicianFlag=false |
|
|
}, |
|
|
}, |
|
|
|
|
|
savetDccList(){ |
|
|
|
|
|
let dccName=''; |
|
|
|
|
|
for (let i = 0; i < this.dccList.length; i++) { |
|
|
|
|
|
let select= this.operatorList.filter(item => item.operatorId === this.dccList[i]) |
|
|
|
|
|
if(select.length>0){ |
|
|
|
|
|
dccName+=select[0].operatorName+';' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
this.dataForm.dcc=dccName |
|
|
|
|
|
this.dataForm.dccList=JSON.parse(JSON.stringify(this.dccList)); |
|
|
|
|
|
this.dccFlag=false |
|
|
|
|
|
}, |
|
|
saveData(){ |
|
|
saveData(){ |
|
|
this.dataForm.engineerList = []; |
|
|
this.dataForm.engineerList = []; |
|
|
this.dataForm.engineerList.push(this.dataForm.engineerNo); |
|
|
this.dataForm.engineerList.push(this.dataForm.engineerNo); |
|
|
|