|
|
@ -6,11 +6,12 @@
|
|
|
|
<el-descriptions class="margin-top" :column="1" :size="100" border>
|
|
|
|
<el-descriptions class="margin-top" :column="1" :size="100" border>
|
|
|
|
<template slot="extra">
|
|
|
|
<template slot="extra">
|
|
|
|
<el-button type="primary" size="small" @click="saveConfig()"
|
|
|
|
<el-button type="primary" size="small" @click="saveConfig()"
|
|
|
|
>保存</el-button
|
|
|
|
>保存
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 同步服务 </template>
|
|
|
|
<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="6" class="el-col">
|
|
|
|
<el-col :span="6" class="el-col">
|
|
|
|
<el-switch
|
|
|
|
<el-switch
|
|
|
@ -30,7 +31,7 @@
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 地址设置 </template>
|
|
|
|
<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">
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
@ -59,11 +60,11 @@
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-collapse-item>
|
|
|
|
</el-collapse-item>
|
|
|
|
<!-- 上传值UDI自助平台基础数据 -->
|
|
|
|
<!-- 上传值UDI自助平台基础数据 -->
|
|
|
|
<el-collapse-item title="上传至UDI自助平台基础数据" name="2">
|
|
|
|
<el-collapse-item title="基础数据同步" name="2">
|
|
|
|
<el-descriptions class="margin-top" :column="1" :size="100" border>
|
|
|
|
<el-descriptions class="margin-top" :column="1" :size="100" border>
|
|
|
|
<!-- 参数设置 -->
|
|
|
|
<!-- 参数设置 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
<template slot="label"> 参数设置</template>
|
|
|
|
<el-form
|
|
|
|
<el-form
|
|
|
|
label-positiom="right"
|
|
|
|
label-positiom="right"
|
|
|
|
label-width="200px"
|
|
|
|
label-width="200px"
|
|
|
@ -101,7 +102,7 @@
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
<!-- 系统设置信息 -->
|
|
|
|
<!-- 系统设置信息 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 系统设置信息 </template>
|
|
|
|
<template slot="label"> 系统设置信息</template>
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
<el-form-item label="系统运行参数">
|
|
|
|
<el-form-item label="系统运行参数">
|
|
|
|
<el-select v-model="configQuery.systemConfig">
|
|
|
|
<el-select v-model="configQuery.systemConfig">
|
|
|
@ -147,7 +148,7 @@
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
<!-- 单据类型 -->
|
|
|
|
<!-- 单据类型 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 单据类型 </template>
|
|
|
|
<template slot="label"> 单据类型</template>
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
<el-form-item label="业务单据类型">
|
|
|
|
<el-form-item label="业务单据类型">
|
|
|
|
<el-select v-model="configQuery.typeBus">
|
|
|
|
<el-select v-model="configQuery.typeBus">
|
|
|
@ -174,7 +175,7 @@
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
<!-- 用户信息 -->
|
|
|
|
<!-- 用户信息 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 用户信息 </template>
|
|
|
|
<template slot="label"> 用户信息</template>
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
<el-form-item label="部门信息">
|
|
|
|
<el-form-item label="部门信息">
|
|
|
|
<el-select v-model="configQuery.basicDept">
|
|
|
|
<el-select v-model="configQuery.basicDept">
|
|
|
@ -201,7 +202,7 @@
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
<!-- 基础数据 -->
|
|
|
|
<!-- 基础数据 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 基础数据 </template>
|
|
|
|
<template slot="label"> 基础数据</template>
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
<el-form-item label="耗材字典">
|
|
|
|
<el-form-item label="耗材字典">
|
|
|
|
<el-select v-model="configQuery.basicProducts">
|
|
|
|
<el-select v-model="configQuery.basicProducts">
|
|
|
@ -226,9 +227,30 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
|
|
|
<template slot="label"> 其他数据</template>
|
|
|
|
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
|
|
|
|
<el-form-item label="UDI码补齐数据">
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.udiCodeLost">
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="UDI关联关系">
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.udiCodeRel">
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 第三方基础信息 -->
|
|
|
|
<!-- 第三方基础信息 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 第三方基础信息 </template>
|
|
|
|
<template slot="label"> 第三方基础信息</template>
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
<el-form label-positiom="right" label-width="200px" :inline="true">
|
|
|
|
<el-form-item label="第三方产品信息">
|
|
|
|
<el-form-item label="第三方产品信息">
|
|
|
|
<el-select v-model="configQuery.basicThirdProducts">
|
|
|
|
<el-select v-model="configQuery.basicThirdProducts">
|
|
|
@ -264,7 +286,7 @@
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
<!-- 国家库DI数据 -->
|
|
|
|
<!-- 国家库DI数据 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 国家库DI数据 </template>
|
|
|
|
<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">
|
|
|
|
<el-form-item label="DI产品信息">
|
|
|
|
<el-form-item label="DI产品信息">
|
|
|
|
<el-select v-model="configQuery.dbDiProducts">
|
|
|
|
<el-select v-model="configQuery.dbDiProducts">
|
|
|
@ -299,7 +321,7 @@
|
|
|
|
border
|
|
|
|
border
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
<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">
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
@ -381,7 +403,7 @@
|
|
|
|
border
|
|
|
|
border
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
<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">
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
@ -505,9 +527,9 @@
|
|
|
|
v-model="scope.row.orderStatus"
|
|
|
|
v-model="scope.row.orderStatus"
|
|
|
|
placeholder="请选择单据状态"
|
|
|
|
placeholder="请选择单据状态"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-option label="待校验" :value="1">草稿</el-option>
|
|
|
|
<el-option label="草稿" :value="1">草稿</el-option>
|
|
|
|
<el-option label="待核对" :value="2">未审核</el-option>
|
|
|
|
<el-option label="未审核" :value="2">未审核</el-option>
|
|
|
|
<el-option label="待审核" :value="3">已审核</el-option>
|
|
|
|
<el-option label="已审核" :value="3">已审核</el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
@ -536,7 +558,8 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
<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()"
|
|
|
|
>选入</el-button
|
|
|
|
>选入
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-table
|
|
|
|
<el-table
|
|
|
@ -581,7 +604,8 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
<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()"
|
|
|
|
>选入</el-button
|
|
|
|
>选入
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-table
|
|
|
|
<el-table
|
|
|
@ -627,7 +651,8 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
<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()"
|
|
|
|
>选入</el-button
|
|
|
|
>选入
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-table
|
|
|
|
<el-table
|
|
|
@ -673,8 +698,8 @@ import {
|
|
|
|
updateConfig,
|
|
|
|
updateConfig,
|
|
|
|
} from "@/api/sync/spsSyncStatus";
|
|
|
|
} from "@/api/sync/spsSyncStatus";
|
|
|
|
import store from "@/store";
|
|
|
|
import store from "@/store";
|
|
|
|
import { getBussinessType } from "@/api/basic/bussinessType";
|
|
|
|
import {getBussinessType} from "@/api/basic/bussinessType";
|
|
|
|
import { getBusTypeChangeList } from "@/api/basic/busTypeChange";
|
|
|
|
import {getBusTypeChangeList} from "@/api/basic/busTypeChange";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "SysUdimsConfig",
|
|
|
|
name: "SysUdimsConfig",
|
|
|
@ -720,6 +745,8 @@ export default {
|
|
|
|
printConfig: null,
|
|
|
|
printConfig: null,
|
|
|
|
scanChangeConfig: null,
|
|
|
|
scanChangeConfig: null,
|
|
|
|
busChangeConfig: null,
|
|
|
|
busChangeConfig: null,
|
|
|
|
|
|
|
|
udiCodeLost: null,
|
|
|
|
|
|
|
|
udiCodeRel: null,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
checkedBusTypes: [],
|
|
|
|
checkedBusTypes: [],
|
|
|
|
checkedToInBusTypes: [],
|
|
|
|
checkedToInBusTypes: [],
|
|
|
@ -789,7 +816,8 @@ export default {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {});
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
testConnect() {
|
|
|
|
testConnect() {
|
|
|
@ -822,7 +850,8 @@ export default {
|
|
|
|
this.busTypes = response.data.list || [];
|
|
|
|
this.busTypes = response.data.list || [];
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {});
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
addBusTypeDialog() {
|
|
|
|
addBusTypeDialog() {
|
|
|
@ -887,9 +916,9 @@ export default {
|
|
|
|
let selectData = this.changeBusTypeSelection;
|
|
|
|
let selectData = this.changeBusTypeSelection;
|
|
|
|
selectData.forEach((obj) => {
|
|
|
|
selectData.forEach((obj) => {
|
|
|
|
obj.outChange = false;
|
|
|
|
obj.outChange = false;
|
|
|
|
obj.orderStatus = 7;
|
|
|
|
obj.orderStatus = 3;
|
|
|
|
let isPut = true;
|
|
|
|
let isPut = true;
|
|
|
|
for (let i = 0; i < this.checkedBusTypes.length; i++) {
|
|
|
|
for (let i = 0; i < this.checkedChangeBusTypes.length; i++) {
|
|
|
|
if (this.checkedChangeBusTypes[i].action == obj.action) {
|
|
|
|
if (this.checkedChangeBusTypes[i].action == obj.action) {
|
|
|
|
isPut = false;
|
|
|
|
isPut = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -948,6 +977,7 @@ export default {
|
|
|
|
/deep/ .el-select {
|
|
|
|
/deep/ .el-select {
|
|
|
|
width: 100px;
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/deep/ .el-collapse-item__header {
|
|
|
|
/deep/ .el-collapse-item__header {
|
|
|
|
font-size: 18px;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: bold;
|
|
|
|
font-weight: bold;
|
|
|
|