|
|
@ -420,6 +420,12 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
|
|
|
|
|
|
|
// mailingInfo表单
|
|
|
|
// mailingInfo表单
|
|
|
|
export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '',
|
|
|
|
|
|
|
|
field: 'wtdwId',
|
|
|
|
|
|
|
|
component: 'Input',
|
|
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: '',
|
|
|
|
label: '',
|
|
|
|
field: 'shipperId',
|
|
|
|
field: 'shipperId',
|
|
|
@ -437,7 +443,7 @@ export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: GetShippingBillTemplateSelectList,
|
|
|
|
api: GetShippingBillTemplateSelectList,
|
|
|
|
params: { type: 2 },
|
|
|
|
params: { type: 2, id: formModel.wtdwId },
|
|
|
|
labelField: 'templateName',
|
|
|
|
labelField: 'templateName',
|
|
|
|
valueField: 'templateName',
|
|
|
|
valueField: 'templateName',
|
|
|
|
immediate: false,
|
|
|
|
immediate: false,
|
|
|
@ -477,7 +483,7 @@ export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: GetShippingBillTemplateSelectList,
|
|
|
|
api: GetShippingBillTemplateSelectList,
|
|
|
|
params: { type: 1 },
|
|
|
|
params: { type: 1, id: formModel.wtdwId },
|
|
|
|
labelField: 'templateName',
|
|
|
|
labelField: 'templateName',
|
|
|
|
valueField: 'templateName',
|
|
|
|
valueField: 'templateName',
|
|
|
|
resultField: 'data',
|
|
|
|
resultField: 'data',
|
|
|
@ -518,11 +524,12 @@ export const mailingInfoFormSchemaL: FormSchema[] = [
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: GetShippingBillTemplateSelectList,
|
|
|
|
api: GetShippingBillTemplateSelectList,
|
|
|
|
params: { type: 3 },
|
|
|
|
params: { type: 3, id: formModel.wtdwId },
|
|
|
|
labelField: 'templateName',
|
|
|
|
labelField: 'templateName',
|
|
|
|
valueField: 'templateName',
|
|
|
|
valueField: 'templateName',
|
|
|
|
resultField: 'data',
|
|
|
|
resultField: 'data',
|
|
|
|
immediate: false,
|
|
|
|
immediate: false,
|
|
|
|
|
|
|
|
alwaysLoad: false,
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
filterOption: (input: string, option: any) => {
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -2230,7 +2237,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
colProps: { span: 12 },
|
|
|
|
colProps: { span: 12 },
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
api: GetSaleList,
|
|
|
|
api: GetCustomerServiceList,
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
valueField: 'userName',
|
|
|
|
valueField: 'userName',
|
|
|
|
showName: 'userName',
|
|
|
|
showName: 'userName',
|
|
|
|