Browse Source

修改

master_hella_20240701
zhaoxuebing 6 months ago
parent
commit
8ca6cbe52b
  1. 1
      src/views/wms/productionManage/processproduction/processproductionRequest/index.vue
  2. 75
      src/views/wms/productionManage/processproduction/processproductionRequest/processproductionRequestMain.data.ts

1
src/views/wms/productionManage/processproduction/processproductionRequest/index.vue

@ -180,7 +180,6 @@ const openForm = (type: string, row?: any) => {
basicFormRef.value.open(type, row)
}
const tableData = ref([])
// form
const formsSuccess = async (formType,data) => {

75
src/views/wms/productionManage/processproduction/processproductionRequest/processproductionRequestMain.data.ts

@ -15,33 +15,49 @@ export const ProcessproductionRequestMain = useCrudSchemas(reactive<CrudSchema[]
label: '单据号',
field: 'number',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '物料代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '完工数量',
field: 'completedQuantity',
sort: 'custom',
table: {
width: 150
},
},
{
label: '报废数量',
field: 'scrapQuantity',
sort: 'custom',
table: {
width: 150
},
},
{
label: '是否可用',
field: 'available',
sort: 'custom',
table: {
width: 150
},
},
{
label: '备注',
field: 'remark',
sort: 'custom',
isTable:false,
},
{
label: '创建时间',
@ -49,6 +65,7 @@ export const ProcessproductionRequestMain = useCrudSchemas(reactive<CrudSchema[]
sort: 'custom',
formatter: dateFormatter,
isForm: false,
isTable:false,
},
{
label: '删除时间',
@ -130,11 +147,13 @@ export const ProcessproductionRequestDetail = useCrudSchemas(reactive<CrudSchema
field: 'id',
sort: 'custom',
isForm: false,
isTable:false,
},
{
label: '主表ID',
field: 'masterId',
sort: 'custom',
isTable:false,
form: {
component: 'InputNumber',
value: 0
@ -145,37 +164,59 @@ export const ProcessproductionRequestDetail = useCrudSchemas(reactive<CrudSchema
field: 'number',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
hiddenInMain:true,
},
{
label: '工序',
field: 'processCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '生产线',
field: 'productionLine',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '子物料代码',
field: 'componentItemCode',
sort: 'custom',
isSearch: true,
isSearch: false,
table: {
width: 150
},
},
{
label: '批次',
field: 'batch',
sort: 'custom',
table: {
width: 150
},
},
{
label: '子物料数量',
field: 'componentItemcodeQty',
sort: 'custom',
table: {
width: 150
},
},
{
label: '生效日期',
@ -189,11 +230,18 @@ export const ProcessproductionRequestDetail = useCrudSchemas(reactive<CrudSchema
valueFormat: 'x'
}
},
table: {
width: 150
},
},
{
label: '是否可用',
field: 'available',
sort: 'custom',
isTable:false,
table: {
width: 150
},
},
{
label: '备注',
@ -206,13 +254,20 @@ export const ProcessproductionRequestDetail = useCrudSchemas(reactive<CrudSchema
sort: 'custom',
formatter: dateFormatter,
isForm: false,
table: {
width: 150
},
},
{
label: '删除时间',
field: 'deletionTime',
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
isSearch: false,
isTable:false,
table: {
width: 150
},
search: {
component: 'DatePicker',
componentProps: {
@ -233,19 +288,25 @@ export const ProcessproductionRequestDetail = useCrudSchemas(reactive<CrudSchema
label: '删除者ID',
field: 'deleterId',
sort: 'custom',
isSearch: true,
isSearch: false,
isTable:false,
table: {
width: 150
},
},
{
label: '扩展属性',
field: 'extraProperties',
sort: 'custom',
isSearch: true,
isSearch: false,
isTable:false,
},
{
label: '并发乐观锁',
field: 'concurrencyStamp',
sort: 'custom',
isSearch: true,
isSearch: false,
isTable:false,
form: {
component: 'InputNumber',
value: 0
@ -255,12 +316,14 @@ export const ProcessproductionRequestDetail = useCrudSchemas(reactive<CrudSchema
label: '地点ID',
field: 'siteId',
sort: 'custom',
isSearch: true,
isSearch: false,
isTable:false,
},
{
label: '操作',
field: 'action',
isForm: false,
hiddenInMain:true,
table: {
width: 150,
fixed: 'right'

Loading…
Cancel
Save