Commit f6b2c35f by wangchunyang
parents 8d1b21c2 40381b83
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
height="100%" height="100%"
:data="inboundList" :data="inboundList"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
:row-key="(row) => row.materialId + '_' + row.orderId" :row-key="(row) => row.materialId + '_' + row.orderId + '_' + row.warehousesName + '_' + row.locationName"
> >
<el-table-column label="物料SAPNO" align="center" prop="sapNo" width="200"/> <el-table-column label="物料SAPNO" align="center" prop="sapNo" width="200"/>
<el-table-column label="物料名称" align="center" prop="materialName" width="200"/> <el-table-column label="物料名称" align="center" prop="materialName" width="200"/>
......
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
</el-table-column> </el-table-column>
<el-table-column label="入库时间" align="center" prop="inboundDate" width="200"> <el-table-column label="入库时间" align="center" prop="inboundDate" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime,'{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.inboundDate,'{y}-{m}-{d}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -401,6 +401,6 @@ ...@@ -401,6 +401,6 @@
ioi.unit_price, ioi.unit_price,
ioi.remark, ioi.remark,
io.inbound_date io.inbound_date
order by ioi.order_id asc,ioi.material_id asc order by inbound_date desc,ioi.order_id asc,ioi.material_id asc
</select> </select>
</mapper> </mapper>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论