lijingjia 2 months ago
commit 48203ef087

@ -163,6 +163,9 @@
auto_focus: true, auto_focus: true,
skin: skinName.value, skin: skinName.value,
skin_url: publicPath + 'resource/tinymce/skins/ui/' + skinName.value, skin_url: publicPath + 'resource/tinymce/skins/ui/' + skinName.value,
font_formats:
'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats;微软雅黑=Microsoft YaHei,sans-serif;黑体=SimHei,sans-serif;新宋体=NSimSun,sans-serif;仿宋=FangSong,sans-serif;仿宋_GB2312=FangSong_GB2312,sans-serif;微软正黑体=Microsoft JhengHei,sans-serif;隶书=LiSu,sans-serif;新宋体-宋体=NSimSun-SimSun,sans-serif',
content_css: content_css:
publicPath + 'resource/tinymce/skins/ui/' + skinName.value + '/content.min.css', publicPath + 'resource/tinymce/skins/ui/' + skinName.value + '/content.min.css',
...options, ...options,

@ -189,12 +189,6 @@ export const formSearchBoxSchema: FormSchema[] = [
} }
}, },
}, },
{
field: 'cntrno',
label: '箱号',
component: 'Input',
colProps: { span: 6 },
},
{ {
field: 'ctnreleaseno', field: 'ctnreleaseno',
label: '放箱单号', label: '放箱单号',
@ -205,6 +199,13 @@ export const formSearchBoxSchema: FormSchema[] = [
field: 'remark', field: 'remark',
label: '备注', label: '备注',
component: 'Input', component: 'Input',
colProps: { span: 6 }, colProps: { span: 12 },
},
{
field: 'cntrno',
label: '箱号',
component: 'Input',
placeholder: '可以逗号隔开,查询多个箱号。',
colProps: { span: 18 },
}, },
] ]

@ -755,6 +755,15 @@ export const formSchema: FormSchema[] = [
component: 'InputNumber', component: 'InputNumber',
colProps: { span: 6 }, colProps: { span: 6 },
}, },
{
field: 'remark',
label: '备注',
component: 'InputTextArea',
colProps: { span: 18 },
componentProps: {
rows: 2,
},
},
] ]
export const InfoColumns: BasicColumn[] = [ export const InfoColumns: BasicColumn[] = [

@ -491,7 +491,7 @@ export const formSearchBoxSchema: FormSchema[] = [
component: 'ApiSelect', component: 'ApiSelect',
required: false, required: false,
dynamicDisabled: false, dynamicDisabled: false,
colProps: { span: 4 }, colProps: { span: 6 },
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
allowClear: true, allowClear: true,
@ -515,7 +515,7 @@ export const formSearchBoxSchema: FormSchema[] = [
component: 'ApiSelect', component: 'ApiSelect',
required: false, required: false,
dynamicDisabled: false, dynamicDisabled: false,
colProps: { span: 4 }, colProps: { span: 6 },
componentProps: () => { componentProps: () => {
return { return {
allowClear: true, allowClear: true,
@ -533,22 +533,23 @@ export const formSearchBoxSchema: FormSchema[] = [
} }
}, },
}, },
{
field: 'cntrno',
label: '箱号',
component: 'Input',
colProps: { span: 8 },
},
{ {
field: 'ctnreleaseno', field: 'ctnreleaseno',
label: '放箱单号', label: '放箱单号',
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 6 },
}, },
{ {
field: 'remark', field: 'remark',
label: '备注', label: '备注',
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 6 },
},
{
field: 'cntrno',
label: '箱号',
component: 'Input',
placeholder: '可以逗号隔开,查询多个箱号。',
colProps: { span: 18 },
}, },
] ]

