Browse Source

Merge remote-tracking branch 'origin/master'

master
zhaoxuebing 11 months ago
parent
commit
5adc97ebcb
  1. 61
      src/api/wms/packagemergeDetail/index.ts
  2. 68
      src/api/wms/packagemergeMain/index.ts
  3. 61
      src/api/wms/packageoverDetail/index.ts
  4. 63
      src/api/wms/packageoverMain/index.ts
  5. 61
      src/api/wms/packagesplitDetail/index.ts
  6. 63
      src/api/wms/packagesplitMain/index.ts
  7. 1
      src/views/wms/countManage/countadjust/countadjustRequestMain/index.vue
  8. 157
      src/views/wms/inventoryjobManage/packageManage/packagemergeMain/index.vue
  9. 415
      src/views/wms/inventoryjobManage/packageManage/packagemergeMain/packagemergeMain.data.ts
  10. 157
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/index.vue
  11. 417
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverMain.data.ts
  12. 157
      src/views/wms/inventoryjobManage/packageManage/packagesplitMain/index.vue
  13. 417
      src/views/wms/inventoryjobManage/packageManage/packagesplitMain/packagesplitMain.data.ts
  14. 67
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  15. 15
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

61
src/api/wms/packagemergeDetail/index.ts

@ -0,0 +1,61 @@
import request from '@/config/axios'
export interface PackagemergeDetailVO {
id: number
locationCode: string
locationGroupCode: string
areaCode: string
fromPackingNumber: string
toPackingNumber: string
fromBatch: string
toBatch: string
fromInventoryStatus: string
toInventoryStatus: string
fromContainerNumber: string
toContainerNumber: string
fromOwnerCode: string
toOwnerCode: string
masterId: number
number: string
itemCode: string
remark: string
siteId: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
toQty: number
fromQty: number
uom: string
interfaceType: string
}
// 查询合包记录子列表
export const getPackagemergeDetailPage = async (params) => {
return await request.get({ url: '/wms/packagemerge-detail/page', params })
}
// 查询合包记录子详情
export const getPackagemergeDetail = async (id: number) => {
return await request.get({ url: '/wms/packagemerge-detail/get?id=' + id })
}
// 新增合包记录子
export const createPackagemergeDetail = async (data: PackagemergeDetailVO) => {
return await request.post({ url: '/wms/packagemerge-detail/create', data })
}
// 修改合包记录子
export const updatePackagemergeDetail = async (data: PackagemergeDetailVO) => {
return await request.put({ url: '/wms/packagemerge-detail/update', data })
}
// 删除合包记录子
export const deletePackagemergeDetail = async (id: number) => {
return await request.delete({ url: '/wms/packagemerge-detail/delete?id=' + id })
}
// 导出合包记录子 Excel
export const exportPackagemergeDetailApi = async (params) => {
return await request.download({ url: '/wms/packagemerge-detail/export-excel', params })
}

68
src/api/wms/packagemergeMain/index.ts

@ -0,0 +1,68 @@
import request from '@/config/axios'
export interface PackagemergeMainVO {
id: number
warehouseCode: string
details: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
available: string
requestTime: Date
dueTime: Date
departmentCode: string
userGroupCode: string
interfaceType: string
number: string
businessType: string
remark: string
extraProperties: string
siteId: string
}
// 查询合包记录主列表
export const getPackagemergeMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/packagemerge-main/senior', data })
} else {
return await request.get({ url: `/wms/packagemerge-main/page`, params })
}
}
// 查询合包记录主详情
export const getPackagemergeMain = async (id: number) => {
return await request.get({ url: `/wms/packagemerge-main/get?id=` + id })
}
// 新增合包记录主
export const createPackagemergeMain = async (data: PackagemergeMainVO) => {
return await request.post({ url: `/wms/packagemerge-main/create`, data })
}
// 修改合包记录主
export const updatePackagemergeMain = async (data: PackagemergeMainVO) => {
return await request.put({ url: `/wms/packagemerge-main/update`, data })
}
// 删除合包记录主
export const deletePackagemergeMain = async (id: number) => {
return await request.delete({ url: `/wms/packagemerge-main/delete?id=` + id })
}
// 导出合包记录主 Excel
export const exportPackagemergeMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/packagemerge-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/packagemerge-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/packagemerge-main/get-import-template' })
}

