|
|
@ -1,8 +1,12 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<el-card>
|
|
|
|
<el-card>
|
|
|
|
<el-collapse v-model="activeNames" @change="handleChange">
|
|
|
|
<el-descriptions
|
|
|
|
<el-collapse-item title="数据同步设置" name="1">
|
|
|
|
class="margin-top"
|
|
|
|
<el-descriptions class="margin-top" :column="1" :size="100" border>
|
|
|
|
title="数据同步设置"
|
|
|
|
|
|
|
|
: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
|
|
|
@ -56,10 +60,15 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-collapse-item>
|
|
|
|
<el-descriptions
|
|
|
|
|
|
|
|
class="margin-top"
|
|
|
|
<el-collapse-item title="上传至UDI自助平台基础数据" name="2">
|
|
|
|
title="上传至UDI自助平台基础数据"
|
|
|
|
<el-descriptions class="margin-top" :column="1" :size="100" border>
|
|
|
|
:column="1"
|
|
|
|
|
|
|
|
:size="100"
|
|
|
|
|
|
|
|
style="margin-top: 40px"
|
|
|
|
|
|
|
|
border
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<!-- 参数设置 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
|
|
|
|
|
|
|
@ -75,9 +84,7 @@
|
|
|
|
:disabled="configQuery.downstreamEnable"
|
|
|
|
:disabled="configQuery.downstreamEnable"
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
></el-input>
|
|
|
|
></el-input>
|
|
|
|
<span style="margin-left: 30px"
|
|
|
|
<span style="margin-left: 30px">延时上传(单位:分钟): </span>
|
|
|
|
>延时上传(单位:分钟): </span
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
style="width: 100px"
|
|
|
|
style="width: 100px"
|
|
|
|
size="small"
|
|
|
|
size="small"
|
|
|
@ -102,166 +109,294 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<!-- 系统设置信息 -->
|
|
|
|
<!-- <el-descriptions-item>-->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<!-- <template slot="label">-->
|
|
|
|
<template slot="label"> 系统设置信息 </template>
|
|
|
|
<!-- 运行参数-->
|
|
|
|
<el-row type="flex" justify="space-between">
|
|
|
|
<!-- </template>-->
|
|
|
|
<div>
|
|
|
|
<!-- <el-checkbox v-model="configQuery.entrustAction" :disabled="configQuery.downstreamEnable">委托验收-->
|
|
|
|
<span style="margin-right: 5px">系统运行参数</span>
|
|
|
|
<!-- </el-checkbox>-->
|
|
|
|
<el-select v-model="configQuery.systemConfig" clearable>
|
|
|
|
<!-- </el-descriptions-item>-->
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span style="margin-right: 5px">委托验收</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.entrustAction" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span style="margin-right: 5px">打印设置</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.printConfig" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span style="margin-right: 5px">自动建出入库单设置</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.scanChangeConfig" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span style="margin-right: 5px">自动建业务单设置</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.busChangeConfig" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<!-- 单据类型 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 单据类型 </template>
|
|
|
|
<template slot="label"> 单据类型 </template>
|
|
|
|
<!-- <el-checkbox v-model="configQuery.typeBus" :disabled="configQuery.downstreamEnable">业务单据类型</el-checkbox>
|
|
|
|
<el-row type="flex" justify="space-between">
|
|
|
|
<el-checkbox v-model="configQuery.typeScan" :disabled="configQuery.downstreamEnable">扫码单据类型</el-checkbox>
|
|
|
|
<div>
|
|
|
|
<el-checkbox v-model="configQuery.typeThird" :disabled="configQuery.downstreamEnable">第三方单据类型</el-checkbox> -->
|
|
|
|
<span style="margin-right: 5px">业务单据类型</span>
|
|
|
|
<el-form
|
|
|
|
<el-select v-model="configQuery.typeBus" clearable>
|
|
|
|
:model="configQuery"
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
:label-position="labelPosition"
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
label-width="120px"
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
>
|
|
|
|
</el-select>
|
|
|
|
<el-form-item label="业务单据类型">
|
|
|
|
</div>
|
|
|
|
<el-select
|
|
|
|
<div>
|
|
|
|
v-model="configQuery.typeBus"
|
|
|
|
<span style="margin-right: 5px">扫码单据类型</span>
|
|
|
|
placeholder="请选择同步方式"
|
|
|
|
<el-select v-model="configQuery.typeScan" clearable>
|
|
|
|
>
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
<el-option label="不同步" :value="0"></el-option>
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
<el-option label="由内到外" :value="1"></el-option>
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
<el-option label="由外到内" :value="2"></el-option>
|
|
|
|
|
|
|
|
</el-select> </el-form-item
|
|
|
|
|
|
|
|
><el-form-item label="扫码单据类型">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="configQuery.typeScan"
|
|
|
|
|
|
|
|
placeholder="请选择同步方式"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option label="不同步" :value="0"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由内到外" :value="1"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由外到内" :value="2"></el-option>
|
|
|
|
|
|
|
|
</el-select> </el-form-item
|
|
|
|
|
|
|
|
><el-form-item label="第三方单据类型">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="configQuery.typeThird"
|
|
|
|
|
|
|
|
placeholder="请选择同步方式"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option label="不同步" :value="0"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由内到外" :value="1"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由外到内" :value="2"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</div>
|
|
|
|
</el-form>
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span style="margin-right: 5px">第三方单据类型</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.typeThird" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<!-- 用户信息 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 基础信息 </template>
|
|
|
|
<template slot="label"> 用户信息 </template>
|
|
|
|
<!-- <el-checkbox v-model="configQuery.basicProducts" :disabled="configQuery.downstreamEnable">耗材字典-->
|
|
|
|
<el-row type="flex" justify="space-between">
|
|
|
|
<!-- </el-checkbox>-->
|
|
|
|
<div>
|
|
|
|
<!-- <el-checkbox v-model="configQuery.basicCorp" :disabled="configQuery.downstreamEnable">往来单位字典-->
|
|
|
|
<span style="margin-right: 5px">部门信息</span>
|
|
|
|
<!-- </el-checkbox>-->
|
|
|
|
<el-select v-model="configQuery.basicDept" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
<!-- <el-checkbox v-model="configQuery.basicDept" :disabled="configQuery.downstreamEnable" >部门信息</el-checkbox >
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
<el-checkbox v-model="configQuery.basicInv" :disabled="configQuery.downstreamEnable" >仓库字典</el-checkbox >
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
<el-checkbox v-model="configQuery.sysUser" :disabled="configQuery.downstreamEnable" >用户信息</el-checkbox > -->
|
|
|
|
</el-select>
|
|
|
|
<el-form
|
|
|
|
</div>
|
|
|
|
:model="configQuery"
|
|
|
|
<div>
|
|
|
|
:label-position="labelPosition"
|
|
|
|
<span style="margin-right: 5px">仓库字典</span>
|
|
|
|
label-width="120px"
|
|
|
|
<el-select v-model="configQuery.basicInv" clearable>
|
|
|
|
>
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
<el-form-item label="部门信息">
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
<el-select v-model="configQuery.basicDept" placeholder="请选择">
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
<el-option label="不同步" :value="0"></el-option>
|
|
|
|
</el-select>
|
|
|
|
<el-option label="由内到外" :value="1"></el-option>
|
|
|
|
</div>
|
|
|
|
<el-option label="由外到内" :value="2"></el-option>
|
|
|
|
<div>
|
|
|
|
</el-select> </el-form-item
|
|
|
|
<span style="margin-right: 5px">用户信息</span>
|
|
|
|
><el-form-item label="仓库字典">
|
|
|
|
<el-select v-model="configQuery.sysUser" clearable>
|
|
|
|
<el-select v-model="configQuery.basicInv" placeholder="请选择">
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
<el-option label="不同步" :value="0"></el-option>
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
<el-option label="由内到外" :value="1"></el-option>
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
<el-option label="由外到内" :value="2"></el-option>
|
|
|
|
|
|
|
|
</el-select> </el-form-item
|
|
|
|
|
|
|
|
><el-form-item label="用户信息">
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.sysUser" placeholder="请选择">
|
|
|
|
|
|
|
|
<el-option label="不同步" :value="0"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由内到外" :value="1"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由外到内" :value="2"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</div>
|
|
|
|
</el-form>
|
|
|
|
</el-row>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<!-- 基础数据 -->
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
|
|
|
<template slot="label"> 基础数据 </template>
|
|
|
|
|
|
|
|
<el-row type="flex" justify="space-between">
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span style="margin-right: 5px">耗材字典</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.basicProducts" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span style="margin-right: 5px">往来单位字典</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.basicCorp" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span style="margin-right: 5px">首营资质信息</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.supCert" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<!-- 第三方基础信息 -->
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 第三方基础信息 </template>
|
|
|
|
<template slot="label"> 第三方基础信息 </template>
|
|
|
|
<!-- <el-checkbox v-model="configQuery.basicThirdProducts" :disabled="configQuery.downstreamEnable" >第三方产品信息 </el-checkbox>
|
|
|
|
<el-row type="flex" justify="space-between">
|
|
|
|
<el-checkbox v-model="configQuery.basicThirdCorp" :disabled="configQuery.downstreamEnable" >第三方往来信息 </el-checkbox>
|
|
|
|
<div>
|
|
|
|
<el-checkbox v-model="configQuery.basicThirdInv" :disabled="configQuery.downstreamEnable" >第三方仓库信息 </el-checkbox>
|
|
|
|
<span style="margin-right: 5px">第三方产品信息</span>
|
|
|
|
<el-checkbox v-model="configQuery.basicThirdBusOrder" :disabled="configQuery.downstreamEnable" >第三方业务单据 </el-checkbox> -->
|
|
|
|
<el-select v-model="configQuery.basicThirdProducts" clearable>
|
|
|
|
<el-form
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
:model="configQuery"
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
:label-position="labelPosition"
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
label-width="120px"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-form-item label="第三方产品信息">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="configQuery.basicThirdProducts"
|
|
|
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option label="不同步" :value="0"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由内到外" :value="1"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由外到内" :value="2"></el-option>
|
|
|
|
|
|
|
|
</el-select> </el-form-item
|
|
|
|
|
|
|
|
><el-form-item label="第三方往来信息">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="configQuery.basicThirdCorp"
|
|
|
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option label="不同步" :value="0"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由内到外" :value="1"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由外到内" :value="2"></el-option>
|
|
|
|
|
|
|
|
</el-select> </el-form-item
|
|
|
|
|
|
|
|
><el-form-item label="第三方仓库信息">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="configQuery.basicThirdInv"
|
|
|
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option label="不同步" :value="0"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由内到外" :value="1"></el-option>
|
|
|
|
|
|
|
|
<el-option label="由外到内" :value="2"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</div>
|
|
|
|
<el-form-item label="第三方业务单据">
|
|
|
|
<div>
|
|
|
|
<el-select
|
|
|
|
<span style="margin-right: 5px">第三方往来信息</span>
|
|
|
|
v-model="configQuery.basicThirdBusOrder"
|
|
|
|
<el-select v-model="configQuery.basicThirdCorp" clearable>
|
|
|
|
placeholder="请选择"
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
>
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
<el-option label="不同步" :value="0"></el-option>
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
<el-option label="由内到外" :value="1"></el-option>
|
|
|
|
</el-select>
|
|
|
|
<el-option label="由外到内" :value="2"></el-option>
|
|
|
|
</div>
|
|
|
|
</el-select> </el-form-item
|
|
|
|
<div>
|
|
|
|
>,
|
|
|
|
<span style="margin-right: 5px">第三方仓库信息</span>
|
|
|
|
</el-form>
|
|
|
|
<el-select v-model="configQuery.basicThirdInv" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span style="margin-right: 5px">第三方业务单据</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.basicThirdBusOrder" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<!-- 国家库DI数据 -->
|
|
|
|
<!-- <el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label">
|
|
|
|
<template slot="label"> 国家库DI数据 </template>
|
|
|
|
国家库DI数据
|
|
|
|
<el-row type="flex" justify="space-between">
|
|
|
|
</template>
|
|
|
|
<div>
|
|
|
|
<el-checkbox v-model="configQuery.dbDiProducts">DI产品信息</el-checkbox>
|
|
|
|
<span style="margin-right: 5px">DI产品信息</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.dbDiProducts" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span style="margin-right: 5px">医疗器械注册人</span>
|
|
|
|
|
|
|
|
<el-select v-model="configQuery.dbDiProducts" clearable>
|
|
|
|
|
|
|
|
<el-option :value="0" label="不同步"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="1" label="由内向外"></el-option>
|
|
|
|
|
|
|
|
<el-option :value="2" label="由外向内"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
<!-- <el-checkbox v-model="configQuery.dbDiProducts">DI产品信息</el-checkbox>
|
|
|
|
|
|
|
|
<el-checkbox v-model="configQuery.dbDiProducts"
|
|
|
|
|
|
|
|
>医疗器械注册人</el-checkbox
|
|
|
|
|
|
|
|
> -->
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-descriptions
|
|
|
|
|
|
|
|
class="margin-top"
|
|
|
|
|
|
|
|
title="UDI自助平台同步至UDI管理系统扫码单据"
|
|
|
|
|
|
|
|
:column="1"
|
|
|
|
|
|
|
|
:size="100"
|
|
|
|
|
|
|
|
style="margin-top: 40px"
|
|
|
|
|
|
|
|
border
|
|
|
|
|
|
|
|
>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label">
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
首营资质证书
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" class="el-row" type="flex">
|
|
|
|
|
|
|
|
<el-col :span="20" class="el-col">
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span>单据上传时间间隔(单位:分钟): </span>
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
style="width: 100px"
|
|
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
|
|
type="number"
|
|
|
|
|
|
|
|
v-model="configQuery.orderToInSyncTime"
|
|
|
|
|
|
|
|
:disabled="configQuery.downstreamEnable"
|
|
|
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
|
|
|
></el-input>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-descriptions-item label="单据(单据类型)" label-style="width: 150px">
|
|
|
|
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
|
|
:disabled="configQuery.downstreamEnable"
|
|
|
|
|
|
|
|
@click="addToInBusTypeDialog()"
|
|
|
|
|
|
|
|
>添加扫码单据类型
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<el-table :data="checkedToInBusTypes" border style="width: 100%">
|
|
|
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="单据类型"
|
|
|
|
|
|
|
|
prop="name"
|
|
|
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="单据类型代码"
|
|
|
|
|
|
|
|
prop="action"
|
|
|
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column width="250" label="单据状态">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="scope.row.orderStatus"
|
|
|
|
|
|
|
|
placeholder="请选择单据状态"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option label="待校验" :value="3">待校验</el-option>
|
|
|
|
|
|
|
|
<el-option label="待核对" :value="5">待核对</el-option>
|
|
|
|
|
|
|
|
<el-option label="待审核" :value="10">待审核</el-option>
|
|
|
|
|
|
|
|
<el-option label="已审核" :value="7">已审核</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<el-checkbox v-model="configQuery.companyCert" :disabled="configQuery.downstreamEnable">配送企业
|
|
|
|
</el-table-column>
|
|
|
|
</el-checkbox>
|
|
|
|
<el-table-column label="操作" fixed="right">
|
|
|
|
<el-checkbox v-model="configQuery.manufacturerCert" :disabled="configQuery.downstreamEnable">生产企业
|
|
|
|
<template slot-scope="scope">
|
|
|
|
</el-checkbox>
|
|
|
|
<el-button
|
|
|
|
<el-checkbox v-model="configQuery.productCert" :disabled="configQuery.downstreamEnable">配送产品
|
|
|
|
type="text"
|
|
|
|
</el-checkbox>
|
|
|
|
size="small"
|
|
|
|
</el-descriptions-item> -->
|
|
|
|
:disabled="configQuery.downstreamEnable"
|
|
|
|
|
|
|
|
@click.native="removeToInBus(scope.$index, scope.row)"
|
|
|
|
|
|
|
|
>移除
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-collapse-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-collapse-item title="上传至UDI自助平台扫码单据" name="3">
|
|
|
|
<el-descriptions
|
|
|
|
<el-descriptions class="margin-top" :column="1" :size="100" border>
|
|
|
|
class="margin-top"
|
|
|
|
|
|
|
|
title="UDI管理系统同步至UDI自助平台扫码单据"
|
|
|
|
|
|
|
|
:column="1"
|
|
|
|
|
|
|
|
:size="100"
|
|
|
|
|
|
|
|
style="margin-top: 40px"
|
|
|
|
|
|
|
|
border
|
|
|
|
|
|
|
|
>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<el-descriptions-item>
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
<template slot="label"> 参数设置 </template>
|
|
|
|
|
|
|
|
|
|
|
@ -294,10 +429,7 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
|
|
|
|
<el-descriptions-item
|
|
|
|
<el-descriptions-item label="单据(单据类型)" label-style="width: 150px">
|
|
|
|
label="单据(单据类型)"
|
|
|
|
|
|
|
|
label-style="width: 150px"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
@ -346,14 +478,16 @@
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-collapse-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-collapse-item title="上传至UDI自助平台业务单据" name="4">
|
|
|
|
<el-descriptions
|
|
|
|
<el-descriptions class="margin-top" :column="1" :size="100" border>
|
|
|
|
class="margin-top"
|
|
|
|
<el-descriptions-item
|
|
|
|
title="UDI管理系统同步至UDI自助平台业务单据"
|
|
|
|
label="单据(单据类型)"
|
|
|
|
:column="1"
|
|
|
|
label-style="width: 150px"
|
|
|
|
:size="100"
|
|
|
|
|
|
|
|
style="margin-top: 40px"
|
|
|
|
|
|
|
|
border
|
|
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-descriptions-item label="单据(单据类型)" label-style="width: 150px">
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
@ -401,8 +535,52 @@
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-collapse-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
|
|
|
title="添加扫码单据类型"
|
|
|
|
|
|
|
|
:visible.sync="addBusToInDialogVisible"
|
|
|
|
|
|
|
|
width="55%"
|
|
|
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
|
|
|
v-if="addBusToInDialogVisible"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div style="float: right; margin-bottom: 10px; margin-right: 25px">
|
|
|
|
|
|
|
|
<el-button type="primary" size="small" @click="addToInBusType()"
|
|
|
|
|
|
|
|
>选入</el-button
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<el-table
|
|
|
|
|
|
|
|
:data="busTypes"
|
|
|
|
|
|
|
|
border
|
|
|
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
|
|
|
@selection-change="handleToInCheckedChange"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
type="selection"
|
|
|
|
|
|
|
|
width="55"
|
|
|
|
|
|
|
|
:selectable="checkSelectable"
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="单据类型"
|
|
|
|
|
|
|
|
prop="name"
|
|
|
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="单据类型代码"
|
|
|
|
|
|
|
|
prop="action"
|
|
|
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-pagination
|
|
|
|
|
|
|
|
:page-size="busQuery.limit"
|
|
|
|
|
|
|
|
@current-change="handleCurrentChange"
|
|
|
|
|
|
|
|
layout="prev, pager, next"
|
|
|
|
|
|
|
|
:total="total"
|
|
|
|
|
|
|
|
:current-page="busQuery.page"
|
|
|
|
|
|
|
|
></el-pagination>
|
|
|
|
|
|
|
|
</el-dialog>
|
|
|
|
<el-dialog
|
|
|
|
<el-dialog
|
|
|
|
title="添加扫码单据类型"
|
|
|
|
title="添加扫码单据类型"
|
|
|
|
:visible.sync="addBusDialogVisible"
|
|
|
|
:visible.sync="addBusDialogVisible"
|
|
|
@ -494,7 +672,6 @@
|
|
|
|
:current-page="changeBusQuery.page"
|
|
|
|
:current-page="changeBusQuery.page"
|
|
|
|
></el-pagination>
|
|
|
|
></el-pagination>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
</el-collapse>
|
|
|
|
|
|
|
|
</el-card>
|
|
|
|
</el-card>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
@ -512,8 +689,6 @@ export default {
|
|
|
|
name: "SysUdimsConfig",
|
|
|
|
name: "SysUdimsConfig",
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
labelPosition: "right",
|
|
|
|
|
|
|
|
activeNames: ["1"],
|
|
|
|
|
|
|
|
configQuery: {
|
|
|
|
configQuery: {
|
|
|
|
id: null,
|
|
|
|
id: null,
|
|
|
|
typeBus: null,
|
|
|
|
typeBus: null,
|
|
|
@ -535,17 +710,26 @@ export default {
|
|
|
|
orderUnCheck: null,
|
|
|
|
orderUnCheck: null,
|
|
|
|
orderUnReceive: null,
|
|
|
|
orderUnReceive: null,
|
|
|
|
sysUser: null,
|
|
|
|
sysUser: null,
|
|
|
|
|
|
|
|
orderToInSyncTime: null,
|
|
|
|
orderSyncTime: null,
|
|
|
|
orderSyncTime: null,
|
|
|
|
orderSyncDlTime: null,
|
|
|
|
orderSyncDlTime: null,
|
|
|
|
delaySyncTime: null,
|
|
|
|
delaySyncTime: null,
|
|
|
|
busTypes: [],
|
|
|
|
busTypes: [],
|
|
|
|
|
|
|
|
toInBusTypes: [],
|
|
|
|
changeBusTypes: [],
|
|
|
|
changeBusTypes: [],
|
|
|
|
companyCert: null,
|
|
|
|
companyCert: null,
|
|
|
|
manufacturerCert: null,
|
|
|
|
manufacturerCert: null,
|
|
|
|
productCert: null,
|
|
|
|
productCert: null,
|
|
|
|
basicDept: null,
|
|
|
|
basicDept: null,
|
|
|
|
|
|
|
|
supCert: null,
|
|
|
|
|
|
|
|
systemConfig: null,
|
|
|
|
|
|
|
|
entrustAction: null,
|
|
|
|
|
|
|
|
printConfig: null,
|
|
|
|
|
|
|
|
scanChangeConfig: null,
|
|
|
|
|
|
|
|
busChangeConfig: null,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
checkedBusTypes: [],
|
|
|
|
checkedBusTypes: [],
|
|
|
|
|
|
|
|
checkedToInBusTypes: [],
|
|
|
|
checkedChangeBusTypes: [],
|
|
|
|
checkedChangeBusTypes: [],
|
|
|
|
busQuery: {
|
|
|
|
busQuery: {
|
|
|
|
page: 1,
|
|
|
|
page: 1,
|
|
|
@ -553,7 +737,9 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
busTypes: [],
|
|
|
|
busTypes: [],
|
|
|
|
multipleSelection: [],
|
|
|
|
multipleSelection: [],
|
|
|
|
|
|
|
|
toInSelecttions: [],
|
|
|
|
addBusDialogVisible: false,
|
|
|
|
addBusDialogVisible: false,
|
|
|
|
|
|
|
|
addBusToInDialogVisible: false,
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
testLoading: false,
|
|
|
|
testLoading: false,
|
|
|
|
addChangeBusDialogVisible: false,
|
|
|
|
addChangeBusDialogVisible: false,
|
|
|
@ -572,25 +758,11 @@ export default {
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
this.configQuery = response.data;
|
|
|
|
this.configQuery = response.data;
|
|
|
|
this.checkedBusTypes = this.configQuery.busTypes;
|
|
|
|
this.checkedBusTypes = this.configQuery.busTypes;
|
|
|
|
|
|
|
|
this.checkedToInBusTypes = this.configQuery.toInBusTypes;
|
|
|
|
this.checkedChangeBusTypes = this.configQuery.changeBusTypes;
|
|
|
|
this.checkedChangeBusTypes = this.configQuery.changeBusTypes;
|
|
|
|
if (this.configQuery.busTypes != null) {
|
|
|
|
|
|
|
|
// for (let i = 0; i < this.configQuery.busTypes.length; i++) {
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// for (let k = 0; k < this.busTypes.length; k++) {
|
|
|
|
|
|
|
|
// if (this.busTypes[k].action == this.configQuery.busTypes[i]) {
|
|
|
|
|
|
|
|
// this.checkedBusTypes.push(this.busTypes[k]);
|
|
|
|
|
|
|
|
// this.busTypes[k].isSelect = true;
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {
|
|
|
|
.catch(() => {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
this.list = [];
|
|
|
|
|
|
|
|
this.total = 0;
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
saveConfig() {
|
|
|
|
saveConfig() {
|
|
|
@ -603,13 +775,13 @@ export default {
|
|
|
|
.then(() => {
|
|
|
|
.then(() => {
|
|
|
|
if (this.checkedBusTypes != null) {
|
|
|
|
if (this.checkedBusTypes != null) {
|
|
|
|
this.configQuery.busTypes = this.checkedBusTypes;
|
|
|
|
this.configQuery.busTypes = this.checkedBusTypes;
|
|
|
|
// for (let i = 0; i < this.checkedBusTypes.length; i++) {
|
|
|
|
|
|
|
|
// this.configQuery.busTypes.push(this.checkedBusTypes);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (this.checkedChangeBusTypes != null) {
|
|
|
|
if (this.checkedChangeBusTypes != null) {
|
|
|
|
this.configQuery.changeBusTypes = this.checkedChangeBusTypes;
|
|
|
|
this.configQuery.changeBusTypes = this.checkedChangeBusTypes;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (this.checkedToInBusTypes != null) {
|
|
|
|
|
|
|
|
this.configQuery.toInBusTypes = this.checkedToInBusTypes;
|
|
|
|
|
|
|
|
}
|
|
|
|
updateConfig(this.configQuery)
|
|
|
|
updateConfig(this.configQuery)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
@ -647,12 +819,15 @@ export default {
|
|
|
|
this.multipleSelection = val;
|
|
|
|
this.multipleSelection = val;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
handleToInCheckedChange(val) {
|
|
|
|
|
|
|
|
this.toInSelecttions = val;
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
getBusType() {
|
|
|
|
getBusType() {
|
|
|
|
getBussinessType(this.busQuery)
|
|
|
|
getBussinessType(this.busQuery)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
this.busTypes = response.data.list || [];
|
|
|
|
this.busTypes = response.data.list || [];
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
// this.getConfig();
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {});
|
|
|
|
.catch(() => {});
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -662,10 +837,33 @@ export default {
|
|
|
|
this.multipleSelection = [];
|
|
|
|
this.multipleSelection = [];
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addToInBusTypeDialog() {
|
|
|
|
|
|
|
|
this.addBusToInDialogVisible = true;
|
|
|
|
|
|
|
|
this.toInSelecttions = [];
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addToInBusType() {
|
|
|
|
|
|
|
|
var selectData = this.toInSelecttions;
|
|
|
|
|
|
|
|
selectData.forEach((obj) => {
|
|
|
|
|
|
|
|
obj.outChange = false;
|
|
|
|
|
|
|
|
obj.orderStatus = 7;
|
|
|
|
|
|
|
|
obj.direct = 2;
|
|
|
|
|
|
|
|
let isPut = true;
|
|
|
|
|
|
|
|
for (let i = 0; i < this.checkedToInBusTypes.length; i++) {
|
|
|
|
|
|
|
|
if (this.checkedToInBusTypes[i].action == obj.action) {
|
|
|
|
|
|
|
|
isPut = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (isPut) this.checkedToInBusTypes.push(obj);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
this.addBusToInDialogVisible = false;
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
addBusType() {
|
|
|
|
addBusType() {
|
|
|
|
var selectData = this.multipleSelection;
|
|
|
|
var selectData = this.multipleSelection;
|
|
|
|
selectData.forEach((obj) => {
|
|
|
|
selectData.forEach((obj) => {
|
|
|
|
obj.outChange = false;
|
|
|
|
obj.outChange = false;
|
|
|
|
|
|
|
|
obj.direct = 1;
|
|
|
|
obj.orderStatus = 7;
|
|
|
|
obj.orderStatus = 7;
|
|
|
|
let isPut = true;
|
|
|
|
let isPut = true;
|
|
|
|
for (let i = 0; i < this.checkedBusTypes.length; i++) {
|
|
|
|
for (let i = 0; i < this.checkedBusTypes.length; i++) {
|
|
|
@ -680,6 +878,11 @@ export default {
|
|
|
|
remveBus(index, row) {
|
|
|
|
remveBus(index, row) {
|
|
|
|
this.checkedBusTypes.splice(index, 1);
|
|
|
|
this.checkedBusTypes.splice(index, 1);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
removeToInBus(index, row) {
|
|
|
|
|
|
|
|
this.checkedToInBusTypes.splice(index, 1);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
checkSelectable(row) {
|
|
|
|
checkSelectable(row) {
|
|
|
|
return !row.isSelect;
|
|
|
|
return !row.isSelect;
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -749,36 +952,7 @@ export default {
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
<style scoped>
|
|
|
|
/deep/ .el-collapse-item__header {
|
|
|
|
/deep/ .el-select {
|
|
|
|
display: -webkit-box;
|
|
|
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
height: 48px;
|
|
|
|
|
|
|
|
line-height: 48px;
|
|
|
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
|
|
|
color: #000610;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
border-bottom: 1px solid #e6ebf5;
|
|
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
|
|
-webkit-transition: border-bottom-color 0.3s;
|
|
|
|
|
|
|
|
transition: border-bottom-color 0.3s;
|
|
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/deep/ .el-collapse-item__content {
|
|
|
|
|
|
|
|
padding-bottom: 10px;
|
|
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
|
|
color: #303133;
|
|
|
|
|
|
|
|
line-height: 1.7692307692;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.el-select {
|
|
|
|
|
|
|
|
width: 100px;
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.el-collapse-item {
|
|
|
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|