耗材字典维护,本企业选入数据带入,登录相关字段修改,库存查询字典与列表显示字段修改

ywj_dev
anthonywj 2 years ago
parent e89c1cf309
commit d52241145e

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = UDI自助平台
VUE_APP_TITLE = 供应商自助管理系统
# 开发环境配置
ENV = 'development'

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = UDI自助平台
VUE_APP_TITLE = 供应商自助管理系统
# 生产环境配置
ENV = 'production'

@ -9,7 +9,7 @@
<template v-if="device!=='mobile'">
<div class="inv-hos-title">
<span style="font-weight: bold;color: #303133;">平潭协和医院</span>
<span style="font-weight: bold;color: #303133;">协和医院平潭分</span>
<span
style="margin-right: 18px;margin-left:8px;color: #2d8cf0;font-size: 14px;">({{ inv }})</span>

@ -13,7 +13,7 @@
</el-tree>
</div>
</el-col>
<el-col :span="21" style="border-left: 1px solid #dddddd">
<el-col :span="21" style="border-left: 3px solid #dddddd">
<el-form :model="filterQuery" size="mini" label-width="100px" v-show="showSearch">
<el-row>
<el-col :span="18">
@ -102,9 +102,9 @@
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="submit"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="editUdiType"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="intentImportUdi">DI</el-button>
<el-button type="primary" icon="el-icon-plus" @click="intentImportErp"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="editUdiType"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="intentImportUdi">DI</el-button>
<el-button type="primary" icon="el-icon-plus" @click="intentImportErp"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="intentDetail"></el-button>
</el-button-group>
</div>

