|
|
@ -30,7 +30,7 @@ |
|
|
|
@getSelectionRows="getSelectionRows" |
|
|
|
> |
|
|
|
<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> |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
@ -59,6 +59,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
import dayjs from 'dayjs' |
|
|
|
import download from '@/utils/download' |
|
|
|
import * as BalanceApi from '@/api/wms/balance' |
|
|
|
import * as PackageApi from '@/api/wms/package' |
|
|
|