diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue index 56f5a6b..929a684 100644 --- a/src/components/Pagination/index.vue +++ b/src/components/Pagination/index.vue @@ -96,7 +96,8 @@ export default { handleCurrentChange(val) { this.$emit('pagination', { page: val, limit: this.pageSize }) if (this.autoScroll) { - scrollTo(0, 800) + //滚动效果 + // scrollTo(0, 800) } } } diff --git a/src/utils/DefaultCheck.js b/src/utils/DefaultCheck.js new file mode 100644 index 0000000..5eec157 --- /dev/null +++ b/src/utils/DefaultCheck.js @@ -0,0 +1,9 @@ +export function DefaultCheck (line,dataList){ + this.$nextTick(() => { + if (line === null) { + this.$refs.refDom.setCurrentRow(dataList[0]); + } else { + this.$refs.refDom.setCurrentRow(line,true); + } + }); +} \ No newline at end of file diff --git a/src/views/sync/SysUdimsConfig.vue b/src/views/sync/SysUdimsConfig.vue index 8ff2646..c135110 100644 --- a/src/views/sync/SysUdimsConfig.vue +++ b/src/views/sync/SysUdimsConfig.vue @@ -5,8 +5,8 @@ @@ -14,6 +14,7 @@ @@ -22,7 +23,7 @@
说明: 修改同步参数时,请关闭数据同步服务 + >说明: 修改同步参数时,请关闭数据同步服务
@@ -40,7 +41,7 @@ style="width: 50%" size="small" v-model="configQuery.syncIp" - :disabled="configQuery.downstreamEnable" + disabled splaceholder="请输入内容" > 测试连通 + >测试连通
@@ -113,6 +114,7 @@ style="width: 100px" size="small" type="number" + disabled v-model="configQuery.syncTime" splaceholder="请输入内容" > @@ -120,7 +122,7 @@ @@ -399,9 +401,9 @@ 添加扫码单据类型 + >添加扫码单据类型 @@ -434,9 +436,9 @@ 移除 + >移除 @@ -465,19 +467,19 @@ size="small" type="number" v-model="configQuery.orderSyncTime" - :disabled="configQuery.downstreamEnable" + disabled splaceholder="请输入内容" > 单据下载时间间隔(单位:分钟): 单据下载时间间隔(单位:分钟):  @@ -493,9 +495,9 @@ 添加扫码单据类型 + >添加扫码单据类型 @@ -528,9 +530,9 @@ 移除 + >移除 @@ -555,9 +557,9 @@ 添加业务单据类型 + >添加业务单据类型 @@ -589,9 +591,9 @@ 移除 + >移除 @@ -608,8 +610,8 @@ v-if="addBusToInDialogVisible" >
- 选入 + 选入
- 选入 + 选入
- 选入 + 选入
{}); + .catch(() => { + }); }, testConnect() { @@ -896,7 +899,8 @@ export default { this.busTypes = response.data.list || []; this.total = response.data.total || 0; }) - .catch(() => {}); + .catch(() => { + }); }, addBusTypeDialog() {