This commit is contained in:
2024-06-07 16:44:35 +08:00
parent d0240d5acc
commit c0596c121a
3 changed files with 21 additions and 9 deletions

View File

@@ -232,7 +232,7 @@
import ScanInput from '@/components/ScanInput.vue' import ScanInput from '@/components/ScanInput.vue'
import Pagination from '@/components/Pagination.vue' import Pagination from '@/components/Pagination.vue'
import GridDetail from '@/components/GridDetail.vue' import GridDetail from '@/components/GridDetail.vue'
import {getWarehouseInfo, getOrganizationInfo, getUserInfo, allocationPage, allocationBillPage, allocationBillUpdate, allocationBillConfirm, allocationBillInventoryInfo} from '@/utils/getData2.js' import {getWarehouseInfo, getOrganizationInfo, allocationPage, allocationBillPage, allocationBillUpdate, allocationBillConfirm, allocationBillInventoryInfo} from '@/utils/getData2.js'
export default { export default {
components: { components: {
NavBar, NavBar,

View File

@@ -268,10 +268,6 @@
let res = await getUserInfo() let res = await getUserInfo()
if (res.code === 1) { if (res.code === 1) {
this.range2 = [...res.result] this.range2 = [...res.result]
this.range2.map(e => {
this.$set(e, 'text', e.cgymc)
this.$set(e, 'value', e.cgybm)
})
} }
}, },
// 查询一级表格 // 查询一级表格

View File

@@ -60,10 +60,26 @@ export const easOutInBillDetailUpdate = (arr) => request({
data: arr data: arr
}) })
// 6.获取仓管员信息 ------ 下拉框带搜索功能 // 6.获取仓管员信息 ------ 下拉框带搜索功能
export const getUserInfo = () => request({ export const getUserInfo = () => {
url:'api/easOutInBill/getUserInfo', let res = {
data: {} result: [
}) {text: '钱舟峰', value: 'A110813006'},
{text: '李建辉', value: 'A240221002'},
{text: '胡敬红', value: 'A110307006'},
{text: '潘慧敏', value: 'A230805001'},
{text: '王华', value: 'A211218001'},
{text: '唐梦叶', value: 'A200601003'},
{text: '杨娟', value: 'A240409002'},
{text: '殷利红', value: 'A140306003'},
{text: '潘慧嘉', value: 'A230527001'},
{text: '伍长月', value: 'A140429007'},
{text: '魏旭', value: 'A210308006'}
],
code: 1,
desc: '查询成功'
}
return res
}
// 7.获取组织机构信息 ------ 下拉框带搜索功能 // 7.获取组织机构信息 ------ 下拉框带搜索功能
export const getOrganizationInfo = () => request({ export const getOrganizationInfo = () => request({
url:'api/easOutInBill/getOrganizationInfo', url:'api/easOutInBill/getOrganizationInfo',