库存盘点2
This commit is contained in:
parent
7aac6332c3
commit
413985bb58
|
|
@ -4,7 +4,7 @@
|
|||
<el-descriptions style="margin-bottom: 20px;" title="基本信息" :column="4" size="medium" border>
|
||||
<el-descriptions-item>
|
||||
<template slot="label">盘点单号</template>
|
||||
{{baseInfo.countCode}}
|
||||
{{baseInfo.checkCode}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label">所属区域</template>
|
||||
|
|
@ -15,21 +15,17 @@
|
|||
{{ baseInfo.warehouseName }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label">出库时间</template>
|
||||
{{ baseInfo.outDate }}
|
||||
<template slot="label">盘点员</template>
|
||||
{{ baseInfo.firstCheckUser }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label">领料人</template>
|
||||
{{ baseInfo.fetchUser }}
|
||||
<template slot="label">盘点开始时间</template>
|
||||
{{ baseInfo.firstCheckDate }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label">所属区域</template>
|
||||
{{ baseInfo.areaName }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label">货品仓库</template>
|
||||
{{ baseInfo.warehouseName }}
|
||||
</el-descriptions-item>
|
||||
<template slot="label">盘点结束时间</template>
|
||||
{{ baseInfo.secondCheckDate }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
|
||||
|
|
@ -48,24 +44,43 @@
|
|||
<el-table-column label="货品名称" align="center" prop="materialName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="货品类别" align="center" prop="materialTypeName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="计量单位" align="center" prop="unitName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="货品规格" align="center" prop="size" :show-overflow-tooltip="true">
|
||||
<!-- <template slot-scope="scope">
|
||||
<span v-if="scope.row.salesMode==1">按份</span>
|
||||
<span v-if="scope.row.salesMode==2">称重</span>
|
||||
</template> -->
|
||||
<el-table-column label="货品规格" align="center" prop="size" :show-overflow-tooltip="true">
|
||||
</el-table-column>
|
||||
<el-table-column label="供应商" align="center" prop="supplierName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="生产日期" align="center" prop="productDate" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="保质期截止日期" align="center" prop="expireTime" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="单价(元)" align="center" prop="unitPrice" :show-overflow-tooltip="true">
|
||||
<!-- <el-table-column label="批次号" align="center" prop="intoCode" :show-overflow-tooltip="true" width="200"/> -->
|
||||
<el-table-column label="账面数" align="center" prop="bookNum" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="单价(元)" align="center" prop="price" :show-overflow-tooltip="true">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ (scope.row.unitPrice/100).toFixed(2) }}</span>
|
||||
<span>{{ (scope.row.price/100).toFixed(2)||"" }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="账面总额(元)" align="center" prop="totalPrice" :show-overflow-tooltip="true" width="120">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.bookNum*(scope.row.price/100) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="实盘总额(元)" align="center" prop="" :show-overflow-tooltip="true" width="120">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.actualNum*(scope.row.price/100) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="入库数量" align="center" prop="purNum" :show-overflow-tooltip="true"></el-table-column>
|
||||
<el-table-column label="总金额(元)" align="center" prop="" :show-overflow-tooltip="true">
|
||||
<el-table-column label="差异数" align="center" prop="" :show-overflow-tooltip="true">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.purNum*scope.row.unitPrice/100 }}</span>
|
||||
<span>{{ scope.row.actualNum-scope.row.bookNum }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="差异总额(元)" align="center" prop="" :show-overflow-tooltip="true" width="120">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ (Number(scope.row.actualNum)-Number(scope.row.bookNum))*scope.row.price/100 }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="实盘数量" align="center" prop="actualNum" :show-overflow-tooltip="true" width="120">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.actualNum }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="差异原因" align="center" prop="differReason" :show-overflow-tooltip="true" width="120">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.differReason }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
|
@ -80,7 +95,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { getWarehouseInInfoApi } from "@/api/foodManage/stockManage";
|
||||
import { getCheckInventoryInfoApi } from "@/api/foodManage/stockManage";
|
||||
export default {
|
||||
name: "InventoryCountDetail",
|
||||
dicts: [],
|
||||
|
|
@ -170,12 +185,13 @@ export default {
|
|||
getContractInfo(){
|
||||
console.log(this.countRowData)
|
||||
let param = {
|
||||
intoId:this.countRowData.intoId
|
||||
checkId:this.countRowData.checkId
|
||||
}
|
||||
//查询查询食堂下拉结构
|
||||
getWarehouseInInfoApi(param).then((response) => {
|
||||
this.baseInfo = response.data;
|
||||
this.materialLis = this.baseInfo.imsIntoInventoryDetailVOList;
|
||||
getCheckInventoryInfoApi(param).then((response) => {
|
||||
this.baseInfo = response.data;
|
||||
this.$set(this.baseInfo,"firstCheckUser",this.baseInfo.firstCheckUserName)
|
||||
this.materialList = this.baseInfo.detailList;
|
||||
});
|
||||
},
|
||||
// 多选框选中数据
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
<el-table-column label="计量单位" align="center" prop="unitName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="货品规格" align="center" prop="size" :show-overflow-tooltip="true">
|
||||
</el-table-column>
|
||||
<el-table-column label="批次号" align="center" prop="intoCode" :show-overflow-tooltip="true" width="200"/>
|
||||
<!-- <el-table-column label="批次号" align="center" prop="intoCode" :show-overflow-tooltip="true" width="200"/> -->
|
||||
<el-table-column label="账面数" align="center" prop="bookNum" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="单价(元)" align="center" prop="price" :show-overflow-tooltip="true">
|
||||
<template slot-scope="scope">
|
||||
|
|
|
|||
Loading…
Reference in New Issue