10/29 禅道

feature-JimuReport-1106-yjl
张同海 4 weeks ago
parent 32e7d7401e
commit 9723f53594

@ -49,8 +49,13 @@ export const searchFormSchema: FormSchema[] = [
{
field: 'cntrno',
label: '箱号',
component: 'Input',
component: 'InputTextArea',
colProps: { span: 8 },
componentProps: {
validateOnRuleChange: false,
placeholder: '可输入多个箱号',
rows: 1,
},
},
{
field: 'ctnCode',

@ -38,7 +38,7 @@
let data = JSON.parse(Rdata.queryCondition)
data.forEach((item, index) => {
if (item.FieldName == 'cntrno') {
console.log(item)
item.FieldValue = item.FieldValue.replace(/ {1,}/g, ',')
item.ConditionalType = 15
}
})

@ -334,8 +334,13 @@ export const searchFormSchema: FormSchema[] = [
{
field: 'cntrno',
label: '箱号',
component: 'Input',
component: 'InputTextArea',
colProps: { span: 8 },
componentProps: {
validateOnRuleChange: false,
placeholder: '可输入多个箱号',
rows: 1,
},
},
{
field: 'portid',
@ -367,6 +372,7 @@ export const searchFormSchema: FormSchema[] = [
component: 'Input',
colProps: { span: 4 },
},
// {
// field: 'ctnSourceId',
// label: '箱来源',

@ -61,6 +61,7 @@
let CM_ctnSize: any = null
data.forEach((item, index) => {
if (item.FieldName == 'cntrno') {
item.FieldValue = item.FieldValue.replace(/ {1,}/g, ',')
item.ConditionalType = 15
}
if (item.FieldName == 'CM_ctnCode') {

@ -163,14 +163,15 @@ export const searchFormSchema: FormSchema[] = [
api: () => {
return new Promise((resolve) => {
getDictOption('CM_RentDirect').then((res) => {
let data: any = []
res.forEach((item) => {
item.value = parseInt(item.value)
if (!item.label.indexOf('租入')) {
data.push(item)
}
})
resolve(data)
// let data: any = []
// res.forEach((item) => {
// item.value = parseInt(item.value)
// if (!item.label.indexOf('租入')) {
// data.push(item)
// }
// })
// resolve(data)
resolve(res)
})
})
},
@ -184,27 +185,40 @@ export const searchFormSchema: FormSchema[] = [
},
},
{
field: 'etd',
label: 'ETD',
component: 'DatePicker',
colProps: { span: 4 },
defaultValue: '',
componentProps: {
showTime: true,
style: 'width:100%',
},
},
{
field: 'eta',
label: 'ETA',
component: 'DatePicker',
field: 'accdate',
label: '会计期间',
component: 'MonthPicker',
colProps: { span: 4 },
defaultValue: '',
// defaultValue: moment(),
componentProps: {
showTime: true,
style: 'width:100%',
allowClear: true,
valueFormat: 'YYYY-MM',
format: 'YYYY-MM',
},
},
// {
// field: 'etd',
// label: 'ETD',
// component: 'DatePicker',
// colProps: { span: 4 },
// defaultValue: '',
// componentProps: {
// showTime: true,
// style: 'width:100%',
// },
// },
// {
// field: 'eta',
// label: 'ETA',
// component: 'DatePicker',
// colProps: { span: 4 },
// defaultValue: '',
// componentProps: {
// showTime: true,
// style: 'width:100%',
// },
// },
]
export const formSchema: FormSchema[] = [
{

@ -166,21 +166,26 @@ export const searchFormSchema: FormSchema[] = [
{
field: 'cntrno',
label: '箱号',
component: 'Input',
component: 'InputTextArea',
colProps: { span: 8 },
},
{
field: 'changeTime',
label: '状态时间',
component: 'RangePicker',
required: false,
dynamicDisabled: false,
colProps: { span: 4 },
componentProps: {
allowClear: true,
validateOnRuleChange: false,
placeholder: '可输入多个箱号',
rows: 2,
},
},
// {
// field: 'changeTime',
// label: '状态时间',
// component: 'RangePicker',
// required: false,
// dynamicDisabled: false,
// colProps: { span: 4 },
// componentProps: {
// allowClear: true,
// },
// },
// {
// field: 'ctnBizState',
// label: '箱业务状态',
// component: 'ApiSelect',

@ -55,6 +55,7 @@
let data = JSON.parse(Rdata.queryCondition)
data.forEach((item, index) => {
if (item.FieldName == 'cntrno') {
item.FieldValue = item.FieldValue.replace(/ {1,}/g, ',')
item.ConditionalType = 15
}
})

Loading…
Cancel
Save