@ -562,15 +562,14 @@
<template slot="label">
</template>
启用使用单元
是否必须维护资质材料
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
</template>
<el-radio-group v-model="checked">
<el-radio :label="true" :value="true">启用</el-radio>
<el-radio :label="false" :value="false">不启用</el-radio>
<el-radio-group v-model="editQuery.needCert">
<el-radio :label="true" :value="true"></el-radio>
<el-radio :label="false" :value="false"></el-radio>
</el-radio-group>
</el-descriptions-item>
<el-descriptions-item>
@ -578,8 +577,10 @@
<i class="el-icon-tickets"></i>
描述
</template>
启用使用单元
是否必须维护资质材料
</el-descriptions-item>
</el-descriptions>
</div>
@ -784,6 +785,7 @@ export default {
this.editSingleFormat.packUnit = temp.packUnit;
this.editSingleFormat.measname = temp.measname;
this.editSingleFormat.nameCode = temp.nameCode;
this.editSingleFormat.cpmctymc = temp.cpmctymc;
this.editSingleDiDialogVisible = true;
},
onAddSingleSubmit() {

@ -7,27 +7,59 @@
border
label-width="120px"
>
<el-row>
<el-col span="20">
<el-form-item label="产品标识:">
<el-input
disabled
style="width: 90%"
size="small"
splaceholder="请输入内容"
v-model="editQuery.nameCode"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col span="20">
<el-form-item label="产品通用名:">
<el-input
style="width: 90%"
size="small"
disabled
splaceholder="请输入内容"
v-model="editQuery.cpmctymc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-form-item label="商品条码:">
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
v-model="editQuery.sptm"
></el-input>
</el-form-item>
<el-col span="20">
<el-form-item label="商品条码:">
<el-input
style="width: 90%"
size="small"
splaceholder="请输入内容"
v-model="editQuery.sptm"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-form-item label="包装单位:">
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
v-model="editQuery.packUnit"
></el-input>
</el-form-item>
<el-col span="20">
<el-form-item label="包装单位:">
<el-input
style="width: 90%"
size="small"
splaceholder="请输入内容"
v-model="editQuery.packUnit"
></el-input>
</el-form-item>
</el-col>
</el-row>
<!-- <el-row>-->
<!-- <el-row>-->
<!-- <el-form-item label="计量单位:">-->
<!-- <el-input-->
<!-- style="width: 80%"-->

@ -36,7 +36,7 @@
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="最小包装单元内包含使用单元数量:">
<el-form-item label="使用单元数量:">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.zxxsbzbhsydysl"></el-input>
</el-form-item>
</el-col>

@ -421,7 +421,7 @@
<el-col :span="12" class="el-col">
<div class="text item">
<div class="itemTag">
<span>最小包装单元内包含使用单元数量:&nbsp;</span>
<span>使用单元数量:&nbsp;</span>
</div>
<el-input
style="width: 65%"

@ -3,28 +3,51 @@
<el-card class="el-card">
<el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" v-show="showSearch">
<el-row>
<el-col :span="4">
<el-form-item class="query-form-item" label="产品标识DI:">
<el-input v-model="filterQuery.nameCode" placeholder="产品标识DI"
style="width: 90%"
clearable="true"></el-input>
<el-col :span="20">
<el-form-item class="query-form-item" label-width="100px" label="UDI码:">
<el-input
id="inputer"
v-model="filterQuery.code"
placeholder="UDI码"
ref='inputRef'
@keypress.enter.native="enterKey($event)"
clearable
></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item class="query-form-item" label="产品名称:">
<el-input v-model="filterQuery.cpmctymc" placeholder="产品名称"
style="width: 90%"
clearable="true"></el-input>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item class="query-form-item" label="所属仓库:">
<el-select v-model="filterQuery.invCode" placeholder="请选择所属仓库" clearable="true"
style="width: 90%"
>
<el-option
v-for="item in invList"
:key="item.name"
:label="item.name"
:value="item.code">
<span style="float: left">{{ item.name }}</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item class="query-form-item" label="批次号:">
<el-input v-model="filterQuery.batchNo" placeholder="批次号"
<el-col :span="6">
<el-form-item class="query-form-item" label="货位:">
<el-input v-model="filterQuery.nameCode" placeholder="货位"
style="width: 90%"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<!-- <el-col :span="6">-->
<!-- <el-form-item class="query-form-item" label="产品标识DI:">-->
<!-- <el-input v-model="filterQuery.nameCode" placeholder="产品标识DI"-->
<!-- style="width: 90%"-->
<!-- clearable="true"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="6">
<el-form-item class="query-form-item" label="供应商名称:">
<el-select
v-model="filterQuery.supId"
@ -50,43 +73,44 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item class="query-form-item" label="生产厂家:">
<el-input v-model="filterQuery.ylqxzcrbarmc" placeholder="生产厂家"
style="width: 90%"
clearable="true"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4">
<el-form-item class="query-form-item" label="规格型号:">
<el-input v-model="filterQuery.ggxh" placeholder="规格型号"
<el-col :span="6">
<el-form-item class="query-form-item" label="注册/备案号:">
<el-input v-model="filterQuery.zczbhhzbapzbh" placeholder="注册/备案号"
style="width: 90%"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item class="query-form-item" label="批准文号:">
<el-input v-model="filterQuery.zczbhhzbapzbh" placeholder="批准文号"
<el-col :span="6">
<el-form-item class="query-form-item" label="产品名称:">
<el-input v-model="filterQuery.cpmctymc" placeholder="产品名称"
style="width: 90%"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item class="query-form-item" label="生产厂家:">
<el-input v-model="filterQuery.ylqxzcrbarmc" placeholder="生产厂家"
<el-col :span="6">
<el-form-item class="query-form-item" label="规格型号:">
<el-input v-model="filterQuery.ggxh" placeholder="规格型号"
style="width: 90%"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item class="query-form-item" label="所属仓库:">
<el-select v-model="filterQuery.invCode" placeholder="请选择所属仓库" clearable="true"
style="width: 90%"
>
<el-option
v-for="item in invList"
:key="item.name"
:label="item.name"
:value="item.code">
<span style="float: left">{{ item.name }}</span>
</el-option>
</el-select>
<el-col :span="6">
<el-form-item class="query-form-item" label="批次号:">
<el-input v-model="filterQuery.batchNo" placeholder="批次号"
style="width: 90%"
clearable="true"></el-input>
</el-form-item>
</el-col>
</el-row>
@ -110,23 +134,28 @@
<el-table v-loading="loading" :data="list" style="width: 100%" highlight-current-row
border>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="产品标识" prop="nameCode"></el-table-column>
<el-table-column label="产品名称" prop="cpmctymc"></el-table-column>
<el-table-column label="仓库" prop="invName" v-if="showSup"
show-overflow-tooltip width="120"></el-table-column>
<el-table-column label="货位" prop="spaceName" v-if="showSup"
show-overflow-tooltip width="120"></el-table-column>
<el-table-column label="DI标识" prop="nameCode"></el-table-column>
<el-table-column label="物资名称" prop="cpmctymc"></el-table-column>
<el-table-column label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column>
<el-table-column label="批次号" prop="batchNo" width="120"></el-table-column>
<el-table-column label="生产日期" prop="productionDate" width="120"></el-table-column>
<el-table-column label="失效日期" prop="expireDate" width="120"></el-table-column>
<el-table-column label="入库数量" prop="inCount" width="120"></el-table-column>
<el-table-column label="出库数量" prop="outCount" width="120"></el-table-column>
<el-table-column label="结余数量" prop="reCount" width="120"></el-table-column>
<!-- <el-table-column label="生产日期" prop="productionDate" width="120"></el-table-column>-->
<!-- <el-table-column label="失效日期" prop="expireDate" width="120"></el-table-column>-->
<!-- <el-table-column label="入库数量" prop="inCount" width="120"></el-table-column>-->
<!-- <el-table-column label="出库数量" prop="outCount" width="120"></el-table-column>-->
<el-table-column label="库存数量" prop="reCount" width="120"></el-table-column>
<el-table-column label="生产厂家" prop="ylqxzcrbarmc" v-if="showSup" show-overflow-tooltip
width="120"></el-table-column>
<el-table-column label="注册/备案号" prop="zczbhhzbapzbh" v-if="showSup" show-overflow-tooltip
width="120"></el-table-column>
<el-table-column label="供应商" prop="supName" v-if="showSup" show-overflow-tooltip
width="120"></el-table-column>
<el-table-column label="部门" prop="deptName" v-if="showSup"
show-overflow-tooltip width="120"></el-table-column>
<el-table-column label="仓库" prop="invName" v-if="showSup"
show-overflow-tooltip width="120"></el-table-column>
<el-table-column label="操作" width="150">
<template slot-scope="scope">
<el-button
@ -207,7 +236,7 @@ export default {
corpLoading: false,
dialogVisible: false,
fromOptions: [],
showSup: false,
showSup: true,
detailDialogVisible: false,
inputQuery: {
cpmctymc: null,

@ -1,7 +1,7 @@
<template>
<div class="login">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">UDI自助平台</h3>
<h3 class="title">供应商自助管理系统</h3>
<el-form-item prop="username">
<el-input
v-model="loginForm.username"

@ -1,7 +1,7 @@
<template>
<div class="login-container">
<div>
<h3 class="toptitle">平潭协和医院</h3>
<h3 class="toptitle">协和医院平潭分</h3>
</div>
<el-form
class="card-box login-form"
@ -64,7 +64,7 @@
</div>
<div style="margin-top: -15px">
<a style="margin-left: 50%; font-size: 12px" :href="'#/register'"
>立即注册</a
>新用户注册</a
>
<a style="margin-left: 5%; font-size: 12px" :href="'#/forgetPasswd'"
>忘记密码</a
@ -82,7 +82,10 @@
font-size: 12px;
color: white;
">
开发单位厦门高立新鹏软件科技有限公司 技术支持13459286066
<a href="http://www.xmglxp.com/" target="_blank">
开发单位厦门高立新鹏软件科技有限公司 技术支持400-990-9112
</a>
</div>
</div>

@ -254,7 +254,7 @@
</el-row>
<el-row >
<el-col :span="12" class="el-col">
<el-form-item label="最小包装单元内包含使用单元数量" prop="zxxsbzbhsydysl">
<el-form-item label="使用单元数量" prop="zxxsbzbhsydysl">
<el-input style="width: 90%" :disabled="!checked" size="small" splaceholder="请输入内容" v-model="editQuery.zxxsbzbhsydysl"></el-input>
</el-form-item>
</el-col>

@ -253,7 +253,7 @@
</el-row>
<el-row >
<el-col :span="12" class="el-col">
<el-form-item label="最小包装单元内包含使用单元数量" prop="zxxsbzbhsydysl">
<el-form-item label="使用单元数量" prop="zxxsbzbhsydysl">
<el-input style="width: 90%" :disabled="!checked" size="small" splaceholder="请输入内容" v-model="editQuery.zxxsbzbhsydysl"></el-input>
</el-form-item>
</el-col>

@ -307,7 +307,8 @@
</el-col>
<el-col :span="8">
<el-form-item prop="status">
<el-select v-model="currentAudit.status" style="width: 100%">
<el-select v-model="currentAudit.status" :disabled="confirmStatus == 1 || confirmStatus == 2"
style="width: 100%">
<el-option label="失效" :value=1></el-option>
<el-option label="有效" :value=0></el-option>
</el-select>
@ -321,7 +322,7 @@
</el-col>
<el-col :span="8">
<el-form-item prop="confirmStatus">
<el-select v-model="confirmStatus" style="width: 100%">
<el-select v-model="confirmStatus" :disabled="currentAudit.status ==1" style="width: 100%">
<el-option label="符合" :value="1"></el-option>
<el-option label="不符合" :value="2"></el-option>
<el-option label="未确认" :value="6"></el-option>
@ -820,6 +821,8 @@ export default {
this.passAuditCert();
} else if (this.confirmStatus == 2) {
this.rejectAuditCert();
} else if (this.confirmStatus == 6) {
this.cancel();
}
},
cancel() {

@ -254,7 +254,7 @@
</el-row>
<el-row >
<el-col :span="12" class="el-col">
<el-form-item label="最小包装单元内包含使用单元数量" prop="zxxsbzbhsydysl">
<el-form-item label="使用单元数量" prop="zxxsbzbhsydysl">
<el-input style="width: 90%" :disabled="!checked" size="small" splaceholder="请输入内容" v-model="editQuery.zxxsbzbhsydysl"></el-input>
</el-form-item>
</el-col>

@ -177,7 +177,7 @@
</el-row>
<el-row >
<el-col :span="12" class="el-col">
<el-form-item label="最小包装单元内包含使用单元数量" prop="zxxsbzbhsydysl">
<el-form-item label="使用单元数量" prop="zxxsbzbhsydysl">
<el-input style="width: 90%" :disabled="!checked" size="small" splaceholder="请输入内容" v-model="editQuery.zxxsbzbhsydysl"></el-input>
</el-form-item>
</el-col>

@ -35,7 +35,7 @@
<el-col :span="12" class="el-col">
<div class="text item">
<div class="itemTag">
<span>最小包装单元内包含使用单元数量:&nbsp;</span>
<span>使用单元数量:&nbsp;</span>
</div>
<el-input
style="width: 65%"

@ -65,7 +65,7 @@
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="search"></el-button>
<el-button type="primary" icon="el-icon-bottom-right" @click="selectProduct()"></el-button>
<el-button type="primary" icon="el-icon-bottom-right" @click="selectProduct()"></el-button>
</el-button-group>
</div>
<el-divider style="margin: 15px"></el-divider>
@ -95,32 +95,36 @@
@click.native.stop="handleModifyClick(scope.row)">编辑
</el-button>
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)"
>
>
<span class="el-dropdown-link">
<i class="el-icon-d-arrow-right el-icon--right"></i>更多
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="handleDetailClick" v-if=" scope.row.lockStatus!=3" >详情</el-dropdown-item>
<el-dropdown-item command="sumitLockStatus" v-if="isSpCombine" :disabled="scope.row.lockStatus===3"></el-dropdown-item>
<el-dropdown-item command="handleDetailClick" v-if=" scope.row.lockStatus!=3"></el-dropdown-item>
<el-dropdown-item command="sumitLockStatus" v-if="isSpCombine" :disabled="scope.row.lockStatus===3">
提交审核
</el-dropdown-item>
<el-dropdown-item command="splitSelectUdi" v-if="isSpCombine" type="text" size="small"
:disabled="scope.row.thirdId===scope.row.nameCode || scope.row.thirdId==null || scope.row.nameCode==null || scope.row.lockStatus===3">拆分产品</el-dropdown-item>
:disabled="scope.row.thirdId===scope.row.nameCode || scope.row.thirdId==null || scope.row.nameCode==null || scope.row.lockStatus===3">
拆分产品
</el-dropdown-item>
<el-dropdown-item command="deleteCompanyProductRelevance">移除</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<!-- <el-button v-if=" scope.row.lockStatus!=3" type="text" size="small"-->
<!-- @click.native.stop="handleDetailClick(scope.row)">详情-->
<!-- </el-button>-->
<!-- <el-button v-if="isSpCombine" type="text" size="small" :disabled="scope.row.lockStatus===3"-->
<!-- @click.native.stop="sumitLockStatus(scope.row)">提交审核-->
<!-- </el-button>-->
<!-- <el-button v-if="isSpCombine" type="text" size="small" @click.native.stop="splitSelectUdi(scope.row)"-->
<!-- :disabled="scope.row.thirdId===scope.row.nameCode || scope.row.thirdId==null || scope.row.nameCode==null || scope.row.lockStatus===3">-->
<!-- 拆分产品-->
<!-- </el-button>-->
<!-- <el-button type="text" size="small" @click.native.stop="deleteCompanyProductRelevance(scope.row)">移除-->
<!-- </el-button>-->
<!-- <el-button v-if=" scope.row.lockStatus!=3" type="text" size="small"-->
<!-- @click.native.stop="handleDetailClick(scope.row)">详情-->
<!-- </el-button>-->
<!-- <el-button v-if="isSpCombine" type="text" size="small" :disabled="scope.row.lockStatus===3"-->
<!-- @click.native.stop="sumitLockStatus(scope.row)">提交审核-->
<!-- </el-button>-->
<!-- <el-button v-if="isSpCombine" type="text" size="small" @click.native.stop="splitSelectUdi(scope.row)"-->
<!-- :disabled="scope.row.thirdId===scope.row.nameCode || scope.row.thirdId==null || scope.row.nameCode==null || scope.row.lockStatus===3">-->
<!-- 拆分产品-->
<!-- </el-button>-->
<!-- <el-button type="text" size="small" @click.native.stop="deleteCompanyProductRelevance(scope.row)">移除-->
<!-- </el-button>-->
</template>
</el-table-column>
</el-table>

File diff suppressed because it is too large Load Diff

@ -169,7 +169,7 @@
<el-col :span="12" class="el-col">
<div class="text item">
<div class="itemTag">
<span>最小包装内包含使用单元数量:&nbsp;</span>
<span>使用单元数量:&nbsp;</span>
</div>
<el-input
style="width: 65%"

@ -376,7 +376,7 @@
<el-col :span="12" class="el-col">
<div class="text item">
<div class="itemTag">
<span>最小包装单元内包含使用单元数量:&nbsp;</span>
<span>使用单元数量:&nbsp;</span>
</div>
<el-input
style="width: 65%"

@ -46,8 +46,8 @@
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="search"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="addDiProductVisible=true"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="addProductVisible=true"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="addDiProductVisible=true">DI</el-button>
<el-button type="primary" icon="el-icon-plus" @click="addProductVisible=true"></el-button>
</el-button-group>
</div>
<el-divider style="margin: 15px"></el-divider>

Loading…
Cancel
Save