Compare commits

...

2 Commits

Author SHA1 Message Date
liang.chao c34f5ac165 Merge remote-tracking branch 'origin/main' 2024-11-21 10:06:43 +08:00
liang.chao 38d6f0c6e2 重庆编码设备bug修改 2024-11-21 10:06:28 +08:00
2 changed files with 18 additions and 18 deletions

View File

@ -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
}) })
}, },

View File

@ -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
}) })
}, },