Browse Source

Merge branch 'hella_online_20240803' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into hella_online_20240803

hella_online_20240823
songguoqiang 3 months ago
parent
commit
9113d31d32
  1. 34
      src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts
  2. 2
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts
  3. 2
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts
  4. 3
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
  5. 2
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

34
src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts

@ -126,7 +126,7 @@ export const ContainerRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isSearch: true, isSearch: false,
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -135,7 +135,7 @@ export const ContainerRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
isTable: true, isTable: false,
isForm: false, isForm: false,
}, },
{ {
@ -145,7 +145,7 @@ export const ContainerRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 130 width: 130
}, },
isForm: false, isForm: false,
isTable: true isTable: false
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
@ -274,6 +274,20 @@ export const ContainerRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -282,9 +296,19 @@ export const ContainerRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
isTable: false, isTable: true,
isForm: false,
isTableForm: false,
isSearch: true,
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false, isForm: false,
isTableForm: false isTable: true
}, },
{ {
label: '地点ID', label: '地点ID',

2
src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts

@ -354,7 +354,7 @@ export const ScrapJobMain = useCrudSchemas(
} }
}, },
{ {
label: '备注', label: '通知单描述',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {

2
src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts

@ -357,7 +357,7 @@ export const ScrapRecordMain = useCrudSchemas(
} }
}, },
{ {
label: '备注', label: '通知单描述',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
table: { table: {

3
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue

@ -190,6 +190,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
console.log("报废出库主表") console.log("报废出库主表")
const setV = {} const setV = {}
if (formField == 'q1Number') { if (formField == 'q1Number') {
setV['remark'] = val[0]['desc']
ScrapRequestMain.allSchemas.formSchema.forEach((item) => { ScrapRequestMain.allSchemas.formSchema.forEach((item) => {
if (item.field == 'q2Number' || item.field == 'q3Number') { if (item.field == 'q2Number' || item.field == 'q3Number') {
item.componentProps.enterSearch = false item.componentProps.enterSearch = false
@ -199,6 +200,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
}) })
} }
if (formField == 'q2Number') { if (formField == 'q2Number') {
setV['remark'] = val[0]['desc']
ScrapRequestMain.allSchemas.formSchema.forEach((item) => { ScrapRequestMain.allSchemas.formSchema.forEach((item) => {
if (item.field == 'q1Number' || item.field == 'q3Number') { if (item.field == 'q1Number' || item.field == 'q3Number') {
item.componentProps.enterSearch = false item.componentProps.enterSearch = false
@ -208,6 +210,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
}) })
} }
if (formField == 'q3Number') { if (formField == 'q3Number') {
setV['remark'] = val[0]['desc']
ScrapRequestMain.allSchemas.formSchema.forEach((item) => { ScrapRequestMain.allSchemas.formSchema.forEach((item) => {
if (item.field == 'q1Number' || item.field == 'q2Number') { if (item.field == 'q1Number' || item.field == 'q2Number') {
item.componentProps.enterSearch = false item.componentProps.enterSearch = false

2
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -617,7 +617,7 @@ export const ScrapRequestMain = useCrudSchemas(
} }
}, },
{ {
label: '备注', label: '通知单描述',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
isTable: false, isTable: false,

Loading…
Cancel
Save