更改库存数量
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
<!-- <el-table-column label="最近入库量" prop="lasterInStock" /> -->
|
<!-- <el-table-column label="最近入库量" prop="lasterInStock" /> -->
|
||||||
<el-table-column label="库存数量" prop="stockNumber">
|
<el-table-column label="库存数量" prop="stockNumber">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
{{ scope.row.stockNumber - scope.row.stockConsume }}
|
{{ (scope.row.stockNumber - scope.row.stockConsume).toFixed(2) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|||||||
@@ -161,7 +161,12 @@
|
|||||||
<el-table-column label="耗材代码" prop="conCode" />
|
<el-table-column label="耗材代码" prop="conCode" />
|
||||||
<el-table-column label="类型名称" prop="conTypeName" />
|
<el-table-column label="类型名称" prop="conTypeName" />
|
||||||
<el-table-column label="单位" prop="conUnit" />
|
<el-table-column label="单位" prop="conUnit" />
|
||||||
<el-table-column label="库存数量" prop="stockNumber" />
|
<el-table-column label="库存数量" prop="stockNumber">
|
||||||
|
<template v-slot="scope">
|
||||||
|
{{ (scope.row.stockNumber - scope.row.stockConsume).toFixed(2) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column label="单位耗材值" prop="surplusStock" />
|
<el-table-column label="单位耗材值" prop="surplusStock" />
|
||||||
<el-table-column label="" width="200">
|
<el-table-column label="" width="200">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
@@ -472,7 +477,7 @@ export default {
|
|||||||
});
|
});
|
||||||
this.informationdialogshowedit = false
|
this.informationdialogshowedit = false
|
||||||
} else {
|
} else {
|
||||||
let { id, consInfoId, surplusStock,isDistribute } = this.addSelect[0]
|
let { id, consInfoId, surplusStock, isDistribute } = this.addSelect[0]
|
||||||
// isDistribute1为共享库存-商品,0不共享是多规格
|
// isDistribute1为共享库存-商品,0不共享是多规格
|
||||||
// 如果isDistribute为0 是多规格的时候
|
// 如果isDistribute为0 是多规格的时候
|
||||||
if (isDistribute != 1) {
|
if (isDistribute != 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user