|
|
|
@ -214,7 +214,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel, formActionType }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'contract' },
|
|
|
|
|
params: { code: 'isContract' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
|
showName: 'shortName',
|
|
|
|
@ -327,7 +327,7 @@ export const basicInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'booking' },
|
|
|
|
|
params: { code: 'isBooking' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
|
showName: 'description',
|
|
|
|
@ -2748,7 +2748,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'truck' },
|
|
|
|
|
params: { code: 'isTruck' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
|
showName: 'description',
|
|
|
|
@ -2782,7 +2782,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'agent' },
|
|
|
|
|
params: { code: 'isAgent' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
showName: 'description',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
@ -2811,7 +2811,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'yard' },
|
|
|
|
|
params: { code: 'isYard' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
showName: 'description',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
@ -2846,7 +2846,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'shipagency' },
|
|
|
|
|
params: { code: 'isShipagency' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
showName: 'description',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
@ -2881,7 +2881,7 @@ export const otherInfoFormSchema: FormSchema[] = [
|
|
|
|
|
componentProps: ({ formModel }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetSupplierListByCode,
|
|
|
|
|
params: { code: 'custom' },
|
|
|
|
|
params: { code: 'isCustom' },
|
|
|
|
|
labelField: 'pinYinCode',
|
|
|
|
|
valueField: 'shortName',
|
|
|
|
|
showName: 'description',
|
|
|
|
|