|
@ -30,8 +30,8 @@ |
|
|
@getSelectionRows="getSelectionRows" |
|
|
@getSelectionRows="getSelectionRows" |
|
|
> |
|
|
> |
|
|
<template #itemCode="{row}"> |
|
|
<template #itemCode="{row}"> |
|
|
<el-button type="primary" link @click="openDetail(row, '物料代码', row.itemCode)"> |
|
|
<el-button :type="row.frozen=='TRUE'||row.expireDate<dayjs().valueOf()?'danger':'primary'" link @click="openDetail(row, '物料代码', row.itemCode)"> |
|
|
<span>{{ row.itemCode }}</span> |
|
|
<span >{{ row.itemCode }}</span> |
|
|
</el-button> |
|
|
</el-button> |
|
|
</template> |
|
|
</template> |
|
|
<template #action="{ row }"> |
|
|
<template #action="{ row }"> |
|
@ -59,6 +59,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
|
|
|
|
import dayjs from 'dayjs' |
|
|
import download from '@/utils/download' |
|
|
import download from '@/utils/download' |
|
|
import * as BalanceApi from '@/api/wms/balance' |
|
|
import * as BalanceApi from '@/api/wms/balance' |
|
|
import * as PackageApi from '@/api/wms/package' |
|
|
import * as PackageApi from '@/api/wms/package' |
|
|