61
src/api/wms/packageoverDetail/index.ts

@ -0,0 +1,61 @@
import request from '@/config/axios'
export interface PackageoverDetailVO {
id: number
locationCode: string
locationGroupCode: string
areaCode: string
fromPackingNumber: string
toPackingNumber: string
fromBatch: string
toBatch: string
fromInventoryStatus: string
toInventoryStatus: string
fromContainerNumber: string
toContainerNumber: string
fromOwnerCode: string
toOwnerCode: string
masterId: number
number: string
itemCode: string
remark: string
siteId: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
toQty: number
fromQty: number
uom: string
interfaceType: string
}
// 查询翻包记录子列表
export const getPackageoverDetailPage = async (params) => {
return await request.get({ url: '/wms/packageover-detail/page', params })
}
// 查询翻包记录子详情
export const getPackageoverDetail = async (id: number) => {
return await request.get({ url: '/wms/packageover-detail/get?id=' + id })
}
// 新增翻包记录子
export const createPackageoverDetail = async (data: PackageoverDetailVO) => {
return await request.post({ url: '/wms/packageover-detail/create', data })
}
// 修改翻包记录子
export const updatePackageoverDetail = async (data: PackageoverDetailVO) => {
return await request.put({ url: '/wms/packageover-detail/update', data })
}
// 删除翻包记录子
export const deletePackageoverDetail = async (id: number) => {
return await request.delete({ url: '/wms/packageover-detail/delete?id=' + id })
}
// 导出翻包记录子 Excel
export const exportPackageoverDetailApi = async (params) => {
return await request.download({ url: '/wms/packageover-detail/export-excel', params })
}

63
src/api/wms/packageoverMain/index.ts

@ -0,0 +1,63 @@
import request from '@/config/axios'
export interface PackageoverMainVO {
id: number
warehouseCode: string
details: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
available: string
requestTime: Date
dueTime: Date
departmentCode: string
userGroupCode: string
interfaceType: string
number: string
businessType: string
remark: string
extraProperties: string
siteId: string
}
// 查询翻包记录主列表
export const getPackageoverMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/packageover-main/senior', data })
} else {
return await request.get({ url: `/wms/packageover-main/page`, params })
}
}
// 查询翻包记录主详情
export const getPackageoverMain = async (id: number) => {
return await request.get({ url: '/wms/packageover-main/get?id=' + id })
}
// 新增翻包记录主
export const createPackageoverMain = async (data: PackageoverMainVO) => {
return await request.post({ url: '/wms/packageover-main/create', data })
}
// 修改翻包记录主
export const updatePackageoverMain = async (data: PackageoverMainVO) => {
return await request.put({ url: '/wms/packageover-main/update', data })
}
// 删除翻包记录主
export const deletePackageoverMain = async (id: number) => {
return await request.delete({ url: '/wms/packageover-main/delete?id=' + id })
}
// 导出翻包记录主 Excel
export const exportPackageoverMainApi = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/packageover-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/packageover-main/export-excel`, params })
}
}

61
src/api/wms/packagesplitDetail/index.ts

@ -0,0 +1,61 @@
import request from '@/config/axios'
export interface PackagesplitDetailVO {
id: number
locationCode: string
locationGroupCode: string
areaCode: string
fromPackingNumber: string
toPackingNumber: string
fromBatch: string
toBatch: string
fromInventoryStatus: string
toInventoryStatus: string
fromContainerNumber: string
toContainerNumber: string
fromOwnerCode: string
toOwnerCode: string
masterId: number
number: string
itemCode: string
remark: string
siteId: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
toQty: number
fromQty: number
uom: string
interfaceType: string
}
// 查询拆包记录子列表
export const getPackagesplitDetailPage = async (params) => {
return await request.get({ url: '/wms/packagesplit-detail/page', params })
}
// 查询拆包记录子详情
export const getPackagesplitDetail = async (id: number) => {
return await request.get({ url: '/wms/packagesplit-detail/get?id=' + id })
}
// 新增拆包记录子
export const createPackagesplitDetail = async (data: PackagesplitDetailVO) => {
return await request.post({ url: '/wms/packagesplit-detail/create', data })
}
// 修改拆包记录子
export const updatePackagesplitDetail = async (data: PackagesplitDetailVO) => {
return await request.put({ url: '/wms/packagesplit-detail/update', data })
}
// 删除拆包记录子
export const deletePackagesplitDetail = async (id: number) => {
return await request.delete({ url: '/wms/packagesplit-detail/delete?id=' + id })
}
// 导出拆包记录子 Excel
export const exportPackagesplitDetailApi = async (params) => {
return await request.download({ url: '/wms/packagesplit-detail/export-excel', params })
}

63
src/api/wms/packagesplitMain/index.ts

@ -0,0 +1,63 @@
import request from '@/config/axios'
export interface PackagesplitMainVO {
id: number
warehouseCode: string
details: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
available: string
requestTime: Date
dueTime: Date
departmentCode: string
userGroupCode: string
interfaceType: string
number: string
businessType: string
remark: string
extraProperties: string
siteId: string
}
// 查询拆包记录主列表
export const getPackagesplitMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/packagesplit-main/senior', data })
} else {
return await request.get({ url: `/wms/packagesplit-main/page`, params })
}
}
// 查询拆包记录主详情
export const getPackagesplitMain = async (id: number) => {
return await request.get({ url: '/wms/packagesplit-main/get?id=' + id })
}
// 新增拆包记录主
export const createPackagesplitMain = async (data: PackagesplitMainVO) => {
return await request.post({ url: '/wms/packagesplit-main/create', data })
}
// 修改拆包记录主
export const updatePackagesplitMain = async (data: PackagesplitMainVO) => {
return await request.put({ url: '/wms/packagesplit-main/update', data })
}
// 删除拆包记录主
export const deletePackagesplitMain = async (id: number) => {
return await request.delete({ url: '/wms/packagesplit-main/delete?id=' + id })
}
// 导出拆包记录主 Excel
export const exportPackagesplitMainApi = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/packagesplit-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/packagesplit-main/export-excel`, params })
}
}

