|
@@ -246,6 +246,57 @@ export const schemas: FormSchema[] = [
|
|
|
required: true,
|
|
|
},
|
|
|
{
|
|
|
+ field: 'nature',
|
|
|
+ label: '单位性质',
|
|
|
+ component: 'Select',
|
|
|
+ componentProps: {
|
|
|
+ placeholder: '单位性质',
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label: '国有企业',
|
|
|
+ value: 0,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '集体所有制',
|
|
|
+ value: 1,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '私营企业',
|
|
|
+ value: 2,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '股份制企业',
|
|
|
+ value: 3,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '有限合伙企业',
|
|
|
+ value: 4,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '联营企业',
|
|
|
+ value: 5,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '外商投资企业',
|
|
|
+ value: 6,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '个人独资企业',
|
|
|
+ value: 7,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '机关事业单位',
|
|
|
+ value: 8,
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ labelWidth: adaptWidth.labelWidth,
|
|
|
+ colProps: {
|
|
|
+ span: adaptWidth.elContainer,
|
|
|
+ },
|
|
|
+ required: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
field: 'legalman',
|
|
|
component: 'Input',
|
|
|
label: '法人代表',
|
|
@@ -256,7 +307,72 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '法人代表',
|
|
|
},
|
|
|
- required: true,
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ required: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'level',
|
|
|
+ component: 'Input',
|
|
|
+ label: '行政级别',
|
|
|
+ labelWidth: adaptWidth.labelWidth,
|
|
|
+ colProps: {
|
|
|
+ span: adaptWidth.elContainer,
|
|
|
+ },
|
|
|
+ componentProps: {
|
|
|
+ placeholder: '行政级别',
|
|
|
+ },
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature === 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'region',
|
|
|
+ component: 'Input',
|
|
|
+ label: '所属地区',
|
|
|
+ labelWidth: adaptWidth.labelWidth,
|
|
|
+ colProps: {
|
|
|
+ span: adaptWidth.elContainer,
|
|
|
+ },
|
|
|
+ componentProps: {
|
|
|
+ placeholder: '所属地区',
|
|
|
+ },
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature === 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'superior',
|
|
|
+ component: 'Input',
|
|
|
+ label: '上级单位',
|
|
|
+ labelWidth: adaptWidth.labelWidth,
|
|
|
+ colProps: {
|
|
|
+ span: adaptWidth.elContainer,
|
|
|
+ },
|
|
|
+ componentProps: {
|
|
|
+ placeholder: '上级单位',
|
|
|
+ },
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature === 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'businessNo',
|
|
@@ -269,7 +385,18 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '工商登记号',
|
|
|
},
|
|
|
- required: true,
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ required: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'centralTax',
|
|
@@ -282,6 +409,12 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '国税税号',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'landTax',
|
|
@@ -294,53 +427,12 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '地税税号',
|
|
|
},
|
|
|
- },
|
|
|
- {
|
|
|
- field: 'nature',
|
|
|
- label: '单位性质',
|
|
|
- component: 'Select',
|
|
|
- componentProps: {
|
|
|
- placeholder: '单位性质',
|
|
|
- options: [
|
|
|
- {
|
|
|
- label: '国有企业',
|
|
|
- value: 0,
|
|
|
- },
|
|
|
- {
|
|
|
- label: '集体所有制',
|
|
|
- value: 1,
|
|
|
- },
|
|
|
- {
|
|
|
- label: '私营企业',
|
|
|
- value: 2,
|
|
|
- },
|
|
|
- {
|
|
|
- label: '股份制企业',
|
|
|
- value: 3,
|
|
|
- },
|
|
|
- {
|
|
|
- label: '有限合伙企业',
|
|
|
- value: 4,
|
|
|
- },
|
|
|
- {
|
|
|
- label: '联营企业',
|
|
|
- value: 5,
|
|
|
- },
|
|
|
- {
|
|
|
- label: '外商投资企业',
|
|
|
- value: 6,
|
|
|
- },
|
|
|
- {
|
|
|
- label: '个人独资企业',
|
|
|
- value: 7,
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- labelWidth: adaptWidth.labelWidth,
|
|
|
- colProps: {
|
|
|
- span: adaptWidth.elContainer,
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
},
|
|
|
- required: true,
|
|
|
},
|
|
|
{
|
|
|
field: 'foundingtime',
|
|
@@ -353,7 +445,18 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '成立时间',
|
|
|
},
|
|
|
- required: true,
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ required: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'job',
|
|
@@ -366,7 +469,18 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '行业分类',
|
|
|
},
|
|
|
- required: true,
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ required: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'jobnum',
|
|
@@ -455,6 +569,12 @@ export const schemas: FormSchema[] = [
|
|
|
type: 'number',
|
|
|
placeholder: '大专以上文化人数',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'laidnum',
|
|
@@ -468,6 +588,12 @@ export const schemas: FormSchema[] = [
|
|
|
type: 'number',
|
|
|
placeholder: '安置下岗人数',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'partyCase',
|
|
@@ -480,6 +606,12 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '党、团工会情况',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'web',
|
|
@@ -504,6 +636,12 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '电子邮箱',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'technology',
|
|
@@ -516,6 +654,12 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '高新技术企业认证',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'technologyDept',
|
|
@@ -552,6 +696,12 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '外贸自营进出口权',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'foreignTradeDept',
|
|
@@ -588,6 +738,12 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '质量管理、质量保证系列认证标准',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'qualityDept',
|
|
@@ -625,7 +781,18 @@ export const schemas: FormSchema[] = [
|
|
|
type: 'number',
|
|
|
placeholder: '注册资金(万元)',
|
|
|
},
|
|
|
- required: true,
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ required: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'money',
|
|
@@ -639,6 +806,12 @@ export const schemas: FormSchema[] = [
|
|
|
type: 'number',
|
|
|
placeholder: '资产(万元)',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'ownerMoney',
|
|
@@ -652,6 +825,12 @@ export const schemas: FormSchema[] = [
|
|
|
type: 'number',
|
|
|
placeholder: '所有者权益(万元)',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'sellMoney',
|
|
@@ -665,6 +844,12 @@ export const schemas: FormSchema[] = [
|
|
|
type: 'number',
|
|
|
placeholder: '销售收入(万元)',
|
|
|
},
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
field: 'product',
|
|
@@ -677,6 +862,17 @@ export const schemas: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
placeholder: '主要经营项目',
|
|
|
},
|
|
|
- required: true,
|
|
|
+ show: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ required: ({ values }) => {
|
|
|
+ if (values.nature !== 8) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ },
|
|
|
},
|
|
|
];
|