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