1
src/views/wms/countManage/countadjust/countadjustRequestMain/index.vue

@ -185,7 +185,6 @@ const butttondata = (row) => {
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:countadjust-request-main:refused'}), //
defaultButtons.mainListApproveBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:countadjust-request-main:agree'}), //
defaultButtons.mainListHandleBtn({hide:isShowMainButton(row,['3']),hasPermi:'wms:countadjust-request-main:handle'}), //
defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:countadjust-request-main:delete'}), //
]
}
// -

157
src/views/wms/inventoryjobManage/packageManage/packagemergeMain/index.vue

@ -0,0 +1,157 @@
<template>
<ContentWrap>
<!-- 搜索工作栏 -->
<Search :schema="PackagemergeMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" />
</ContentWrap>
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:routeName="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="PackagemergeMain.allSchemas"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
total: tableObject.total
}"
v-model:pageSize="tableObject.pageSize"
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #number="{row}">
<el-button type="primary" link @click="openDetail(row, '单据号', row.number)">
<span>{{ row.number }}</span>
</el-button>
</template>
<template #action="{ row }">
<ButtonBase :Butttondata="butttondata(row)" @button-base-click="buttonTableClick($event,row)" />
</template>
</Table>
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="formRef"
@success="getList"
:rules="PackagemergeMainRules"
:formAllSchemas="PackagemergeMain.allSchemas"
:tableAllSchemas="PackagemergeDetail.allSchemas"
:tableFormRules="PackagemergeDetailRules"
:isBusiness="true"
/>
<!-- 详情 -->
<Detail
ref="detailRef"
:isBasic="false"
:allSchemas="PackagemergeMain.allSchemas"
:detailAllSchemas="PackagemergeDetail.allSchemas"
:detailAllSchemasRules="PackagemergeDetailRules"
:apiPage="PackagemergeDetailApi.getPackagemergeDetailPage"
/>
</template>
<script setup lang="ts">
import download from '@/utils/download'
import { PackagemergeMain,PackagemergeMainRules, PackagemergeDetail, PackagemergeDetailRules } from './packagemergeMain.data'
import * as PackagemergeMainApi from '@/api/wms/packagemergeMain'
import * as PackagemergeDetailApi from '@/api/wms/packagemergeDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
//
defineOptions({ name: 'PackagemergeMain' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(PackagemergeMain.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: PackagemergeMainApi.getPackagemergeMainPage //
})
//
const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultExportBtn({hasPermi:'wms:packagemerge-main:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
]
//
const buttonBaseClick = (val, item) => {
if (val == 'export') { //
handleExport()
} else if (val == 'refresh') { //
getList()
} else if (val == 'filtrate') { //
} else { //
console.log('其他按钮', item)
}
}
// -
const butttondata = (row) => {
return []
}
// -
const buttonTableClick = async (val, row) => {
}
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue)
}
/** 导出按钮操作 */
const exportLoading = ref(false) //
const handleExport = async () => {
try {
//
await message.exportConfirm()
//
exportLoading.value = true
const data = await PackagemergeMainApi.exportPackagemergeMain(tableObject.params)
download.excel(data, '合包记录.xlsx')
} catch {
} finally {
exportLoading.value = false
}
}
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/
onMounted(async () => {
getList()
})
</script>

