浏览代码

机构档案供应商、分销商、厂商新增地址选择

hcf 1 年之前
父节点
当前提交
26197b2c41
共有 3 个文件被更改,包括 76 次插入3 次删除
  1. 25 1
      src/views/audit/distributor/index.vue
  2. 26 1
      src/views/audit/manufacturer/index.vue
  3. 25 1
      src/views/audit/supplier/index.vue

+ 25 - 1
src/views/audit/distributor/index.vue

@@ -203,6 +203,9 @@
 					financeType: [{
 						required: true, message: '请输入财务系统类型', trigger: 'change'
 					}],
+					province: [{
+						required: true, message: '请选择地址', trigger: 'change'
+					}],
 				}
 			},
 			columns: [
@@ -307,9 +310,30 @@
 						prop: 'k3AppSec',
 						component: 'by-input',
 					},
+				],
+				[{
+					span: 18,
+					label: '地址',
+					prop: 'province',
+					component: 'by-area',
+					labelWidth: '100px',
+					compConfig: {
+						attr: {
+							province: 'province', //省
+							provinceCode: 'provinceCode', //省编码
+							city: 'city',   //市
+							cityCode: 'cityCode',  //市编码
+							county: 'region',  //县/区
+							countyCode: 'regionCode',   //县/区编码
+							town: 'street', //街道
+							townCode: 'streetCode', //街道编码
+						}
+					}
+				}],
+				[
 					{
 						span: 6,
-						label: 'URL地址',
+						label: '详细地址',
 						slot: true,
 						prop: 'k3ServerUrl',
 					},

+ 26 - 1
src/views/audit/manufacturer/index.vue

@@ -203,6 +203,9 @@
 					financeType: [{
 						required: true, message: '请输入财务系统类型', trigger: 'change'
 					}],
+					province: [{
+						required: true, message: '请选择地址', trigger: 'change'
+					}],
 				}
 			},
 			columns: [
@@ -307,9 +310,31 @@
 						prop: 'k3AppSec',
 						component: 'by-input',
 					},
+				],
+				
+				[{
+					span: 18,
+					label: '地址',
+					prop: 'province',
+					component: 'by-area',
+					labelWidth: '100px',
+					compConfig: {
+						attr: {
+							province: 'province', //省
+							provinceCode: 'provinceCode', //省编码
+							city: 'city',   //市
+							cityCode: 'cityCode',  //市编码
+							county: 'region',  //县/区
+							countyCode: 'regionCode',   //县/区编码
+							town: 'street', //街道
+							townCode: 'streetCode', //街道编码
+						}
+					}
+				}],
+				[
 					{
 						span: 6,
-						label: 'URL地址',
+						label: '详细地址',
 						slot: true,
 						prop: 'k3ServerUrl',
 					},

+ 25 - 1
src/views/audit/supplier/index.vue

@@ -201,6 +201,9 @@
 					financeType: [{
 						required: true, message: '请输入财务系统类型', trigger: 'change'
 					}],
+					province: [{
+						required: true, message: '请选择地址', trigger: 'change'
+					}],
 				}
 			},
 			columns: [
@@ -305,9 +308,30 @@
 						prop: 'k3AppSec',
 						component: 'by-input',
 					},
+				],
+				[{
+					span: 18,
+					label: '地址',
+					prop: 'province',
+					component: 'by-area',
+					labelWidth: '100px',
+					compConfig: {
+						attr: {
+							province: 'province', //省
+							provinceCode: 'provinceCode', //省编码
+							city: 'city',   //市
+							cityCode: 'cityCode',  //市编码
+							county: 'region',  //县/区
+							countyCode: 'regionCode',   //县/区编码
+							town: 'street', //街道
+							townCode: 'streetCode', //街道编码
+						}
+					}
+				}],
+				[
 					{
 						span: 6,
-						label: 'URL地址',
+						label: '详细地址',
 						slot: true,
 						prop: 'k3ServerUrl',
 					},