|
@ -1,8 +1,22 @@ |
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
import * as getRequestsettingApi from '@/api/wms/requestsetting/index' |
|
|
|
|
|
|
|
|
|
|
|
import * as DeliverRecordMainApi from '@/api/wms/deliverRecordMain' |
|
|
|
|
|
import { DeliverRecordMain } from '../../deliver/deliverRecordMain/deliverRecordMain.data' |
|
|
|
|
|
|
|
|
|
|
|
import * as SaleMainApi from '@/api/wms/saleMain' |
|
|
|
|
|
import * as SaleDetailApi from '@/api/wms/saleDetail' |
|
|
|
|
|
import { SaleDetail, SaleMain } from '../../deliverplan/saleMain/saleMain.data' |
|
|
|
|
|
|
|
|
|
|
|
import * as BalanceApi from '@/api/wms/balance' |
|
|
|
|
|
import { Balance } from '@/views/wms/inventoryManage/balance/balance.data' |
|
|
|
|
|
|
|
|
|
|
|
import * as LocationApi from '@/api/wms/location' |
|
|
|
|
|
import { Location } from '@/views/wms/basicDataManage/factoryModeling/location/location.data' |
|
|
|
|
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
const queryParams = { |
|
|
const queryParams = { |
|
|
pageSize:10, |
|
|
pageSize:10, |
|
@ -21,15 +35,6 @@ const userDept = userStore.userSelfInfo.dept |
|
|
* @returns {Array} 客户退货申请主表 |
|
|
* @returns {Array} 客户退货申请主表 |
|
|
*/ |
|
|
*/ |
|
|
export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
|
|
|
label: '申请单号', |
|
|
|
|
|
field: 'requestNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '发货记录单号', |
|
|
label: '发货记录单号', |
|
|
field: 'deliverRecordNumber', |
|
|
field: 'deliverRecordNumber', |
|
@ -37,6 +42,17 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择发货记录单号', // 输入框占位文本
|
|
|
|
|
|
searchField: 'number', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '发货记录信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: DeliverRecordMain.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: DeliverRecordMainApi.getDeliverRecordMainPage // 查询弹窗所需分页方法
|
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '发货计划单号', |
|
|
label: '发货计划单号', |
|
@ -94,6 +110,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到仓库代码', |
|
|
label: '到仓库代码', |
|
@ -102,6 +119,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到月台代码', |
|
|
label: '到月台代码', |
|
@ -110,6 +128,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库位类型范围', |
|
|
label: '从库位类型范围', |
|
@ -121,6 +140,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到库位类型范围', |
|
|
label: '到库位类型范围', |
|
@ -132,6 +152,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库区代码范围', |
|
|
label: '从库区代码范围', |
|
@ -140,6 +161,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到库区代码范围', |
|
|
label: '到库区代码范围', |
|
@ -148,6 +170,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '单据号', |
|
|
label: '单据号', |
|
@ -172,7 +195,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
disabled: true |
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '备注', |
|
|
label: '备注', |
|
@ -197,6 +221,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
style: {width:'100%'}, |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
@ -227,11 +252,13 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
style: {width:'100%'}, |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '截止时间', |
|
|
label: '截止时间', |
|
@ -247,6 +274,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
style: {width:'100%'}, |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
@ -299,6 +327,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
style: {width:'100%'}, |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
@ -409,33 +438,30 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
|
|
|
//表单校验
|
|
|
//表单校验
|
|
|
export const CustomerreturnRequestMainRules = reactive({ |
|
|
export const CustomerreturnRequestMainRules = reactive({ |
|
|
requestNumber: [ |
|
|
// customerCode: [
|
|
|
{ required: true, message: '请选择申请单号', trigger: 'change' } |
|
|
// { required: true, message: '请选择客户代码', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
customerCode: [ |
|
|
// customerDockCode: [
|
|
|
{ required: true, message: '请选择客户代码', trigger: 'change' } |
|
|
// { required: true, message: '请选择客户月台代码', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
customerDockCode: [ |
|
|
// fromWarehouseCode: [
|
|
|
{ required: true, message: '请选择客户月台代码', trigger: 'change' } |
|
|
// { required: true, message: '请选择从仓库代码', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
fromWarehouseCode: [ |
|
|
// fromLocationTypes: [
|
|
|
{ required: true, message: '请选择从仓库代码', trigger: 'change' } |
|
|
// { required: true, message: '请选择从库位类型范围', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
fromLocationTypes: [ |
|
|
// fromAreaCodes: [
|
|
|
{ required: true, message: '请选择从库位类型范围', trigger: 'change' } |
|
|
// { required: true, message: '请选择从库区代码范围', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
fromAreaCodes: [ |
|
|
// toWarehouseCode: [
|
|
|
{ required: true, message: '请选择从库区代码范围', trigger: 'change' } |
|
|
// { required: true, message: '请选择到仓库代码', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
toWarehouseCode: [ |
|
|
// toLocationTypes: [
|
|
|
{ required: true, message: '请选择到仓库代码', trigger: 'change' } |
|
|
// { required: true, message: '请选择到库位类型范围', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
toLocationTypes: [ |
|
|
// toAreaCodes: [
|
|
|
{ required: true, message: '请选择到库位类型范围', trigger: 'change' } |
|
|
// { required: true, message: '请选择到库区代码范围', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
toAreaCodes: [ |
|
|
|
|
|
{ required: true, message: '请选择到库区代码范围', trigger: 'change' } |
|
|
|
|
|
], |
|
|
|
|
|
departmentCode: [ |
|
|
departmentCode: [ |
|
|
{ required: true, message: '请输入部门', trigger: 'blur' } |
|
|
{ required: true, message: '请输入部门', trigger: 'blur' } |
|
|
], |
|
|
], |
|
@ -451,9 +477,9 @@ export const CustomerreturnRequestMainRules = reactive({ |
|
|
directCreateRecord: [ |
|
|
directCreateRecord: [ |
|
|
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } |
|
|
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } |
|
|
], |
|
|
], |
|
|
businessType: [ |
|
|
// businessType: [
|
|
|
{ required: true, message: '请输入业务类型', trigger: 'blur' } |
|
|
// { required: true, message: '请输入业务类型', trigger: 'blur' }
|
|
|
], |
|
|
// ],
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -467,6 +493,25 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择销售订单号', |
|
|
|
|
|
searchField: 'number', |
|
|
|
|
|
searchTitle: '销售订单信息', |
|
|
|
|
|
searchAllSchemas: SaleMain.allSchemas, |
|
|
|
|
|
searchPage: SaleMainApi.getSaleMainPage |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, |
|
|
|
|
|
searchListPlaceholder: '请选择销售订单号', |
|
|
|
|
|
searchField: 'number', |
|
|
|
|
|
searchTitle: '销售订单信息', |
|
|
|
|
|
searchAllSchemas: SaleMain.allSchemas, |
|
|
|
|
|
searchPage: SaleMainApi.getSaleMainPage |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '销售订单行', |
|
|
label: '销售订单行', |
|
@ -475,6 +520,25 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择销售订单行', |
|
|
|
|
|
searchField: 'lineNumber', |
|
|
|
|
|
searchTitle: '销售订单信息', |
|
|
|
|
|
searchAllSchemas: SaleDetail.allSchemas, |
|
|
|
|
|
searchPage: SaleDetailApi.getSaleDetailPage |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, |
|
|
|
|
|
searchListPlaceholder: '请选择销售订单行', |
|
|
|
|
|
searchField: 'lineNumber', |
|
|
|
|
|
searchTitle: '销售订单信息', |
|
|
|
|
|
searchAllSchemas: SaleDetail.allSchemas, |
|
|
|
|
|
searchPage: SaleDetailApi.getSaleDetailPage |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '包装号', |
|
|
label: '包装号', |
|
@ -483,6 +547,25 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
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: '器具号', |
|
|
label: '器具号', |
|
@ -491,6 +574,14 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '批次', |
|
|
label: '批次', |
|
@ -499,6 +590,14 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '库存状态', |
|
|
label: '库存状态', |
|
@ -510,6 +609,15 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
type: 'Select' |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库位代码', |
|
|
label: '从库位代码', |
|
@ -518,6 +626,14 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到库位代码', |
|
|
label: '到库位代码', |
|
@ -526,6 +642,25 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择到库位代码', |
|
|
|
|
|
searchField: 'code', |
|
|
|
|
|
searchTitle: '库存余额信息', |
|
|
|
|
|
searchAllSchemas: Location.allSchemas, |
|
|
|
|
|
searchPage: LocationApi.getLocationPage |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, |
|
|
|
|
|
searchListPlaceholder: '请选择到库位代码', |
|
|
|
|
|
searchField: 'code', |
|
|
|
|
|
searchTitle: '库存余额信息', |
|
|
|
|
|
searchAllSchemas: Location.allSchemas, |
|
|
|
|
|
searchPage: LocationApi.getLocationPage |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '单据号', |
|
|
label: '单据号', |
|
@ -548,6 +683,14 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '备注', |
|
|
label: '备注', |
|
@ -556,6 +699,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '创建时间', |
|
|
label: '创建时间', |
|
@ -571,6 +715,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
style: {width:'100%'}, |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
@ -596,6 +741,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '物品描述1', |
|
|
label: '物品描述1', |
|
@ -604,6 +751,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '物品描述2', |
|
|
label: '物品描述2', |
|
@ -612,6 +761,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '项目代码', |
|
|
label: '项目代码', |
|
@ -620,6 +771,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '数量', |
|
|
label: '数量', |
|
@ -630,6 +783,15 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
min: 1, |
|
|
|
|
|
precision: 6 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'InputNumber', |
|
|
|
|
|
min: 1, |
|
|
|
|
|
precision: 6 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -642,6 +804,9 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'Select' |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从货主代码', |
|
|
label: '从货主代码', |
|
@ -650,6 +815,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到货主代码', |
|
|
label: '到货主代码', |
|
@ -658,6 +825,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '最后更新时间', |
|
|
label: '最后更新时间', |
|
@ -673,6 +842,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
style: {width:'100%'}, |
|
|
type: 'datetime', |
|
|
type: 'datetime', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
valueFormat: 'x', |
|
|
valueFormat: 'x', |
|
@ -709,18 +879,18 @@ export const CustomerreturnRequestDetailRules = reactive({ |
|
|
soNumber: [ |
|
|
soNumber: [ |
|
|
{ required: true, message: '请选择销售订单号', trigger: 'change' } |
|
|
{ required: true, message: '请选择销售订单号', trigger: 'change' } |
|
|
], |
|
|
], |
|
|
packingNumber: [ |
|
|
// packingNumber: [
|
|
|
{ required: true, message: '请选择包装号', trigger: 'change' } |
|
|
// { required: true, message: '请选择包装号', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
batch: [ |
|
|
// batch: [
|
|
|
{ required: true, message: '请输入批次', trigger: 'blur' } |
|
|
// { required: true, message: '请输入批次', trigger: 'blur' }
|
|
|
], |
|
|
// ],
|
|
|
inventoryStatus: [ |
|
|
// inventoryStatus: [
|
|
|
{ required: true, message: '请选择库存状态', trigger: 'change' } |
|
|
// { required: true, message: '请选择库存状态', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
fromLocationCode: [ |
|
|
// fromLocationCode: [
|
|
|
{ required: true, message: '请选择从库位代码', trigger: 'change' } |
|
|
// { required: true, message: '请选择从库位代码', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
itemCode: [ |
|
|
itemCode: [ |
|
|
{ required: true, message: '请选择物品代码', trigger: 'change' } |
|
|
{ required: true, message: '请选择物品代码', trigger: 'change' } |
|
|
], |
|
|
], |
|
|