415
src/views/wms/inventoryjobManage/packageManage/packagemergeMain/packagemergeMain.data.ts

@ -0,0 +1,415 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime'
export const PackagemergeMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
isSearch: true,
table: {
width: 180
},
},
{
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom',
table: {
width: 120
},
},
{
label: '出库事务类型',
field: 'outTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '入库事务类型',
field: 'inTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '执行时间',
field: 'executeTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '生效日期',
field: 'activeDate',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '申请时间',
field: 'requestTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '截止时间',
field: 'dueTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '部门',
field: 'departmentCode',
sort: 'custom',
isTable:false
},
{
label: '用户组',
field: 'userGroupCode',
sort: 'custom',
isTable:false
},
{
label: '接口类型',
field: 'interfaceType',
sort: 'custom',
isTable:false
},
{
label: '业务类型',
field: 'businessType',
sort: 'custom',
isTable:false
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
isTable:false
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
}
]))
// 表单校验
export const PackagemergeMainRules = reactive({
})
export const PackagemergeDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 180
},
},
{
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位组代码',
field: 'locationGroupCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库区代码',
field: 'areaCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从包装号',
field: 'fromPackingNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到包装号',
field: 'toPackingNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从批次',
field: 'fromBatch',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到批次',
field: 'toBatch',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从库存状态',
field: 'fromInventoryStatus',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到库存状态',
field: 'toInventoryStatus',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从器具号',
field: 'fromContainerNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到器具号',
field: 'toContainerNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从货主代码',
field: 'fromOwnerCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到货主代码',
field: 'toOwnerCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品名称',
field: 'itemName',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品描述1',
field: 'itemDesc1',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品描述2',
field: 'itemDesc2',
sort: 'custom',
table: {
width: 150
},
},
{
label: '项目代码',
field: 'projectCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到数量',
field: 'toQty',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从数量',
field: 'fromQty',
sort: 'custom',
table: {
width: 150
},
},
{
label: '计量单位',
field: 'uom',
sort: 'custom',
table: {
width: 150
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
]))
// 表单校验
export const PackagemergeDetailRules = reactive({
})

157
src/views/wms/inventoryjobManage/packageManage/packageoverMain/index.vue

