|
@@ -56,11 +56,72 @@
|
|
|
width="120"
|
|
width="120"
|
|
|
prop="shengChanShang"
|
|
prop="shengChanShang"
|
|
|
/>
|
|
/>
|
|
|
- <el-table-column label="库存量" prop="kuCunLiang" />
|
|
|
|
|
<el-table-column label="上月结存" prop="shangYueJieCun" />
|
|
<el-table-column label="上月结存" prop="shangYueJieCun" />
|
|
|
<el-table-column label="本月入库" prop="benYueRuKu" />
|
|
<el-table-column label="本月入库" prop="benYueRuKu" />
|
|
|
<el-table-column label="本月出库" prop="benYueChuKu" />
|
|
<el-table-column label="本月出库" prop="benYueChuKu" />
|
|
|
<el-table-column label="本月结存" prop="benYueJieCun" />
|
|
<el-table-column label="本月结存" prop="benYueJieCun" />
|
|
|
|
|
+ <el-table-column label="库存量" prop="kuCunLiang" />
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ v-if="config"
|
|
|
|
|
+ label="总使用量"
|
|
|
|
|
+ width="110"
|
|
|
|
|
+ prop="shiYongLiang"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
|
|
+ <el-tooltip
|
|
|
|
|
+ class="item"
|
|
|
|
|
+ effect="dark"
|
|
|
|
|
+ content="计算试剂耗材使用记录内对应信息的汇总"
|
|
|
|
|
+ placement="top-end"
|
|
|
|
|
+ >
|
|
|
|
|
+ <span>
|
|
|
|
|
+ 总使用量
|
|
|
|
|
+ <i class="el-icon-question" />
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </el-tooltip>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ v-if="config"
|
|
|
|
|
+ label="出库未使用量"
|
|
|
|
|
+ width="110"
|
|
|
|
|
+ prop="weiShiYongLiang"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
|
|
+ <el-tooltip
|
|
|
|
|
+ class="item"
|
|
|
|
|
+ effect="dark"
|
|
|
|
|
+ content="总出库量(出库登记)- 总使用量"
|
|
|
|
|
+ placement="top-end"
|
|
|
|
|
+ >
|
|
|
|
|
+ <span>
|
|
|
|
|
+ 出库未使用量
|
|
|
|
|
+ <i class="el-icon-question" />
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </el-tooltip>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ v-if="config"
|
|
|
|
|
+ label="结存数量"
|
|
|
|
|
+ width="110"
|
|
|
|
|
+ prop="jieCunShuLiang"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
|
|
+ <el-tooltip
|
|
|
|
|
+ class="item"
|
|
|
|
|
+ effect="dark"
|
|
|
|
|
+ content="库存量 + 出库未使用量"
|
|
|
|
|
+ placement="top-end"
|
|
|
|
|
+ >
|
|
|
|
|
+ <span>
|
|
|
|
|
+ 结存数量
|
|
|
|
|
+ <i class="el-icon-question" />
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </el-tooltip>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
fixed="right"
|
|
fixed="right"
|
|
|
width="110"
|
|
width="110"
|
|
@@ -165,7 +226,9 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
|
|
+ const { setting } = this.$store.getters || {}
|
|
|
return {
|
|
return {
|
|
|
|
|
+ config: setting?.shijihaocai?.pandian || false,
|
|
|
reagentBatchData: [],
|
|
reagentBatchData: [],
|
|
|
requestPage: {
|
|
requestPage: {
|
|
|
limit: 10,
|
|
limit: 10,
|
|
@@ -285,11 +348,6 @@ export default {
|
|
|
label: '生产商/供应商',
|
|
label: '生产商/供应商',
|
|
|
name: 'shengChanShang'
|
|
name: 'shengChanShang'
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- field_name: 'kuCunLiang',
|
|
|
|
|
- label: '库存量',
|
|
|
|
|
- name: 'kuCunLiang'
|
|
|
|
|
- },
|
|
|
|
|
{
|
|
{
|
|
|
field_name: 'shangYueJieCun',
|
|
field_name: 'shangYueJieCun',
|
|
|
label: '上月结存',
|
|
label: '上月结存',
|
|
@@ -310,6 +368,27 @@ export default {
|
|
|
label: '本月结存',
|
|
label: '本月结存',
|
|
|
name: 'benYueJieCun'
|
|
name: 'benYueJieCun'
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
|
|
+ {
|
|
|
|
|
+ field_name: 'kuCunLiang',
|
|
|
|
|
+ label: '库存量',
|
|
|
|
|
+ name: 'kuCunLiang'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ field_name: 'shiYongLiang',
|
|
|
|
|
+ label: '总使用量',
|
|
|
|
|
+ name: 'shi_yong_liang_'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ field_name: 'weiShiYongLiang',
|
|
|
|
|
+ label: '出库未使用量',
|
|
|
|
|
+ name: 'wei_shi_yong_lian'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ field_name: 'jieCunShuLiang',
|
|
|
|
|
+ label: '结存数量',
|
|
|
|
|
+ name: 'jie_cun_shu_liang'
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
field_name: 'panCunShuLiang',
|
|
field_name: 'panCunShuLiang',
|
|
|
label: '盘存数量',
|
|
label: '盘存数量',
|
|
@@ -355,14 +434,17 @@ export default {
|
|
|
danWei: item.dan_wei_,
|
|
danWei: item.dan_wei_,
|
|
|
youXiaoQi: item.exp_date,
|
|
youXiaoQi: item.exp_date,
|
|
|
shengChanShang: item.chang_jia_ + '/' + item.gong_ying_shang_,
|
|
shengChanShang: item.chang_jia_ + '/' + item.gong_ying_shang_,
|
|
|
- kuCunLiang: item.quantity || 0,
|
|
|
|
|
panCunShuLiang: '',
|
|
panCunShuLiang: '',
|
|
|
beiZhu: '',
|
|
beiZhu: '',
|
|
|
cunChuWeiZhi: item.position,
|
|
cunChuWeiZhi: item.position,
|
|
|
shangYueJieCun: item.lastMonth || 0,
|
|
shangYueJieCun: item.lastMonth || 0,
|
|
|
benYueRuKu: item.currIn || 0,
|
|
benYueRuKu: item.currIn || 0,
|
|
|
benYueChuKu: item.currOut || 0,
|
|
benYueChuKu: item.currOut || 0,
|
|
|
- benYueJieCun: item.currBalance || 0
|
|
|
|
|
|
|
+ benYueJieCun: item.currBalance || 0,
|
|
|
|
|
+ kuCunLiang: item.quantity || 0,
|
|
|
|
|
+ shiYongLiang: item.shi_yong_liang_ || 0,
|
|
|
|
|
+ weiShiYongLiang: item.wei_shi_yong_lian || 0,
|
|
|
|
|
+ jieCunShuLiang: item.jie_cun_shu_liang || 0
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
})
|
|
})
|