同步设置 下拉框禁用

ywj_dev
CTP 2 years ago
parent 6f47023516
commit c6923e7bf5

@ -7,8 +7,7 @@
<template slot="extra">
<el-button type="primary" size="small" @click="saveConfig()"
>保存
</el-button
>
</el-button>
</template>
<el-descriptions-item>
<template slot="label"> 同步服务</template>
@ -65,7 +64,7 @@
<!-- 参数设置 -->
<el-descriptions-item>
<template slot="label"> 参数设置</template>
<el-row :gutter="20" class="el-row" type="flex">
<!-- <el-row :gutter="20" class="el-row" type="flex">
<el-col :span="20" class="el-col">
<div>
<span>数据上传时间间隔(单位:分钟):&nbsp;</span>
@ -102,12 +101,51 @@
></el-input>
</div>
</el-col>
</el-row>
</el-row> -->
<el-form
label-positiom="right"
label-width="200px"
:inline="true"
disabled
>
<el-form-item label="数据上传时间间隔(单位:分钟):">
<el-input
style="width: 100px"
size="small"
type="number"
v-model="configQuery.syncTime"
splaceholder="请输入内容"
></el-input>
</el-form-item>
<el-form-item label="延时上传(单位:分钟):">
<el-input
style="width: 100px"
size="small"
type="number"
v-model="configQuery.delaySyncTime"
splaceholder="请输入内容"
></el-input>
</el-form-item>
<el-form-item label="数据下载时间间隔(单位:分钟):">
<el-input
style="width: 100px"
size="small"
type="number"
v-model="configQuery.syncDownloadTime"
splaceholder="请输入内容"
></el-input>
</el-form-item>
</el-form>
</el-descriptions-item>
<!-- 系统设置信息 -->
<el-descriptions-item>
<template slot="label"> 系统设置信息</template>
<el-form label-positiom="right" label-width="200px" :inline="true">
<el-form
label-positiom="right"
label-width="200px"
:inline="true"
disabled
>
<el-form-item label="系统运行参数">
<el-select v-model="configQuery.systemConfig">
<el-option :value="0" label="不同步"></el-option>
@ -132,7 +170,12 @@
</el-select>
</el-form-item>
</el-form>
<el-form label-positiom="right" label-width="200px" :inline="true">
<el-form
label-positiom="right"
label-width="200px"
:inline="true"
disabled
>
<el-form-item label="自动建出入库单设置">
<el-select v-model="configQuery.scanChangeConfig">
<el-option :value="0" label="不同步"></el-option>
@ -153,7 +196,12 @@
<!-- 单据类型 -->
<el-descriptions-item>
<template slot="label"> 单据类型</template>
<el-form label-positiom="right" label-width="200px" :inline="true">
<el-form
label-positiom="right"
label-width="200px"
:inline="true"
disabled
>
<el-form-item label="业务单据类型">
<el-select v-model="configQuery.typeBus">
<el-option :value="0" label="不同步"></el-option>
@ -180,7 +228,12 @@
<!-- 用户信息 -->
<el-descriptions-item>
<template slot="label"> 用户信息</template>
<el-form label-positiom="right" label-width="200px" :inline="true">
<el-form
label-positiom="right"
label-width="200px"
:inline="true"
disabled
>
<el-form-item label="部门信息">
<el-select v-model="configQuery.basicDept">
<el-option :value="0" label="不同步"></el-option>
@ -207,7 +260,12 @@
<!-- 基础数据 -->
<el-descriptions-item>
<template slot="label"> 基础数据</template>
<el-form label-positiom="right" label-width="200px" :inline="true">
<el-form
label-positiom="right"
label-width="200px"
:inline="true"
disabled
>
<el-form-item label="耗材字典">
<el-select v-model="configQuery.basicProducts">
<el-option :value="0" label="不同步"></el-option>
@ -234,7 +292,12 @@
<!-- 第三方基础信息 -->
<el-descriptions-item>
<template slot="label"> 第三方基础信息</template>
<el-form label-positiom="right" label-width="200px" :inline="true">
<el-form
label-positiom="right"
label-width="200px"
:inline="true"
disabled
>
<el-form-item label="第三方产品信息">
<el-select v-model="configQuery.basicThirdProducts">
<el-option :value="0" label="不同步"></el-option>
@ -270,7 +333,12 @@
<!-- 国家库DI数据 -->
<el-descriptions-item>
<template slot="label"> 国家库DI数据</template>
<el-form label-positiom="right" label-width="200px" :inline="true">
<el-form
label-positiom="right"
label-width="200px"
:inline="true"
disabled
>
<el-form-item label="DI产品信息">
<el-select v-model="configQuery.dbDiProducts">
<el-option :value="0" label="不同步"></el-option>
@ -542,8 +610,7 @@
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
<el-button type="primary" size="small" @click="addToInBusType()"
>选入
</el-button
>
</el-button>
</div>
<el-table
:data="busTypes"
@ -588,8 +655,7 @@
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
<el-button type="primary" size="small" @click="addBusType()"
>选入
</el-button
>
</el-button>
</div>
<el-table
:data="busTypes"
@ -635,8 +701,7 @@
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
<el-button type="primary" size="small" @click="addChangeBusType()"
>选入
</el-button
>
</el-button>
</div>
<el-table
:data="changeBusTypes"
@ -681,8 +746,8 @@ import {
updateConfig,
} from "@/api/sync/spsSyncStatus";
import store from "@/store";
import {getBussinessType} from "@/api/basic/bussinessType";
import {getBusTypeChangeList} from "@/api/basic/busTypeChange";
import { getBussinessType } from "@/api/basic/bussinessType";
import { getBusTypeChangeList } from "@/api/basic/busTypeChange";
export default {
name: "SysUdimsConfig",
@ -798,8 +863,7 @@ export default {
this.loading = false;
});
})
.catch(() => {
});
.catch(() => {});
},
testConnect() {
@ -832,8 +896,7 @@ export default {
this.busTypes = response.data.list || [];
this.total = response.data.total || 0;
})
.catch(() => {
});
.catch(() => {});
},
addBusTypeDialog() {

@ -588,6 +588,7 @@ export default {
this.loading = false;
let depList = response.data.list || [];
this.list = this.handleTree(depList, "code", "pcode");
//
this.$nextTick(() => {
console.log(qwe);
if (qwe === null) {

Loading…
Cancel
Save