This commit is contained in:
许允枞 2025-03-26 18:01:33 +08:00
parent 2f8288dceb
commit 7a6214441b

View File

@ -380,6 +380,16 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label="接车员">
<el-select v-model="form.meetManId" placeholder="请选择接车员">
<el-option
v-for="dict in meetManList"
:key="dict.id"
:label="dict.nickname"
:value="dict.id"
></el-option>
</el-select>
</el-form-item>
<!-- <el-form-item label="请选择检测项目">-->
<!-- 可选检测项目 -->
<div v-if="isInsert">
@ -531,6 +541,7 @@ export default {
selectInspectionProjectIds:[],
isInsert: false,
leadManList:[],
meetManList:[],
//
queryParams: {
pageNum: 1,
@ -826,6 +837,7 @@ export default {
this.getINspectionProject()
this.isInsert = true
this.getLeadeMan();
this.getMeetMan();
listGoods().then(res => {
res.data.forEach(it => {
let temp = {}
@ -852,6 +864,7 @@ export default {
this.isInsert = false
this.reset();
this.getLeadeMan();
this.getMeetMan();
this.form = row
let skuId = parseInt(row.skuId)
this.form.skuId = [row.goodsId, skuId]
@ -888,6 +901,18 @@ export default {
this.leadManList = res.data
})
},
/** 获取引车员信息*/
getMeetMan() {
request({
url: '/system/role/getUsersByRoleCode',
method: 'get',
params: {
code: "jcjchc"
}
}).then(res => {
this.meetManList = res.data
})
},
/** 提交按钮 */
submitForm() {
if (this.form.id) {