@ -499,7 +499,7 @@ export const formSearchBoxSchema: FormSchema[] = [
component: 'ApiSelect', component: 'ApiSelect',
required: false, required: false,
dynamicDisabled: false, dynamicDisabled: false,
colProps: { span: 4 }, colProps: { span: 6 },
// api: GetClientListByCode({ code: 'leasing' }), // api: GetClientListByCode({ code: 'leasing' }),
componentProps: ({ formModel }) => { componentProps: ({ formModel }) => {
return { return {
@ -524,7 +524,7 @@ export const formSearchBoxSchema: FormSchema[] = [
component: 'ApiSelect', component: 'ApiSelect',
required: false, required: false,
dynamicDisabled: false, dynamicDisabled: false,
colProps: { span: 4 }, colProps: { span: 6 },
componentProps: () => { componentProps: () => {
return { return {
allowClear: true, allowClear: true,
@ -548,7 +548,7 @@ export const formSearchBoxSchema: FormSchema[] = [
component: 'ApiSelect', component: 'ApiSelect',
required: false, required: false,
dynamicDisabled: false, dynamicDisabled: false,
colProps: { span: 4 }, colProps: { span: 6 },
componentProps: () => { componentProps: () => {
return { return {
api: GetClientPortSelectList, api: GetClientPortSelectList,
@ -561,21 +561,22 @@ export const formSearchBoxSchema: FormSchema[] = [
}, },
}, },
{ {
field: 'cntrno', field: 'ctnreleaseno',
label: '箱号', label: '号',
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 6 },
}, },
{ {
field: 'ctnreleaseno', field: 'cntrno',
label: '号', label: '箱号',
component: 'Input', component: 'Input',
colProps: { span: 4 }, placeholder: '可以逗号隔开,查询多个箱号。',
colProps: { span: 18 },
}, },
{ {
field: 'remark', field: 'remark',
label: '备注', label: '备注',
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 6 },
}, },
] ]

@ -277,12 +277,6 @@ export const formSearchBoxSchema: FormSchema[] = [
} }
}, },
}, },
{
field: 'cntrno',
label: '箱号',
component: 'Input',
colProps: { span: 6 },
},
{ {
field: 'ctnreleaseno', field: 'ctnreleaseno',
label: '放箱单号', label: '放箱单号',
@ -293,6 +287,13 @@ export const formSearchBoxSchema: FormSchema[] = [
field: 'remark', field: 'remark',
label: '备注', label: '备注',
component: 'Input', component: 'Input',
colProps: { span: 6 }, colProps: { span: 12 },
},
{
field: 'cntrno',
label: '箱号',
component: 'Input',
placeholder: '可以逗号隔开,查询多个箱号。',
colProps: { span: 18 },
}, },
] ]

@ -392,14 +392,19 @@ export const EditformSchema: FormSchema[] = [
valueField: 'userName', valueField: 'userName',
immediate: false, immediate: false,
resultField: 'data', resultField: 'data',
onChange: async (e, obj) => { onChange: (e, obj) => {
if (e && obj) { if (e && obj) {
formModel.saleId = obj.id formModel.saleId = obj.id
formModel.sale = obj.pinYinCode formModel.sale = obj.pinYinCode
formModel.saleOrgId = obj.defaultOrgId
formModel.saleOrgName = obj.defaultOrgName
console.log(e, obj)
} }
if (!e && !obj) { if (!e && !obj) {
formModel.saleId = '' formModel.saleId = ''
formModel.sale = '' formModel.sale = ''
formModel.saleOrgId = ''
formModel.saleOrgName = ''
} }
}, },
onEdit: () => { onEdit: () => {

@ -731,14 +731,19 @@ export const formSchema: FormSchema[] = [
showName: 'userName', showName: 'userName',
valueField: 'userName', valueField: 'userName',
resultField: 'data', resultField: 'data',
onChange: async (e, obj) => { onChange: (e, obj) => {
if (e && obj) { if (e && obj) {
formModel.saleId = obj.id formModel.saleId = obj.id
formModel.sale = obj.pinYinCode formModel.sale = obj.pinYinCode
formModel.saleOrgId = obj.defaultOrgId
formModel.saleOrgName = obj.defaultOrgName
console.log(e, obj)
} }
if (!e && !obj) { if (!e && !obj) {
formModel.saleId = '' formModel.saleId = ''
formModel.sale = '' formModel.sale = ''
formModel.saleOrgId = ''
formModel.saleOrgName = ''
} }
}, },
} }

@ -28,7 +28,14 @@ if (FnbusinessType.length) {
}) })
} }
// 账期 字典 // 账期 字典
const accountTypeList = await getDictOption('infoclient_business_accountType') let accountTypeList: any = []
const res9: any = await getDictOption('infoclient_business_accountType')
// if (res9.succeeded) {
accountTypeList = []
res9.forEach((e) => {
accountTypeList.push({ ...e, value: e.name })
})
// }
function RaccountTypeLabel(values) { function RaccountTypeLabel(values) {
let RData = '' let RData = ''
accountTypeList.forEach((item) => { accountTypeList.forEach((item) => {

Loading…
Cancel
Save