重庆编码设备bug修改
This commit is contained in:
parent
78612f0397
commit
38d6f0c6e2
|
|
@ -580,7 +580,7 @@ import {
|
||||||
listMachine,
|
listMachine,
|
||||||
updateMachine,
|
updateMachine,
|
||||||
supplierInfoList,
|
supplierInfoList,
|
||||||
getListByMaType,
|
getListByMaType, getListByMaTypePid,
|
||||||
} from '@/api/store/tools'
|
} from '@/api/store/tools'
|
||||||
import { pushNotificationsApi } from '@/api/dataPush' // 推送至租赁平台
|
import { pushNotificationsApi } from '@/api/dataPush' // 推送至租赁平台
|
||||||
import { getProLists } from '@/api/base/base'
|
import { getProLists } from '@/api/base/base'
|
||||||
|
|
@ -714,14 +714,14 @@ export default {
|
||||||
//选择物品种类
|
//选择物品种类
|
||||||
selectItem(id) {
|
selectItem(id) {
|
||||||
console.log(id)
|
console.log(id)
|
||||||
getListByMaType({ typeId: id, level: '3' }).then((response) => {
|
getListByMaTypePid({ typeId: id }).then((response) => {
|
||||||
this.typeList = response.data.rows
|
this.typeList = response.data.rows
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//选择设备类型
|
//选择设备类型
|
||||||
selectDevice(id) {
|
selectDevice(id) {
|
||||||
console.log(id)
|
console.log(id)
|
||||||
getListByMaType({ typeId: id, level: '0' }).then((response) => {
|
getListByMaTypePid({ typeId: id }).then((response) => {
|
||||||
this.modelList = response.data.rows
|
this.modelList = response.data.rows
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -521,7 +521,7 @@ import {
|
||||||
listMachine,
|
listMachine,
|
||||||
updateMachine,
|
updateMachine,
|
||||||
supplierInfoList,
|
supplierInfoList,
|
||||||
getListByMaType,
|
getListByMaType, getListByMaTypePid,
|
||||||
} from '@/api/store/tools'
|
} from '@/api/store/tools'
|
||||||
import { getProLists } from '@/api/base/base'
|
import { getProLists } from '@/api/base/base'
|
||||||
import { imgUpLoad } from '@/api/system/upload'
|
import { imgUpLoad } from '@/api/system/upload'
|
||||||
|
|
@ -637,14 +637,14 @@ export default {
|
||||||
//选择物品种类
|
//选择物品种类
|
||||||
selectItem(id) {
|
selectItem(id) {
|
||||||
console.log(id)
|
console.log(id)
|
||||||
getListByMaType({ typeId: id, level: '3' }).then((response) => {
|
getListByMaTypePid({ typeId: id }).then((response) => {
|
||||||
this.typeList = response.data.rows
|
this.typeList = response.data.rows
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//选择设备类型
|
//选择设备类型
|
||||||
selectDevice(id) {
|
selectDevice(id) {
|
||||||
console.log(id)
|
console.log(id)
|
||||||
getListByMaType({ typeId: id, level: '0' }).then((response) => {
|
getListByMaTypePid({ typeId: id }).then((response) => {
|
||||||
this.modelList = response.data.rows
|
this.modelList = response.data.rows
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue