Browse Source

修改

master_hella_20240701
zhaoxuebing 5 months ago
parent
commit
f4dc921078
  1. 22
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts
  2. 25
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts

22
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

@ -62,6 +62,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '发布时间', label: '发布时间',
field: 'publishTime', field: 'publishTime',
formatter: dateFormatter, formatter: dateFormatter,
isTable: false,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
@ -83,7 +84,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '开始时间', label: '开始时间',
field: 'beginTime', field: 'beginTime',
isTable: true, isTable: false,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -106,7 +107,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '结束时间', label: '结束时间',
field: 'endTime', field: 'endTime',
isTable: true, isTable: false,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -229,6 +230,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch:true,
isTable:false, isTable:false,
isForm: false, isForm: false,
}, },
@ -249,6 +251,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch:true,
isTable:false, isTable:false,
isForm: false, isForm: false,
}, },
@ -259,6 +262,18 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch:true,
isTable:false,
isForm: false,
},
{
label: '物料代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
isSearch:true,
isTable:false, isTable:false,
isForm: false, isForm: false,
}, },
@ -315,7 +330,7 @@ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.PREDICT_TIME_TYPE, dictType: DICT_TYPE.PREDICT_TIME_TYPE,
sort: 'custom', sort: 'custom',
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
table: { table: {
width: 150 width: 150
}, },
@ -334,6 +349,7 @@ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable:false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {

25
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts

@ -58,6 +58,17 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '物料代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
isSearch:true,
isTable:false,
isForm: false,
},
{ {
label: '发布时间', label: '发布时间',
field: 'publishTime', field: 'publishTime',
@ -69,6 +80,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -88,6 +100,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -111,6 +124,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -124,7 +138,6 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isForm: false,
}, },
{ {
label: '业务类型', label: '业务类型',
@ -294,6 +307,14 @@ export const DemandforecastingMainRules = reactive({
* @returns {Array} * @returns {Array}
*/ */
export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '是否已读',
field: 'isRead',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '单据号', label: '单据号',
field: 'number', field: 'number',
@ -315,7 +336,7 @@ export const DemandforecastingDetail = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.PREDICT_TIME_TYPE, dictType: DICT_TYPE.PREDICT_TIME_TYPE,
sort: 'custom', sort: 'custom',
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
table: { table: {
width: 150 width: 150
}, },

Loading…
Cancel
Save