diff --git a/src/views/dms/prodBaseMachineInfo/index.vue b/src/views/dms/prodBaseMachineInfo/index.vue index 6ae93fe..bb34c10 100644 --- a/src/views/dms/prodBaseMachineInfo/index.vue +++ b/src/views/dms/prodBaseMachineInfo/index.vue @@ -296,7 +296,15 @@ - + + + + @@ -680,6 +688,7 @@ import { Tools, Notification, TurnOff, Warning, Money, Switch, View, ShoppingCart, CircleCheck, Position, MagicStick, Plus, Edit, Delete } from '@element-plus/icons-vue'; +import { getDmsBaseDeviceSupplierList } from '@/api/dms/dmsBaseDeviceSupplier'; const { proxy } = getCurrentInstance() as ComponentInternalInstance; @@ -919,6 +928,12 @@ const getDeviceTypes = async () => { } }; +let supplierInfoList =ref([]); +const getSupplierInfoListSelect = async () => { + const res = await getDmsBaseDeviceSupplierList(null); + supplierInfoList.value = res.data; +}; + // 获取车间列表 // const getWorkshopListSelect = async () => { // try { @@ -1523,9 +1538,12 @@ let timer = null; onMounted(() => { getList(); getDeviceTypes(); + // getWorkshopListSelect(); getDmsDeviceModeListSelect(); updateCurrentTime(); + + getSupplierInfoListSelect(); timer = setInterval(updateCurrentTime, 1000); }); @@ -1555,6 +1573,7 @@ watch(selectedMachine, (newMachine) => { loadLifecycleTypes(); } }); +