This commit is contained in:
parent
fcc4e79283
commit
bb78496d2a
|
|
@ -154,8 +154,8 @@
|
|||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import { onMounted, ref, reactive, computed } from 'vue'
|
||||
import { getBranchListApi,getImpUnitListApi, getDepartListByImpUnitApi, getProListByDepartApi } from '@/services/materialsStation'
|
||||
import { getTypeListApi } from '@/services/inStorage/index.js'
|
||||
import { useMemberStore } from '@/stores'
|
||||
import {getMaterialTypeList} from "../../../services/inStorage";
|
||||
const memberStore = useMemberStore()
|
||||
const userInfo = ref(memberStore.userInfo || {})
|
||||
|
||||
|
|
@ -289,7 +289,7 @@ const handleDepartChange= async () => {
|
|||
|
||||
const getTypeList = async () => {
|
||||
try {
|
||||
const res = await getTypeListApi({ level: 3, skipPermission: 1 })
|
||||
const res = await getMaterialTypeList({ level: 3, skipPermission: 1 })
|
||||
console.log('🚀 ~ getTypeList ~ res:', res)
|
||||
typeList.value = []
|
||||
if (res.data) {
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@
|
|||
@blur="fitNumChange"
|
||||
></uni-easyinput>
|
||||
</uni-forms-item> -->
|
||||
<uni-section title="领用工具器" type="line" />
|
||||
<uni-section title="领用工器具" type="line" />
|
||||
<eselect
|
||||
v-model="equipmentId"
|
||||
style="width: 100%; height: 90rpx; margin: 10px 0"
|
||||
|
|
|
|||
|
|
@ -18,6 +18,16 @@ export const getTypeListApi = (data) => {
|
|||
})
|
||||
}
|
||||
|
||||
|
||||
// 获取类型 3级 4级(根据typeId)---无companyId
|
||||
export const getMaterialTypeList = (data) => {
|
||||
return http({
|
||||
method: 'GET',
|
||||
url: '/material/ma_machine/getMaterialTypeList',
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
// OCR入库
|
||||
export const addMaMachineApi = (data) => {
|
||||
return http({
|
||||
|
|
|
|||
Loading…
Reference in New Issue