|
|
|
@ -4,8 +4,8 @@
|
|
|
|
|
<el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" v-if="showSearch">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item class="query-form-item" label="单据类型:">
|
|
|
|
|
<el-input v-model="filterQuery.name" placeholder="请输入单据类型" clearable style="width: 90%"></el-input>
|
|
|
|
|
<el-form-item class="query-form-item" label="单据类型名称:">
|
|
|
|
|
<el-input v-model="filterQuery.name" placeholder="请输入单据类型名称" clearable style="width: 90%"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
@ -71,7 +71,7 @@
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row>
|
|
|
|
|
<el-table-column label="序号" type="index" width="60"></el-table-column>
|
|
|
|
|
<el-table-column label="单据类型" prop="name"></el-table-column>
|
|
|
|
|
<el-table-column label="单据类型名称" prop="name"></el-table-column>
|
|
|
|
|
<el-table-column label="出入库类型" prop="mainAction">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ mainActionMap[scope.row.mainAction] }}</span>
|
|
|
|
@ -98,6 +98,11 @@
|
|
|
|
|
<span>{{ enableMap[scope.row.secCheckEnable] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="单据类型" prop="secCheckEnable">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ productTypeMap[scope.row.productType] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
@ -290,6 +295,10 @@ export default {
|
|
|
|
|
true: '是',
|
|
|
|
|
false: '否'
|
|
|
|
|
},
|
|
|
|
|
productTypeMap: {
|
|
|
|
|
1: "器械单据",
|
|
|
|
|
2: "药品单据"
|
|
|
|
|
},
|
|
|
|
|
mainActionMap: {
|
|
|
|
|
WareHouseIn: '入库',
|
|
|
|
|
WareHouseOut: '出库'
|
|
|
|
|