Browse Source

fix: SBBJ-900

master
zhaoyiran 1 month ago
parent
commit
bc8d68d9e4
  1. 6
      src/api/device.ts
  2. 4
      src/pages/spotCheckOrder/addForm.vue

6
src/api/device.ts

@ -27,4 +27,8 @@ export function getApplyDeviceList() {
// 设备分页列表
export function selectAllByParams(params) {
return http.get('/eam/device-accounts/selectAllByParams',{params})
}
}
export function getInspectionConfig(params) {
return http.get('/eam/device-mold-maintenance-config/getListByNumber',{params})
}

4
src/pages/spotCheckOrder/addForm.vue

@ -194,10 +194,10 @@ function getDetailsByNumber() {
//
function getSubList() {
const data = {
number: form.value.deviceNumber
deviceNumber: form.value.deviceNumber
}
deviceApi
.getSubList(data)
.getInspectionConfig(data)
.then((res) => {
if (res.data) {
subList.value = res.data

Loading…
Cancel
Save