diff --git a/src/api/quality/userbind.js b/src/api/quality/userbind.js index 3c00e066..71c36a92 100644 --- a/src/api/quality/userbind.js +++ b/src/api/quality/userbind.js @@ -17,6 +17,13 @@ export function getProduct(userCode) { }); } +export function getInfoById(id) { + return request({ + url: '/quality/material/getInfoById/' + id, + method: 'get' + }); +} + // 新增用户物料关联 export function addProduct(data) { return request({ diff --git a/src/views/device/inspectionPlan/index.vue b/src/views/device/inspectionPlan/index.vue index 8271e281..f4e42354 100644 --- a/src/views/device/inspectionPlan/index.vue +++ b/src/views/device/inspectionPlan/index.vue @@ -904,7 +904,7 @@ export default { for (let i = 0; i < response.data.length; i++) { this.personList.push({ label: response.data[i].nickName + '(' + response.data[i].userName + ')', - key: response.data[i].userName, + key: response.data[i].userId, }) } }); diff --git a/src/views/device/spotCheckPlan/index.vue b/src/views/device/spotCheckPlan/index.vue index 47b5d03b..3af934db 100644 --- a/src/views/device/spotCheckPlan/index.vue +++ b/src/views/device/spotCheckPlan/index.vue @@ -949,7 +949,7 @@ export default { for (let i = 0; i < response.data.length; i++) { this.personList.push({ label: response.data[i].nickName + '(' + response.data[i].userName + ')', - key: response.data[i].userName, + key: response.data[i].userId, }) } }); diff --git a/src/views/quality/checkType/index.vue b/src/views/quality/checkType/index.vue index 63ada142..ddcd1e4f 100644 --- a/src/views/quality/checkType/index.vue +++ b/src/views/quality/checkType/index.vue @@ -73,14 +73,6 @@ /> - - -