箱管 往来单位 调整

szh-new
张同海 3 months ago
parent a2efe43535
commit 4fa33a5da8

@ -752,7 +752,7 @@
if (ApiData.ids.length) {
ApiDelDetail(ApiData).then((res) => {
if (res.succeeded) {
GetListDetail()
refresh()
notification.success({ message: res.message, duration: 3 })
}
})

@ -248,18 +248,12 @@ export const searchFormSchema: FormSchema[] = [
component: 'Input',
colProps: { span: 4 },
},
{
field: 'billno',
label: '箱业务编号',
component: 'Input',
colProps: { span: 4 },
},
{
field: 'isOnlineId',
label: '是否上线',
component: 'ApiSelect',
colProps: { span: 4 },
defaultValue: '',
defaultValue: '1',
componentProps: ({ formModel }) => {
return {
api: () => {
@ -278,6 +272,13 @@ export const searchFormSchema: FormSchema[] = [
}
},
},
{
field: 'billno',
label: '箱业务编号',
component: 'Input',
colProps: { span: 4 },
},
{
field: 'portid',
label: '当前港口',

@ -655,7 +655,7 @@
if (ApiData.ids.length) {
ApiDelDetail(ApiData).then((res) => {
if (res.succeeded) {
GetListDetail()
refresh()
notification.success({ message: res.message, duration: 3 })
}
})

@ -238,15 +238,15 @@ export const formSchema: FormSchema[] = [
colProps: { span: 6 },
componentProps: ({ formModel }) => {
return {
api: () => {
return new Promise((resolve) => {
const arr = getOptions('custom')
resolve(arr)
})
},
labelField: 'shortName',
valueField: 'id',
allowClear: true,
showSearch: true,
api: GetClientListByCode,
params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
resultField: 'data',
immediate: false,
filterOption: (input: string, option: any) => {
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
},

@ -1084,7 +1084,7 @@
if (ApiData.ids.length) {
ApiDelDetail(ApiData).then((res) => {
if (res.succeeded) {
GetListDetail()
refresh()
notification.success({ message: res.message, duration: 3 })
}
})

@ -853,7 +853,7 @@
if (ApiData.ids.length) {
ApiDelDetail(ApiData).then((res) => {
if (res.succeeded) {
GetListDetail()
refresh()
notification.success({ message: res.message, duration: 3 })
}
})

@ -378,7 +378,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetClientListByCode,
params: { code: 'tradingAgency' },
params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',

@ -1175,7 +1175,7 @@
if (ApiData.ids.length) {
ApiDelDetail(ApiData).then((res) => {
if (res.succeeded) {
GetListDetail()
refresh()
notification.success({ message: res.message, duration: 3 })
}
})

@ -411,7 +411,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetClientListByCode,
params: { code: 'tradingAgency' },
params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',

@ -903,7 +903,7 @@
if (ApiData.ids.length) {
ApiDelDetail(ApiData).then((res) => {
if (res.succeeded) {
GetListDetail()
refresh()
notification.success({ message: res.message, duration: 3 })
}
})

@ -1166,15 +1166,34 @@ export const formSchema: FormSchema[] = [
},
},
{
field: 'saleOrgIdList',
label: '所属分部Name',
field: 'saleOrgName',
component: 'Input',
defaultValue: '',
show: false,
},
{
field: 'saleOrgId',
label: '所属分部',
component: 'Select',
colProps: { span: 8 },
componentProps: {
options: DeptList,
allowClear: true,
mode: 'multiple',
class: 'NoLimitHeight',
componentProps: ({ formModel }) => {
return {
options: DeptList,
allowClear: true,
onChange: (e, obj) => {
console.log(e, obj)
if (e && obj) {
formModel.saleOrgName = obj.label
formModel.saleOrgId = obj.value
}
if (!e && !obj) {
formModel.saleOrgName = ''
formModel.saleOrgId = ''
}
},
}
},
},
{

Loading…
Cancel
Save