diff --git a/src/views/main/Customer/addForm.vue b/src/views/main/Customer/addForm.vue
index e8496d2..bc02c54 100644
--- a/src/views/main/Customer/addForm.vue
+++ b/src/views/main/Customer/addForm.vue
@@ -261,7 +261,7 @@
工厂地址
-
+
@@ -575,8 +575,7 @@ export default {
.CsForm {
background: #fff;
padding: 25px;
- height: 760px;
- overflow-y: auto !important;
+ position: sticky;
}
.CsForm .ant-form-item {
margin-bottom: 10px;
diff --git a/src/views/main/Customer/editForm.vue b/src/views/main/Customer/editForm.vue
index 4d13d3f..cdb7638 100644
--- a/src/views/main/Customer/editForm.vue
+++ b/src/views/main/Customer/editForm.vue
@@ -250,17 +250,17 @@
-
+
-
+
工厂地址
-
+
@@ -396,6 +396,9 @@ export default {
res.data.contacts.forEach((item, index) => {
item.WebKey = index + 1
})
+ res.data.addrs.forEach((item, index) => {
+ item.WebKey = index + 1
+ })
// 后端返回的 ID 类型不一致 在此处 转为一致
const UserArr = ['saleid', 'opid', 'docid', 'custserviceid']
UserArr.forEach(item => {
@@ -622,8 +625,8 @@ export default {
.CsForm {
background: #fff;
padding: 25px;
- height: 760px;
overflow-y: auto !important;
+ position: sticky;
}
.CsFormTitle {
border-bottom: 1px solid #c9c9c9;
diff --git a/src/views/main/SendCar/addForm.vue b/src/views/main/SendCar/addForm.vue
index 0bb080e..40f84e7 100644
--- a/src/views/main/SendCar/addForm.vue
+++ b/src/views/main/SendCar/addForm.vue
@@ -302,25 +302,28 @@
:wrapperCol="{
xs: { span: 25 },
sm: { span: 19 }
- }"
- has-feedback>
-
-
- {{ item.shortName }}
-
-
+ }">
+
+
+
+ {{ item.shortName }}
+
+
+
地址
+
@@ -657,8 +660,8 @@ export default {
id: null,
columns: [
{
- dataIndex: 'addrName',
- key: 'addrName',
+ dataIndex: 'addr',
+ key: 'addr',
ellipsis: true,
width: 250,
title: '详细地址'
@@ -825,7 +828,6 @@ export default {
mounted() { },
methods: {
ChangeFactory(e, option) {
- console.log(e)
if (e !== undefined) {
this.inFactory.forEach(item => {
if (item.id == option.key) {
@@ -840,6 +842,7 @@ export default {
const fullNameEN = item.fullNameEN ? item.fullNameEN : ''
const addr = item.addr ? item.addr : ''
const tel = item.tel ? item.tel : ''
+ this.addrList = []
this.form.setFieldsValue({ factoryAddr: fullNameEN + addr })
this.form.setFieldsValue({ factoryContact: chief + tel })
}