|
@ -4,7 +4,7 @@ import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
|
|
|
|
|
|
import * as BalanceApi from '@/api/wms/balance' |
|
|
import * as BalanceApi from '@/api/wms/balance' |
|
|
import { Balance } from '@/views/wms/inventoryManage/balance/balance.data' |
|
|
import { Balance } from '@/views/wms/inventoryManage/balance/balance.data' |
|
|
|
|
|
import * as getBusinessTypeApi from '@/api/wms/businesstype/index' |
|
|
import * as OwnerApi from '@/api/wms/owner' |
|
|
import * as OwnerApi from '@/api/wms/owner' |
|
|
import { Owner } from '@/views/wms/basicDataManage/orderManage/owner/owner.data' |
|
|
import { Owner } from '@/views/wms/basicDataManage/orderManage/owner/owner.data' |
|
|
|
|
|
|
|
@ -15,10 +15,16 @@ const queryParams = { |
|
|
pageSize:10, |
|
|
pageSize:10, |
|
|
pageNo:1, |
|
|
pageNo:1, |
|
|
code:'InventoryChangeRequest' |
|
|
code:'InventoryChangeRequest' |
|
|
|
|
|
} |
|
|
|
|
|
const businessTypeQueryParams = { |
|
|
|
|
|
pageSize:10, |
|
|
|
|
|
pageNo:1, |
|
|
|
|
|
code:'Change' |
|
|
} |
|
|
} |
|
|
const data = await getRequestsettingApi.getRequestsettingPage(queryParams) |
|
|
const data = await getRequestsettingApi.getRequestsettingPage(queryParams) |
|
|
const requestsettingData =data?.list[0]||{} |
|
|
const requestsettingData =data?.list[0]||{} |
|
|
|
|
|
const businessTypeValue = await getBusinessTypeApi.getBusinesstypePage(businessTypeQueryParams) |
|
|
|
|
|
const businessTypeData =businessTypeValue?.list[0]||{} |
|
|
// 获取当前操作人的部门
|
|
|
// 获取当前操作人的部门
|
|
|
import { useUserStore } from '@/store/modules/user' |
|
|
import { useUserStore } from '@/store/modules/user' |
|
|
import { TableColumn } from '@/types/table' |
|
|
import { TableColumn } from '@/types/table' |
|
@ -374,7 +380,11 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
searchField: 'packingNumber', |
|
|
searchField: 'packingNumber', |
|
|
searchTitle: '库存余额信息', |
|
|
searchTitle: '库存余额信息', |
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
searchPage: BalanceApi.getBalancePage |
|
|
searchPage: BalanceApi.getBalancePageByBusinessTypeByItemType, |
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'businessType', |
|
|
|
|
|
value: businessTypeData.code, |
|
|
|
|
|
}] |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
@ -384,7 +394,11 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
searchField: 'packingNumber', |
|
|
searchField: 'packingNumber', |
|
|
searchTitle: '库存余额信息', |
|
|
searchTitle: '库存余额信息', |
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
searchPage: BalanceApi.getBalancePage |
|
|
searchPage: BalanceApi.getBalancePageByBusinessTypeByItemType, |
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'businessType', |
|
|
|
|
|
value: businessTypeData.code, |
|
|
|
|
|
}] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -841,7 +855,7 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '是否冻结', |
|
|
label: '是否冻结', |
|
|
field: 'available', |
|
|
field: 'frozen', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|