@ -0,0 +1,157 @@
<template>
<ContentWrap>
<!-- 搜索工作栏 -->
<Search :schema="PackageoverMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" />
</ContentWrap>
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:routeName="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="PackageoverMain.allSchemas"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
total: tableObject.total
}"
v-model:pageSize="tableObject.pageSize"
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #number="{row}">
<el-button type="primary" link @click="openDetail(row, '单据号', row.number)">
<span>{{ row.number }}</span>
</el-button>
</template>
<template #action="{ row }">
<ButtonBase :Butttondata="butttondata(row)" @button-base-click="buttonTableClick($event,row)" />
</template>
</Table>
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="formRef"
@success="getList"
:rules="PackageoverMainRules"
:formAllSchemas="PackageoverMain.allSchemas"
:tableAllSchemas="PackageoverDetail.allSchemas"
:tableFormRules="PackageoverDetailRules"
:isBusiness="true"
/>
<!-- 详情 -->
<Detail
ref="detailRef"
:isBasic="false"
:allSchemas="PackageoverMain.allSchemas"
:detailAllSchemas="PackageoverDetail.allSchemas"
:detailAllSchemasRules="PackageoverDetailRules"
:apiPage="PackageoverDetailApi.getPackageoverDetailPage"
/>
</template>
<script setup lang="ts">
import download from '@/utils/download'
import { PackageoverMain,PackageoverMainRules, PackageoverDetail, PackageoverDetailRules } from './packageoverMain.data'
import * as PackageoverMainApi from '@/api/wms/packageoverMain'
import * as PackageoverDetailApi from '@/api/wms/packageoverDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
//
defineOptions({ name: 'PackageoverMain' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(PackageoverMain.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: PackageoverMainApi.getPackageoverMainPage //
})
//
const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultExportBtn({hasPermi:'wms:packageover-main:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
]
//
const buttonBaseClick = (val, item) => {
if (val == 'export') { //
handleExport()
} else if (val == 'refresh') { //
getList()
} else if (val == 'filtrate') { //
} else { //
console.log('其他按钮', item)
}
}
// -
const butttondata = (row) => {
return []
}
// -
const buttonTableClick = async (val, row) => {
}
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue)
}
/** 导出按钮操作 */
const exportLoading = ref(false) //
const handleExport = async () => {
try {
//
await message.exportConfirm()
//
exportLoading.value = true
const data = await PackageoverMainApi.exportPackageoverMainApi(tableObject.params)
download.excel(data, '翻包记录.xlsx')
} catch {
} finally {
exportLoading.value = false
}
}
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/
onMounted(async () => {
getList()
})
</script>

417
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverMain.data.ts

@ -0,0 +1,417 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime'
export const PackageoverMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
isSearch: true,
table: {
width: 180
},
},
{
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom',
table: {
width: 120
},
},
{
label: '出库事务类型',
field: 'outTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '入库事务类型',
field: 'inTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '执行时间',
field: 'executeTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '生效日期',
field: 'activeDate',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '申请时间',
field: 'requestTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '截止时间',
field: 'dueTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '部门',
field: 'departmentCode',
sort: 'custom',
isTable:false
},
{
label: '用户组',
field: 'userGroupCode',
sort: 'custom',
isTable:false
},
{
label: '接口类型',
field: 'interfaceType',
sort: 'custom',
isTable:false
},
{
label: '业务类型',
field: 'businessType',
sort: 'custom',
isTable:false
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
isTable:false
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
}
]))
// 表单校验
export const PackageoverMainRules = reactive({
})
// 翻包子
export const PackageoverDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 180
},
},
{
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位组代码',
field: 'locationGroupCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库区代码',
field: 'areaCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从包装号',
field: 'fromPackingNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到包装号',
field: 'toPackingNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从批次',
field: 'fromBatch',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到批次',
field: 'toBatch',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从库存状态',
field: 'fromInventoryStatus',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到库存状态',
field: 'toInventoryStatus',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从器具号',
field: 'fromContainerNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到器具号',
field: 'toContainerNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从货主代码',
field: 'fromOwnerCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到货主代码',
field: 'toOwnerCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品名称',
field: 'itemName',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品描述1',
field: 'itemDesc1',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品描述2',
field: 'itemDesc2',
sort: 'custom',
table: {
width: 150
},
},
{
label: '项目代码',
field: 'projectCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到数量',
field: 'toQty',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从数量',
field: 'fromQty',
sort: 'custom',
table: {
width: 150
},
},
{
label: '计量单位',
field: 'uom',
sort: 'custom',
table: {
width: 150
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
]))
// 表单校验
export const PackageoverDetailRules = reactive({
})

157
src/views/wms/inventoryjobManage/packageManage/packagesplitMain/index.vue

