|
|
|
@ -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.udiCode"
|
|
|
|
|
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="ggxh" show-overflow-tooltip></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" width="140"></el-table-column>
|
|
|
|
|
<el-table-column label="物资名称" prop="cpmctymc" width="180"></el-table-column>
|
|
|
|
|
<el-table-column label="规格型号" prop="ggxh" width="180" 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>
|
|
|
|
|
width="180"></el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="注册/备案号" prop="zczbhhzbapzbh" v-if="showSup" show-overflow-tooltip
|
|
|
|
|
width="180"></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>
|
|
|
|
|
width="180"></el-table-column>
|
|
|
|
|
<!-- <el-table-column label="部门" prop="deptName" v-if="showSup"-->
|
|
|
|
|
<!-- show-overflow-tooltip width="120"></el-table-column>-->
|
|
|
|
|
<el-table-column label="操作" width="150">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
@ -185,6 +214,7 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
showSearch: true,
|
|
|
|
|
filterQuery: {
|
|
|
|
|
udiCode: null,
|
|
|
|
|
nameCode: null,
|
|
|
|
|
cpmctymc: null,
|
|
|
|
|
ggxh: null,
|
|
|
|
@ -210,6 +240,7 @@ export default {
|
|
|
|
|
showSup: false,
|
|
|
|
|
detailDialogVisible: false,
|
|
|
|
|
inputQuery: {
|
|
|
|
|
udiCode: null,
|
|
|
|
|
relId: null,
|
|
|
|
|
cpmctymc: null,
|
|
|
|
|
nameCode: null,
|
|
|
|
|