|
|
|
@ -133,32 +133,32 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'code',
|
|
|
|
|
label: '编码',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'name',
|
|
|
|
|
label: '名称',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'taxCategory',
|
|
|
|
|
label: '税目',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'taxRate',
|
|
|
|
|
label: '税率',
|
|
|
|
|
component: 'InputNumber',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'identification',
|
|
|
|
|
label: '零税率标识',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
componentProps: ({ formActionType }) => {
|
|
|
|
|
return {
|
|
|
|
|
api: () => {
|
|
|
|
@ -184,19 +184,19 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'taxClassificationCode',
|
|
|
|
|
label: '税收分类编码',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'taxClassificationName',
|
|
|
|
|
label: '税收分类名称',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isIncludingTax',
|
|
|
|
|
label: '是否含税',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
checkedChildren: '是',
|
|
|
|
|
checkedValue: true,
|
|
|
|
@ -208,7 +208,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'hasPreferentialPolicy',
|
|
|
|
|
label: '是否享受优惠政策',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
checkedChildren: '是',
|
|
|
|
|
checkedValue: true,
|
|
|
|
@ -220,7 +220,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'preferentialPolicyDescription',
|
|
|
|
|
label: '优惠政策说明',
|
|
|
|
|
component: 'InputTextArea',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
rows: 2,
|
|
|
|
|
},
|
|
|
|
@ -229,7 +229,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'isDefault',
|
|
|
|
|
label: '是否默认商品名',
|
|
|
|
|
component: 'Switch',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
componentProps: {
|
|
|
|
|
checkedChildren: '是',
|
|
|
|
|
checkedValue: true,
|
|
|
|
@ -241,7 +241,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'defaultCurrency',
|
|
|
|
|
label: '默认币别',
|
|
|
|
|
component: 'ApiSelect',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
componentProps: () => {
|
|
|
|
|
return {
|
|
|
|
|
api: GetFeeCurrencySelectList,
|
|
|
|
@ -255,13 +255,13 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
|
field: 'specification',
|
|
|
|
|
label: '规格型号',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'unit',
|
|
|
|
|
label: '单位',
|
|
|
|
|
component: 'Input',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
colProps: { span: 4 },
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
export const formSchema: FormSchema[] = [
|
|
|
|
|