Compare commits
2 Commits
0804523588
...
c34f5ac165
| Author | SHA1 | Date |
|---|---|---|
|
|
c34f5ac165 | |
|
|
38d6f0c6e2 |
|
|
@ -574,13 +574,13 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
addMachine,
|
addMachine,
|
||||||
delMachine,
|
delMachine,
|
||||||
getMachine,
|
getMachine,
|
||||||
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
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -515,13 +515,13 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
addMachine,
|
addMachine,
|
||||||
delMachine,
|
delMachine,
|
||||||
getMachine,
|
getMachine,
|
||||||
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