CTP 2 years ago
commit 34d122fcd1

@ -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)
}
}
}

@ -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);
}
});
}

@ -5,7 +5,7 @@
<el-collapse-item title="数据同步设置" name="1">
<el-descriptions class="margin-top" :column="1" :size="100" border>
<template slot="extra">
<el-button type="primary" size="small" @click="saveConfig()"
<el-button type="primary" size="small" @click="saveConfig()" disabled
>保存
</el-button>
</template>
@ -14,6 +14,7 @@
<el-row :gutter="20" class="el-row" type="flex">
<el-col :span="6" class="el-col">
<el-switch
disabled
v-model="configQuery.downstreamEnable"
active-text="是否启用数据同步"
>
@ -40,7 +41,7 @@
style="width: 50%"
size="small"
v-model="configQuery.syncIp"
:disabled="configQuery.downstreamEnable"
disabled
splaceholder="请输入内容"
></el-input>
<el-button
@ -48,7 +49,7 @@
size="small"
@click="testConnect()"
style="margin-left: 20px"
:disabled="configQuery.downstreamEnable"
disabled
:loading="testLoading"
>测试连通
</el-button>
@ -113,6 +114,7 @@
style="width: 100px"
size="small"
type="number"
disabled
v-model="configQuery.syncTime"
splaceholder="请输入内容"
></el-input>
@ -120,7 +122,7 @@
<el-form-item label="延时上传(单位:分钟):">
<el-input
style="width: 100px"
size="small"
size="small" disabled
type="number"
v-model="configQuery.delaySyncTime"
splaceholder="请输入内容"
@ -129,7 +131,7 @@
<el-form-item label="数据下载时间间隔(单位:分钟):">
<el-input
style="width: 100px"
size="small"
size="small" disabled
type="number"
v-model="configQuery.syncDownloadTime"
splaceholder="请输入内容"
@ -383,7 +385,7 @@
size="small"
type="number"
v-model="configQuery.orderToInSyncTime"
:disabled="configQuery.downstreamEnable"
disabled
splaceholder="请输入内容"
></el-input>
</div>
@ -399,7 +401,7 @@
<el-button
type="primary"
size="small"
:disabled="configQuery.downstreamEnable"
disabled
@click="addToInBusTypeDialog()"
>添加扫码单据类型
</el-button>
@ -434,7 +436,7 @@
<el-button
type="text"
size="small"
:disabled="configQuery.downstreamEnable"
disabled
@click.native="removeToInBus(scope.$index, scope.row)"
>移除
</el-button>
@ -465,7 +467,7 @@
size="small"
type="number"
v-model="configQuery.orderSyncTime"
:disabled="configQuery.downstreamEnable"
disabled
splaceholder="请输入内容"
></el-input>
@ -477,7 +479,7 @@
size="small"
type="number"
v-model="configQuery.orderSyncDlTime"
:disabled="configQuery.downstreamEnable"
disabled
splaceholder="请输入内容"
></el-input>
</div>
@ -493,7 +495,7 @@
<el-button
type="primary"
size="small"
:disabled="configQuery.downstreamEnable"
disabled
@click="addBusTypeDialog()"
>添加扫码单据类型
</el-button>
@ -528,7 +530,7 @@
<el-button
type="text"
size="small"
:disabled="configQuery.downstreamEnable"
disabled
@click.native="remveBus(scope.$index, scope.row)"
>移除
</el-button>
@ -555,7 +557,7 @@
<el-button
type="primary"
size="small"
:disabled="configQuery.downstreamEnable"
disabled
@click="addChangeBusTypeDialog()"
>添加业务单据类型
</el-button>
@ -589,7 +591,7 @@
<el-button
type="text"
size="small"
:disabled="configQuery.downstreamEnable"
disabled
@click.native="removeChangeBus(scope.$index, scope.row)"
>移除
</el-button>
@ -608,7 +610,7 @@
v-if="addBusToInDialogVisible"
>
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
<el-button type="primary" size="small" @click="addToInBusType()"
<el-button type="primary" size="small" @click="addToInBusType()" disabled
>选入
</el-button>
</div>
@ -653,7 +655,7 @@
v-if="addBusDialogVisible"
>
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
<el-button type="primary" size="small" @click="addBusType()"
<el-button type="primary" size="small" @click="addBusType()" disabled
>选入
</el-button>
</div>
@ -699,7 +701,7 @@
v-if="addChangeBusDialogVisible"
>
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
<el-button type="primary" size="small" @click="addChangeBusType()"
<el-button type="primary" size="small" @click="addChangeBusType()" disabled
>选入
</el-button>
</div>
@ -863,7 +865,8 @@ export default {
this.loading = false;
});
})
.catch(() => {});
.catch(() => {
});
},
testConnect() {
@ -896,7 +899,8 @@ export default {
this.busTypes = response.data.list || [];
this.total = response.data.total || 0;
})
.catch(() => {});
.catch(() => {
});
},
addBusTypeDialog() {

Loading…
Cancel
Save