|
|
@ -2,8 +2,8 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
|
|
|
|
|
import * as ItembasicApi from '@/api/wms/itembasic' |
|
|
|
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' |
|
|
|
import * as BalanceApi from '@/api/wms/balance' |
|
|
|
import { Balance } from '@/views/wms/inventoryManage/balance/balance.data' |
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
@ -70,7 +70,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
field: 'number', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150, |
|
|
|
width: 180, |
|
|
|
fixed: 'left' |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
@ -222,7 +222,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isTable: false, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '最后更新者', |
|
|
@ -231,7 +231,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTable: false, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到仓库代码', |
|
|
@ -401,8 +401,9 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTableForm: false, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '器具号', |
|
|
@ -411,8 +412,9 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTableForm: false, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '批次', |
|
|
@ -421,8 +423,9 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isTableForm: false, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '库存状态', |
|
|
@ -435,7 +438,8 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
type: 'Select' |
|
|
|
type: 'Select', |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -465,6 +469,9 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '单据号', |
|
|
@ -491,20 +498,20 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
isInpuFocusShow: true, |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择物品代码', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '物品基础信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法
|
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '库存余额信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Balance.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: BalanceApi.getBalancePage // 查询弹窗所需分页方法
|
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择物品代码', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '物品基础信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法
|
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '库存余额信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Balance.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: BalanceApi.getBalancePage // 查询弹窗所需分页方法
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -619,7 +626,8 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
type: 'Select' |
|
|
|
type: 'Select', |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|