@ -0,0 +1,157 @@
<template>
<ContentWrap>
<!-- 搜索工作栏 -->
<Search :schema="PackagesplitMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" />
</ContentWrap>
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:routeName="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="PackagesplitMain.allSchemas"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
total: tableObject.total
}"
v-model:pageSize="tableObject.pageSize"
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #number="{row}">
<el-button type="primary" link @click="openDetail(row, '单据号', row.number)">
<span>{{ row.number }}</span>
</el-button>
</template>
<template #action="{ row }">
<ButtonBase :Butttondata="butttondata(row)" @button-base-click="buttonTableClick($event,row)" />
</template>
</Table>
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="formRef"
@success="getList"
:rules="PackagesplitMainRules"
:formAllSchemas="PackagesplitMain.allSchemas"
:tableAllSchemas="PackagesplitDetail.allSchemas"
:tableFormRules="PackagesplitDetailRules"
:isBusiness="true"
/>
<!-- 详情 -->
<Detail
ref="detailRef"
:isBasic="false"
:allSchemas="PackagesplitMain.allSchemas"
:detailAllSchemas="PackagesplitDetail.allSchemas"
:detailAllSchemasRules="PackagesplitDetailRules"
:apiPage="PackagesplitDetailApi.getPackagesplitDetailPage"
/>
</template>
<script setup lang="ts" >
import download from '@/utils/download'
import { PackagesplitMain,PackagesplitMainRules, PackagesplitDetail, PackagesplitDetailRules } from './packagesplitMain.data'
import * as PackagesplitMainApi from '@/api/wms/packagesplitMain'
import * as PackagesplitDetailApi from '@/api/wms/packagesplitDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
//
defineOptions({ name: 'PackagesplitMain' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(PackagesplitMain.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: PackagesplitMainApi.getPackagesplitMainPage //
})
//
const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultExportBtn({hasPermi:'wms:packagesplit-main:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
]
//
const buttonBaseClick = (val, item) => {
if (val == 'export') { //
handleExport()
} else if (val == 'refresh') { //
getList()
} else if (val == 'filtrate') { //
} else { //
console.log('其他按钮', item)
}
}
// -
const butttondata = (row) => {
return []
}
// -
const buttonTableClick = async (val, row) => {
}
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue)
}
/** 导出按钮操作 */
const exportLoading = ref(false) //
const handleExport = async () => {
try {
//
await message.exportConfirm()
//
exportLoading.value = true
const data = await PackagesplitMainApi.exportPackagesplitMainApi(tableObject.params)
download.excel(data, '拆包记录.xlsx')
} catch {
} finally {
exportLoading.value = false
}
}
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/
onMounted(async () => {
getList()
})
</script>

417
src/views/wms/inventoryjobManage/packageManage/packagesplitMain/packagesplitMain.data.ts

@ -0,0 +1,417 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime'
export const PackagesplitMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
isSearch: true,
table: {
width: 180
},
},
{
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom',
table: {
width: 120
},
},
{
label: '出库事务类型',
field: 'outTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '入库事务类型',
field: 'inTransactionType',
sort: 'custom',
table: {
width: 150
},
},
{
label: '执行时间',
field: 'executeTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '生效日期',
field: 'activeDate',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '申请时间',
field: 'requestTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '截止时间',
field: 'dueTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
{
label: '部门',
field: 'departmentCode',
sort: 'custom',
isTable:false
},
{
label: '用户组',
field: 'userGroupCode',
sort: 'custom',
isTable:false
},
{
label: '接口类型',
field: 'interfaceType',
sort: 'custom',
isTable:false
},
{
label: '业务类型',
field: 'businessType',
sort: 'custom',
isTable:false
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
isTable:false
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
}
]))
// 表单校验
export const PackagesplitMainRules = reactive({
})
export const PackagesplitDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 180
},
},
{
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位组代码',
field: 'locationGroupCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库区代码',
field: 'areaCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从包装号',
field: 'fromPackingNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到包装号',
field: 'toPackingNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从批次',
field: 'fromBatch',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到批次',
field: 'toBatch',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从库存状态',
field: 'fromInventoryStatus',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到库存状态',
field: 'toInventoryStatus',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从器具号',
field: 'fromContainerNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到器具号',
field: 'toContainerNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从货主代码',
field: 'fromOwnerCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到货主代码',
field: 'toOwnerCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品名称',
field: 'itemName',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品描述1',
field: 'itemDesc1',
sort: 'custom',
table: {
width: 150
},
},
{
label: '物品描述2',
field: 'itemDesc2',
sort: 'custom',
table: {
width: 150
},
},
{
label: '项目代码',
field: 'projectCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '到数量',
field: 'toQty',
sort: 'custom',
table: {
width: 150
},
},
{
label: '从数量',
field: 'fromQty',
sort: 'custom',
table: {
width: 150
},
},
{
label: '计量单位',
field: 'uom',
sort: 'custom',
table: {
width: 150
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isForm: false
},
]))
// 表单校验
export const PackagesplitDetailRules = reactive({
})

