Commit 4a346f8b by qinjianhui

Merge branch 'dev' into 'master'

fix: 补货成功高亮当前行

See merge request !39
parents 5024f9b7 823b5c34
......@@ -464,6 +464,7 @@
:paginated-data="tableData"
:cell-style="onCellStyle"
:cell-class-name="onCellClassName"
:row-style="getRowStyle"
@selection-change="handleSelectionChange"
>
<template #goods="{ row }">
......@@ -647,7 +648,10 @@
class="goods-item-info-item"
>
<span class="goods-item-info-item-label">补胚数量:</span>
<span class="goods-item-info-item-value" :title="item.replenishmentSumNum">
<span
class="goods-item-info-item-value"
:title="item.replenishmentSumNum"
>
{{ item.replenishmentSumNum || 0 }}
</span>
<el-button
......@@ -2723,6 +2727,9 @@ const stockOutCheck = async () => {
loading.close()
}
}
// 添加表格ref
const tableRef = ref()
//转至待创建物流
const toBePicking = async () => {
if (selection.value.length === 0) {
......@@ -2990,17 +2997,15 @@ const onFastRefresh = () => {
search()
}
// // 修改行样式方法
// const getRowStyle = ({ row }: { row: PodUsOrderListData }) => {
// if (stockOutSuccessIds.value.includes(row.id)) {
// return {
// backgroundColor: '#f0f9eb',
// color: '#67c23a',
// }
// }
// return {}
// }
// 添加表格ref
const tableRef = ref()
const getRowStyle = ({ row }: { row: PodUsOrderListData }) => {
if (stockOutSuccessIds.value.includes(row.id)) {
return {
backgroundColor: '#f0f9eb',
color: '#67c23a',
}
}
return {}
}
const warehouseList = ref<WarehouseListData[]>([])
const loadWarehouseList = async () => {
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment