Quellcode durchsuchen

供应商考评-输入框清除历史输入值

jingbb vor 4 Monaten
Ursprung
Commit
c4247b5178

+ 46 - 1
src/views/cuspCode/CustomerProfile/CuspCustomerProfile.data.ts

@@ -128,12 +128,18 @@ export const searchFormSchema: FormSchema[] = [
       label: "编码(code)",
       field: "code",
       component: 'Input',
+      componentProps:{
+        AutoComplete:'off'
+      },
       //colProps: {span: 6},
  	},
 	{
       label: "名称(name)",
       field: "name",
       component: 'Input',
+      componentProps:{
+        AutoComplete:'off'
+      },
       //colProps: {span: 6},
  	},
 	{
@@ -237,6 +243,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     labelWidth: 250,
     required: true,
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '简称(abbreviation)',
@@ -244,6 +253,9 @@ export const formSchema: FormSchema[] = [
     component: 'Input',
     labelWidth: 200,
     colProps: {span: 12},
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '曾用名(nameUsedBefore)',
@@ -251,6 +263,9 @@ export const formSchema: FormSchema[] = [
     component: 'Input',
     labelWidth: 250,
     colProps: {span: 12},
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '税号(dutyParagraph)',
@@ -258,6 +273,9 @@ export const formSchema: FormSchema[] = [
     component: 'Input',
     labelWidth: 200,
     colProps: {span: 12},
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '法人(legalPerson)',
@@ -265,6 +283,9 @@ export const formSchema: FormSchema[] = [
     component: 'Input',
     labelWidth: 250,
     colProps: {span: 12},
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '联系人(contacts)',
@@ -279,6 +300,9 @@ export const formSchema: FormSchema[] = [
     component: 'Input',
     labelWidth: 250,
     colProps: {span: 12},
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '邮箱(email)',
@@ -286,6 +310,9 @@ export const formSchema: FormSchema[] = [
     component: 'Input',
     labelWidth: 200,
     colProps: {span: 12},
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '注册地址(registerAddress)',
@@ -293,6 +320,9 @@ export const formSchema: FormSchema[] = [
     component: 'Input',
     labelWidth: 250,
     colProps: {span: 12},
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '办公地址(officeAddress)',
@@ -300,6 +330,9 @@ export const formSchema: FormSchema[] = [
     component: 'Input',
     labelWidth: 200,
     colProps: {span: 12},
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '发票地址(invoiceAddress)',
@@ -307,6 +340,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     labelWidth: 250,
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '币种(currency)',
@@ -344,6 +380,9 @@ export const formSchema: FormSchema[] = [
     labelWidth: 250,
     colProps: {span: 12},
     component: 'InputNumber',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '折扣(discount)',
@@ -353,6 +392,7 @@ export const formSchema: FormSchema[] = [
     component: 'InputNumber',
     componentProps: {
       addonAfter:"%",
+      AutoComplete:'off'
     },
   },
   {
@@ -363,6 +403,7 @@ export const formSchema: FormSchema[] = [
     component: 'InputNumber',
     componentProps: {
       addonAfter:"%",
+      AutoComplete:'off'
       // formatter: (value) => {
       //   if(value&&value!==''){
       //     return value + '%';
@@ -390,6 +431,7 @@ export const formSchema: FormSchema[] = [
     component: 'InputNumber',
     componentProps: {
       addonAfter:"%",
+      AutoComplete:'off'
       // formatter: (value) => {
       //   if(value&&value!==''){
       //     return value + '%';
@@ -427,7 +469,10 @@ export const formSchema: FormSchema[] = [
     field: 'notes',
     colProps: {span: 24},
     labelWidth: 200,
-    component: 'Input'
+    component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   
 	// TODO 主键隐藏字段,目前写死为ID

+ 2 - 2
src/views/cuspCode/Intermediator/CuspIntermediatorList.vue

@@ -7,13 +7,13 @@
           <a-col :lg="6">
             <a-form-item name="code"  labelWidth="150">
               <template #label><span title="编码">编码(code)</span></template>
-              <a-input placeholder="请输入" v-model:value="queryParam.code" allow-clear ></a-input>
+              <a-input placeholder="请输入" v-model:value="queryParam.code" allow-clear AutoComplete="off"></a-input>
             </a-form-item>
           </a-col>
           <a-col :lg="6">
             <a-form-item name="name">
               <template #label><span title="名称">名称(name)</span></template>
-              <a-input placeholder="请输入名称" v-model:value="queryParam.name" allow-clear ></a-input>
+              <a-input placeholder="请输入名称" v-model:value="queryParam.name" allow-clear AutoComplete="off"></a-input>
             </a-form-item>
           </a-col>
           <template v-if="toggleSearchStatus">

+ 9 - 9
src/views/cuspCode/Intermediator/components/CuspIntermediatorForm.vue

@@ -11,42 +11,42 @@
 						</a-col>
 						<a-col :span="12">
 							<a-form-item label="名称(name)" v-bind="validateInfos.name" id="CuspIntermediatorForm-name" name="name">
-								<a-input v-model:value="formData.name" placeholder="请输入名称"  allow-clear ></a-input>
+								<a-input v-model:value="formData.name" placeholder="请输入名称"  allow-clear AutoComplete="off"></a-input>
 							</a-form-item>
 						</a-col>
 						<a-col :span="12">
 							<a-form-item label="简称(abbreviation)" v-bind="validateInfos.abbreviation" id="CuspIntermediatorForm-abbreviation" name="abbreviation">
-								<a-input v-model:value="formData.abbreviation" placeholder="请输入简称"  allow-clear ></a-input>
+								<a-input v-model:value="formData.abbreviation" placeholder="请输入简称"  allow-clear AutoComplete="off"></a-input>
 							</a-form-item>
 						</a-col>
 						<a-col :span="12">
 							<a-form-item label="税号(duty paragraph)" v-bind="validateInfos.dutyParagraph" id="CuspIntermediatorForm-dutyParagraph" name="dutyParagraph">
-								<a-input v-model:value="formData.dutyParagraph" placeholder="请输入税号"  allow-clear ></a-input>
+								<a-input v-model:value="formData.dutyParagraph" placeholder="请输入税号"  allow-clear AutoComplete="off"></a-input>
 							</a-form-item>
 						</a-col>
 						<a-col :span="12">
 							<a-form-item label="法人(legal person)" v-bind="validateInfos.legalPerson" id="CuspIntermediatorForm-legalPerson" name="legalPerson">
-								<a-input v-model:value="formData.legalPerson" placeholder="请输入法人"  allow-clear ></a-input>
+								<a-input v-model:value="formData.legalPerson" placeholder="请输入法人"  allow-clear AutoComplete="off"></a-input>
 							</a-form-item>
 						</a-col>
 						<a-col :span="12">
 							<a-form-item label="联系人(contacts)" v-bind="validateInfos.contacts" id="CuspIntermediatorForm-contacts" name="contacts">
-								<a-input v-model:value="formData.contacts" placeholder="请输入联系人"  allow-clear ></a-input>
+								<a-input v-model:value="formData.contacts" placeholder="请输入联系人"  allow-clear AutoComplete="off"></a-input>
 							</a-form-item>
 						</a-col>
 						<a-col :span="12">
 							<a-form-item label="联系电话(phone)" v-bind="validateInfos.phone" id="CuspIntermediatorForm-phone" name="phone">
-								<a-input v-model:value="formData.phone" placeholder="请输入联系电话"  allow-clear ></a-input>
+								<a-input v-model:value="formData.phone" placeholder="请输入联系电话"  allow-clear AutoComplete="off"></a-input>
 							</a-form-item>
 						</a-col>
 						<a-col :span="12">
 							<a-form-item label="办公地址(address)" v-bind="validateInfos.address" id="CuspIntermediatorForm-address" name="address">
-								<a-input v-model:value="formData.address" placeholder="请输入办公地址"  allow-clear ></a-input>
+								<a-input v-model:value="formData.address" placeholder="请输入办公地址"  allow-clear AutoComplete="off"></a-input>
 							</a-form-item>
 						</a-col>
 						<a-col :span="12">
 							<a-form-item label="邮箱(email)" v-bind="validateInfos.email" id="CuspIntermediatorForm-email" name="email">
-								<a-input v-model:value="formData.email" placeholder="请输入邮箱"  allow-clear ></a-input>
+								<a-input v-model:value="formData.email" placeholder="请输入邮箱"  allow-clear AutoComplete="off"></a-input>
 							</a-form-item>
 						</a-col>
 						<a-col :span="12">
@@ -56,7 +56,7 @@
 						</a-col>
 						<a-col :span="12">
 							<a-form-item label="备注(notes)" v-bind="validateInfos.notes" id="CuspIntermediatorForm-notes" name="notes">
-								<a-input v-model:value="formData.notes" placeholder="请输入备注"  allow-clear ></a-input>
+								<a-input v-model:value="formData.notes" placeholder="请输入备注"  allow-clear AutoComplete="off"></a-input>
 							</a-form-item>
 						</a-col>
             <a-col :span="12">

+ 3 - 0
src/views/cuspCode/SupplierEvaluation/CuspSupplierEvaluation.data.ts

@@ -56,6 +56,9 @@ export const searchFormSchema: FormSchema[] = [
         field: "billCode",
         component: 'Input',
         labelWidth:150,
+        componentProps:{
+          AutoComplete:'off'
+        },
         //colProps: {span: 6},
      },
      {

+ 51 - 0
src/views/cuspCode/SupplierProfile/CuspSupplierProfile.data.ts

@@ -101,6 +101,9 @@ export const searchFormSchema: FormSchema[] = [
       field: "code",
       component: 'Input',
       labelWidth: 150,
+      componentProps:{
+        AutoComplete:'off'
+      },
       //colProps: {span: 6},
  	},
 	{
@@ -108,6 +111,9 @@ export const searchFormSchema: FormSchema[] = [
       field: "name",
       component: 'Input',
       labelWidth: 150,
+      componentProps:{
+        AutoComplete:'off'
+      },
       //colProps: {span: 6},
  	},
 	{
@@ -232,6 +238,9 @@ export const formSchema: FormSchema[] = [
     component: 'Input',
     labelWidth: 200,
     required: true,
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '简称(abbreviation)',
@@ -239,6 +248,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     labelWidth: 200,
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '曾用名(name used before)',
@@ -246,6 +258,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     component: 'Input',
     labelWidth: 200,
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '税号(duty paragraph)',
@@ -253,6 +268,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     labelWidth: 200,
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '法人(legal person)',
@@ -260,6 +278,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     component: 'Input',
     labelWidth: 200,
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '联系人(contacts)',
@@ -267,6 +288,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     labelWidth: 200,
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '联系电话(phone)',
@@ -274,6 +298,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     component: 'Input',
     labelWidth: 200,
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '邮箱(email)',
@@ -281,6 +308,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     labelWidth: 200,
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '注册地址(register address)',
@@ -288,6 +318,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     component: 'Input',
     labelWidth: 200,
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '公司地址(address)',
@@ -295,6 +328,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     labelWidth: 200,
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '供应商性质(supplier nature)',
@@ -354,6 +390,9 @@ export const formSchema: FormSchema[] = [
     labelWidth: 200,
     colProps: {span: 12},
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '付款条件(payment terms)',
@@ -371,6 +410,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     labelWidth: 200,
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '银行代码(swift code)',
@@ -378,6 +420,9 @@ export const formSchema: FormSchema[] = [
     labelWidth: 200,
     colProps: {span: 12},
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   
   {
@@ -386,6 +431,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 12},
     labelWidth: 200,
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
   {
     label: '状态(status)',
@@ -427,6 +475,9 @@ export const formSchema: FormSchema[] = [
     colProps: {span: 24},
     labelWidth: 200,
     component: 'Input',
+    componentProps:{
+      AutoComplete:'off'
+    },
   },
 	// TODO 主键隐藏字段,目前写死为ID
 	{