67
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -81,23 +81,39 @@
row['itemCode'] = val[0]['code']
row['poNumber'] = val[0]['number']
row['poLine'] = val[0]['lineNumber']
await PurchaseDetailApi.getPurchaseDetailPage({
number: row['poNumber'],
available: 'TRUE',
// poLine: row['lineNumber'],
}).then(res => {
if (formField == 'poLine') {
row['itemCode'] = res.list[0].itemCode
row['uom'] = res.list[0].uom
row['orderQty'] = res.list[0].orderQty
row['planQty'] = res.list[0].orderQty-res.list[0].plannedQty
row['available'] = res.list[0].available
}
})
row['itemCode'] = val[0]['itemCode']
row['uom'] = val[0]['uom']
row['orderQty'] = val[0]['orderQty']
row['planQty'] = val[0]['orderQty']-val[0]['plannedQty']
row['available'] = val[0]['available']
}
// await PurchaseDetailApi.getPurchaseDetailPage({
// number: row['poNumber'],
// available: 'TRUE',
// // poLine: row['lineNumber'],
// }).then(res => {
// if (formField == 'poLine') {
// row['itemCode'] = res.list[0].itemCode
// row['uom'] = res.list[0].uom
// row['orderQty'] = res.list[0].orderQty
// row['planQty'] = res.list[0].orderQty-res.list[0].plannedQty
// row['available'] = res.list[0].available
// }
// })
} else {
const setV = {}
setV[formField] = val[0][searchField]
setV['itemCode'] = val[0]['code']
setV['poNumber'] = val[0]['number']
setV['poLine'] = val[0]['lineNumber']
if (formField == 'poLine') {
setV['itemCode'] = val[0]['itemCode']
setV['uom'] = val[0]['uom']
setV['orderQty'] = val[0]['orderQty']
setV['planQty'] = val[0]['orderQty']-val[0]['plannedQty']
setV['available'] = val[0]['available']
}
formRef.setValues(setV)
}
})
@ -109,16 +125,23 @@
setV[formField] = val[0][searchField]
setV['poNumber'] = val[0]['number']
setV['poLine'] = val[0]['lineNumber']
if (formField == 'poLine') {
setV['itemCode'] = val[0]['itemCode']
setV['uom'] = val[0]['uom']
setV['orderQty'] = val[0]['orderQty']
setV['planQty'] = val[0]['orderQty']-val[0]['plannedQty']
setV['available'] = val[0]['available']
}
// await PurchaseDetailApi.getPurchaseDetailPage({
// number: setV['poNumber'],
// lineNumber: setV['poLine'],
// }).then(res => {
// if (res.list.length == 1) {
// //
// setV['itemCode'] = res.list[0].itemCode
// }
// })
formRef.setValues(setV)
await PurchaseDetailApi.getPurchaseDetailPage({
number: setV['poNumber'],
lineNumber: setV['poLine'],
}).then(res => {
if (res.list.length == 1) {
//
setV['itemCode'] = res.list[0].itemCode
}
})
})
}

15
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -314,6 +314,15 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchTitle: '采购订单信息',
searchAllSchemas: PurchaseDetail.allSchemas,
searchPage: PurchaseDetailApi.getPurchaseDetailPage,
searchCondition: [{
key: 'number',
value: 'poNumber',
isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
},
tableForm: {
@ -323,10 +332,14 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchTitle: '采购订单信息',
searchAllSchemas: PurchaseDetail.allSchemas,
searchPage: PurchaseDetailApi.getPurchaseDetailPage,
searchCondition: [ {
searchCondition: [{
key: 'number',
value: 'poNumber',
isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
},

Loading…
Cancel
Save