|
@ -1,21 +1,30 @@ |
|
|
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 WorkshopApi from '@/api/wms/workshop' |
|
|
import * as WorkshopApi from '@/api/wms/workshop' |
|
|
import { Workshop } from '@/views/wms/basicDataManage/factoryModeling/workshop/workshop.data' |
|
|
import { Workshop } from '@/views/wms/basicDataManage/factoryModeling/workshop/workshop.data' |
|
|
|
|
|
|
|
|
import * as ShiftApi from '@/api/wms/shift' |
|
|
import * as ShiftApi from '@/api/wms/shift' |
|
|
import { Shift } from '@/views/wms/basicDataManage/orderManage/shift/shift.data' |
|
|
import { Shift } from '@/views/wms/basicDataManage/orderManage/shift/shift.data' |
|
|
|
|
|
|
|
|
import * as TeamApi from '@/api/wms/team' |
|
|
import * as TeamApi from '@/api/wms/team' |
|
|
import { Team } from '@/views/wms/basicDataManage/orderManage/team/team.data' |
|
|
import { Team } from '@/views/wms/basicDataManage/orderManage/team/team.data' |
|
|
|
|
|
|
|
|
import * as WorkstationApi from '@/api/wms/workstation' |
|
|
import * as WorkstationApi from '@/api/wms/workstation' |
|
|
import { Workstation } from '@/views/wms/basicDataManage/factoryModeling/workstation/workstation.data' |
|
|
import { Workstation } from '@/views/wms/basicDataManage/factoryModeling/workstation/workstation.data' |
|
|
|
|
|
|
|
|
import * as ProcessApi from '@/api/wms/process' |
|
|
import * as ProcessApi from '@/api/wms/process' |
|
|
import { Process } from '@/views/wms/basicDataManage/factoryModeling/process/process.data' |
|
|
import { Process } from '@/views/wms/basicDataManage/factoryModeling/process/process.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 ProductionlineApi from '@/api/wms/productionline' |
|
|
|
|
|
import { Productionline } from '@/views/wms/basicDataManage/factoryModeling/productionline/productionline.data' |
|
|
|
|
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
const queryParams = { |
|
|
const queryParams = { |
|
|
pageSize:10, |
|
|
pageSize:10, |
|
@ -438,8 +447,25 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
tableForm:{ |
|
|
isForm: false |
|
|
isInpuFocusShow: true, |
|
|
|
|
|
searchListPlaceholder: '请选择生产线代码', |
|
|
|
|
|
searchField: 'code', |
|
|
|
|
|
searchTitle: '生产线信息', |
|
|
|
|
|
searchAllSchemas: Productionline.allSchemas, |
|
|
|
|
|
searchPage: ProductionlineApi.getProductionlinePage |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, |
|
|
|
|
|
searchListPlaceholder: '请选择生产线代码', |
|
|
|
|
|
searchField: 'code', |
|
|
|
|
|
searchTitle: '生产线信息', |
|
|
|
|
|
searchAllSchemas: Productionline.allSchemas, |
|
|
|
|
|
searchPage: ProductionlineApi.getProductionlinePage |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '工位代码', |
|
|
label: '工位代码', |
|
@ -522,6 +548,8 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '生产日期', |
|
|
label: '生产日期', |
|
@ -609,6 +637,10 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
min: 1, |
|
|
|
|
|
precision: 6 |
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
isForm: false |
|
|
isForm: false |
|
@ -670,10 +702,10 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
isSearchList: true, |
|
|
isSearchList: true, |
|
|
searchListPlaceholder: '请选择物品代码', |
|
|
searchListPlaceholder: '请选择物品代码', |
|
|
searchField: 'code', |
|
|
searchField: 'code', |
|
|
searchTitle: '物品基础信息信息', |
|
|
searchTitle: '物品基础信息信息', |
|
|
searchAllSchemas: Itembasic.allSchemas, |
|
|
searchAllSchemas: Itembasic.allSchemas, |
|
|
searchPage: ItembasicApi.getItembasicPage |
|
|
searchPage: ItembasicApi.getItembasicPage |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -846,9 +878,9 @@ export const ProductreceiptRequestDetailRules = reactive({ |
|
|
// packingNumber: [
|
|
|
// packingNumber: [
|
|
|
// { required: true, message: '请输入包装号', trigger: 'change' }
|
|
|
// { required: true, message: '请输入包装号', trigger: 'change' }
|
|
|
// ],
|
|
|
// ],
|
|
|
batch: [ |
|
|
// batch: [
|
|
|
{ required: true, message: '请输入批次', trigger: 'blur' } |
|
|
// { required: true, message: '请输入批次', trigger: 'blur' }
|
|
|
], |
|
|
// ],
|
|
|
// produceDate: [
|
|
|
// produceDate: [
|
|
|
// { required: true, message: '请选择生产日期', trigger: 'change' }
|
|
|
// { required: true, message: '请选择生产日期', trigger: 'change' }
|
|
|
// ],
|
|
|
// ],
|
|
|