|
@ -8,6 +8,9 @@ import { Balance } from '@/views/wms/inventoryManage/balance/balance.data' |
|
|
import * as ItembasicApi from '@/api/wms/itembasic' |
|
|
import * as ItembasicApi from '@/api/wms/itembasic' |
|
|
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' |
|
|
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' |
|
|
|
|
|
|
|
|
|
|
|
import * as OwnerApi from '@/api/wms/owner' |
|
|
|
|
|
import { Owner } from '@/views/wms/basicDataManage/orderManage/owner/owner.data' |
|
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
@ -341,6 +344,43 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '从包装号', |
|
|
|
|
|
field: 'fromPackingNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择从包装号', |
|
|
|
|
|
searchField: 'packingNumber', |
|
|
|
|
|
searchTitle: '库存余额信息', |
|
|
|
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
|
|
|
searchPage: BalanceApi.getBalancePage |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择从包装号', |
|
|
|
|
|
searchField: 'packingNumber', |
|
|
|
|
|
searchTitle: '库存余额信息', |
|
|
|
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
|
|
|
searchPage: BalanceApi.getBalancePage |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '到包装号', |
|
|
|
|
|
field: 'toPackingNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '物品代码', |
|
|
label: '物品代码', |
|
|
field: 'itemCode', |
|
|
field: 'itemCode', |
|
@ -350,6 +390,11 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
disabled: true |
|
|
disabled: true |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -391,54 +436,20 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
disabled: true |
|
|
disabled: true |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '到批次', |
|
|
|
|
|
field: 'toBatch', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '从包装号', |
|
|
|
|
|
field: 'fromPackingNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择从包装号', |
|
|
|
|
|
searchField: 'packingNumber', |
|
|
|
|
|
searchTitle: '库存余额信息', |
|
|
|
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
|
|
|
searchPage: BalanceApi.getBalancePage |
|
|
|
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
disabled: true |
|
|
searchListPlaceholder: '请选择从包装号', |
|
|
|
|
|
searchField: 'packingNumber', |
|
|
|
|
|
searchTitle: '库存余额信息', |
|
|
|
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
|
|
|
searchPage: BalanceApi.getBalancePage |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到包装号', |
|
|
label: '到批次', |
|
|
field: 'toPackingNumber', |
|
|
field: 'toBatch', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从器具号', |
|
|
label: '从器具号', |
|
@ -460,28 +471,6 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '数量', |
|
|
|
|
|
field: 'qty', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'InputNumber', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
min: 1, |
|
|
|
|
|
precision: 6 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'InputNumber', |
|
|
|
|
|
min: 1, |
|
|
|
|
|
precision: 6 |
|
|
|
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '从数量', |
|
|
label: '从数量', |
|
|
field: 'fromQty', |
|
|
field: 'fromQty', |
|
@ -492,17 +481,15 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
min: 1, |
|
|
precision: 6, |
|
|
precision: 6 |
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'InputNumber', |
|
|
type: 'InputNumber', |
|
|
min: 1, |
|
|
precision: 6, |
|
|
precision: 6 |
|
|
disabled: true |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到数量', |
|
|
label: '到数量', |
|
@ -514,17 +501,13 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
min: 1, |
|
|
|
|
|
precision: 6 |
|
|
precision: 6 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'InputNumber', |
|
|
type: 'InputNumber', |
|
|
min: 1, |
|
|
|
|
|
precision: 6 |
|
|
precision: 6 |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '计量单位', |
|
|
label: '计量单位', |
|
@ -537,9 +520,14 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'Select' |
|
|
type: 'Select', |
|
|
|
|
|
disabled: true |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '库位代码', |
|
|
label: '库位代码', |
|
@ -550,6 +538,11 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
disabled: true |
|
|
disabled: true |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -566,8 +559,11 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
type: 'Select', |
|
|
type: 'Select', |
|
|
disabled: true |
|
|
disabled: true |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
form: { |
|
|
isForm: false, |
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到库存状态', |
|
|
label: '到库存状态', |
|
@ -582,6 +578,10 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'Select' |
|
|
type: 'Select' |
|
|
}, |
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '库位组代码', |
|
|
label: '库位组代码', |
|
@ -610,8 +610,41 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
form: { |
|
|
isForm: false, |
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '到货主代码', |
|
|
|
|
|
field: 'toOwnerCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择货主代码', |
|
|
|
|
|
searchField: 'code', |
|
|
|
|
|
searchTitle: '货主信息', |
|
|
|
|
|
searchAllSchemas: Owner.allSchemas, |
|
|
|
|
|
searchPage: OwnerApi.getOwnerPage |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择货主代码', |
|
|
|
|
|
searchField: 'code', |
|
|
|
|
|
searchTitle: '货主信息', |
|
|
|
|
|
searchAllSchemas: Owner.allSchemas, |
|
|
|
|
|
searchPage: OwnerApi.getOwnerPage |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从替代批次', |
|
|
label: '从替代批次', |
|
@ -687,34 +720,19 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
|
|
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
tableForm: { |
|
|
isForm: false, |
|
|
type: 'FormDateTime', |
|
|
}, |
|
|
format: 'YYYY-MM-DD HH:mm:ss', |
|
|
{ |
|
|
valueFormat: 'x', |
|
|
label: '到货主代码', |
|
|
disabled: true |
|
|
field: 'toOwnerCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '到替代批次', |
|
|
|
|
|
field: 'toAltBatch', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到到货日期', |
|
|
label: '到过期日期', |
|
|
field: 'toArrivdAte', |
|
|
field: 'toExpireDate', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
@ -732,12 +750,25 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'FormDateTime', |
|
|
|
|
|
format: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
valueFormat: 'x', |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '到替代批次', |
|
|
|
|
|
field: 'toAltBatch', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到生产日期', |
|
|
label: '到到货日期', |
|
|
field: 'toProduceDate', |
|
|
field: 'toArrivdAte', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
@ -759,8 +790,8 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到过期日期', |
|
|
label: '到生产日期', |
|
|
field: 'toExpireDate', |
|
|
field: 'toProduceDate', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|