测试问题修改

This commit is contained in:
zzyuan 2025-09-11 16:40:38 +08:00
parent 36aef6744f
commit b8328b8047
4 changed files with 15 additions and 14 deletions

View File

@ -90,7 +90,7 @@
</el-table-column> </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"> <template slot-scope="scope">
<span>{{ scope.row.actualNum-scope.row.bookNum }}</span> <span>{{ (scope.row.actualNum-scope.row.bookNum).toFixed(2) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="差异总额(元)" align="center" prop="" :show-overflow-tooltip="true" width="120"> <!-- <el-table-column label="差异总额(元)" align="center" prop="" :show-overflow-tooltip="true" width="120">

View File

@ -65,14 +65,14 @@
<el-table-column label="盘点单号" align="center" prop="checkCode" :show-overflow-tooltip="true" /> <el-table-column label="盘点单号" align="center" prop="checkCode" :show-overflow-tooltip="true" />
<el-table-column label="所属区域" align="center" prop="areaName" :show-overflow-tooltip="true"/> <el-table-column label="所属区域" align="center" prop="areaName" :show-overflow-tooltip="true"/>
<el-table-column label="货品仓库" align="center" prop="warehouseName" :show-overflow-tooltip="true" /> <el-table-column label="货品仓库" align="center" prop="warehouseName" :show-overflow-tooltip="true" />
<el-table-column label="盘点员" align="center" prop="firstCheckUser" :show-overflow-tooltip="true" /> <el-table-column label="盘点员" align="center" prop="firstCheckUserName" :show-overflow-tooltip="true" />
<el-table-column label="盘点开始时间" align="center" prop="firstCheckDate" :show-overflow-tooltip="true" width="150"/> <el-table-column label="盘点开始时间" align="center" prop="firstCheckDate" :show-overflow-tooltip="true" width="150"/>
<el-table-column label="盘点结束时间" align="center" prop="secondCheckDate" :show-overflow-tooltip="true" width="150"/> <el-table-column label="盘点结束时间" align="center" prop="secondCheckDate" :show-overflow-tooltip="true" width="150"/>
<el-table-column label="差异总数" align="center" prop="" :show-overflow-tooltip="true" width="120"/> <el-table-column label="差异总数" align="center" prop="differNum" :show-overflow-tooltip="true" width="120"/>
<el-table-column label="差异总额(元)" align="center" prop="" :show-overflow-tooltip="true" width="120"> <el-table-column label="差异总额(元)" align="center" prop="totalProfitLoss" :show-overflow-tooltip="true" width="120">
<!-- <template slot-scope="scope"> <template slot-scope="scope">
<span>{{ (scope.row.totalAmount/100).toFixed(2) }}</span> <span>{{ (scope.row.totalProfitLoss/100).toFixed(2) }}</span>
</template> --> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="操作人" align="center" prop="createBy" :show-overflow-tooltip="true" width="120"/> <!-- <el-table-column label="操作人" align="center" prop="createBy" :show-overflow-tooltip="true" width="120"/>
<el-table-column label="操作时间" align="center" prop="createTime" :show-overflow-tooltip="true" width="150"/> --> <el-table-column label="操作时间" align="center" prop="createTime" :show-overflow-tooltip="true" width="150"/> -->

View File

@ -265,6 +265,7 @@ export default {
contractType:undefined, contractType:undefined,
areaId:undefined, areaId:undefined,
canteenId:undefined, canteenId:undefined,
intoDate:new Date()
}, },
// //
baseRules: { baseRules: {

View File

@ -69,11 +69,11 @@
<el-table-column label="计量单位" align="center" prop="unitName" :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"> <el-table-column label="货品规格" align="center" prop="size" :show-overflow-tooltip="true">
</el-table-column> </el-table-column>
<el-table-column label="金额(元)" align="center" prop="unitPrice" :show-overflow-tooltip="true"> <!-- <el-table-column label="金额(元)" align="center" prop="unitPrice" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ (scope.row.unitPrice/100).toFixed(2) }}</span> <span>{{ (scope.row.unitPrice/100).toFixed(2) }}</span>
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column label="入库时间" align="center" prop="createTime" :show-overflow-tooltip="true"/> <el-table-column label="入库时间" align="center" prop="createTime" :show-overflow-tooltip="true"/>
<el-table-column label="库存数量" align="center" prop="materialNum" :show-overflow-tooltip="true"/> <el-table-column label="库存数量" align="center" prop="materialNum" :show-overflow-tooltip="true"/>
<el-table-column label="出库数量" align="center" prop="fetchNum" :show-overflow-tooltip="true"> <el-table-column label="出库数量" align="center" prop="fetchNum" :show-overflow-tooltip="true">
@ -135,11 +135,11 @@
<span v-if="scope.row.salesMode==2">称重</span> <span v-if="scope.row.salesMode==2">称重</span>
</template> --> </template> -->
</el-table-column> </el-table-column>
<el-table-column label="单价" align="center" prop="unitPrice" :show-overflow-tooltip="true" > <!-- <el-table-column label="单价" align="center" prop="unitPrice" :show-overflow-tooltip="true" >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ (scope.row.unitPrice/100).toFixed(2) }}</span> <span>{{ (scope.row.unitPrice/100).toFixed(2) }}</span>
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column label="货品库存" align="center" prop="materialNum" :show-overflow-tooltip="true" /> <el-table-column label="货品库存" align="center" prop="materialNum" :show-overflow-tooltip="true" />
</el-table> </el-table>