重庆编码设备bug修改

This commit is contained in:
liang.chao 2024-11-21 10:06:28 +08:00
parent 78612f0397
commit 38d6f0c6e2
2 changed files with 18 additions and 18 deletions

View File

@ -580,7 +580,7 @@ import {
listMachine,
updateMachine,
supplierInfoList,
getListByMaType,
getListByMaType, getListByMaTypePid,
} from '@/api/store/tools'
import { pushNotificationsApi } from '@/api/dataPush' //
import { getProLists } from '@/api/base/base'
@ -714,14 +714,14 @@ export default {
//
selectItem(id) {
console.log(id)
getListByMaType({ typeId: id, level: '3' }).then((response) => {
getListByMaTypePid({ typeId: id }).then((response) => {
this.typeList = response.data.rows
})
},
//
selectDevice(id) {
console.log(id)
getListByMaType({ typeId: id, level: '0' }).then((response) => {
getListByMaTypePid({ typeId: id }).then((response) => {
this.modelList = response.data.rows
})
},

View File

@ -521,7 +521,7 @@ import {
listMachine,
updateMachine,
supplierInfoList,
getListByMaType,
getListByMaType, getListByMaTypePid,
} from '@/api/store/tools'
import { getProLists } from '@/api/base/base'
import { imgUpLoad } from '@/api/system/upload'
@ -637,14 +637,14 @@ export default {
//
selectItem(id) {
console.log(id)
getListByMaType({ typeId: id, level: '3' }).then((response) => {
getListByMaTypePid({ typeId: id }).then((response) => {
this.typeList = response.data.rows
})
},
//
selectDevice(id) {
console.log(id)
getListByMaType({ typeId: id, level: '0' }).then((response) => {
getListByMaTypePid({ typeId: id }).then((response) => {
this.modelList = response.data.rows
})
},