Browse Source

修改

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

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

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

Loading…
Cancel
Save