feat:增加 ts:check 优化,避免 ai 校验 oom 报错

pull/878/head
YunaiV 2026-05-16 17:47:11 +08:00
parent 4f4c64cfff
commit 1f47e3c9d6
12 changed files with 29 additions and 3 deletions

View File

@ -91,7 +91,7 @@ const include = [
'element-plus/es/components/dropdown-menu/style/css',
'element-plus/es/components/dropdown-item/style/css',
'element-plus/es/components/skeleton/style/css',
'element-plus/es/components/skeleton/style/css',
'element-plus/es/components/skeleton-item/style/css',
'element-plus/es/components/backtop/style/css',
'element-plus/es/components/menu/style/css',
'element-plus/es/components/sub-menu/style/css',

View File

@ -8,7 +8,7 @@
"i": "pnpm install",
"dev": "vite --mode env.local",
"dev-server": "vite --mode dev",
"ts:check": "vue-tsc --noEmit",
"ts:check": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vue-tsc --noEmit",
"build:local": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode env.local",
"build:dev": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode dev",
"build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode test",

View File

@ -1,4 +1,6 @@
<template>
<doc-alert title="WMS 手册(功能开启)" url="https://doc.iocoder.cn/wms/build/" />
<div class="[--wms-card-radius:8px]">
<div
class="mb-16px flex flex-wrap justify-between gap-16px rounded-[var(--wms-card-radius)] border border-[var(--el-border-color-light)] border-solid bg-[var(--el-bg-color)] p-16px"

View File

@ -1,5 +1,7 @@
<!-- WMS 库存流水 -->
<template>
<doc-alert title="【库存】库存记录、流水、统计" url="https://doc.iocoder.cn/wms/inventory/" />
<ContentWrap>
<!-- 搜索工作栏 -->
<el-form
@ -154,7 +156,10 @@
<span>单价</span>
<span>{{ formatPrice(scope.row.price) }}</span>
</div>
<div v-if="scope.row.totalPrice || scope.row.totalPrice === 0" class="flex justify-between">
<div
v-if="scope.row.totalPrice || scope.row.totalPrice === 0"
class="flex justify-between"
>
<span>金额</span>
<span>{{ formatPrice(scope.row.totalPrice) }}</span>
</div>

View File

@ -1,5 +1,7 @@
<!-- WMS 库存统计 -->
<template>
<doc-alert title="【库存】库存记录、流水、统计" url="https://doc.iocoder.cn/wms/inventory/" />
<ContentWrap>
<!-- 搜索工作栏 -->
<el-form

View File

@ -1,5 +1,7 @@
<!-- WMS 商品管理 -->
<template>
<doc-alert title="【基础】商品、SKU、分类、品牌" url="https://doc.iocoder.cn/wms/md/item/" />
<el-row :gutter="20">
<el-col :span="4" :xs="24">
<ContentWrap class="h-1/1">

View File

@ -1,5 +1,10 @@
<!-- WMS 往来企业 -->
<template>
<doc-alert
title="【基础】往来企业(供应商、客户)"
url="https://doc.iocoder.cn/wms/md/merchant/"
/>
<ContentWrap>
<!-- 搜索工作栏 -->
<el-form

View File

@ -1,5 +1,7 @@
<!-- WMS 仓库管理 -->
<template>
<doc-alert title="【基础】仓库" url="https://doc.iocoder.cn/wms/md/warehouse/" />
<ContentWrap>
<!-- 搜索工作栏 -->
<el-form

View File

@ -1,5 +1,7 @@
<!-- WMS 盘库单 -->
<template>
<doc-alert title="【单据】盘库" url="https://doc.iocoder.cn/wms/order/check/" />
<ContentWrap>
<!-- 搜索工作栏 -->
<el-form

View File

@ -1,5 +1,7 @@
<!-- WMS 移库单 -->
<template>
<doc-alert title="【单据】移库" url="https://doc.iocoder.cn/wms/order/movement/" />
<ContentWrap>
<!-- 搜索工作栏 -->
<el-form

View File

@ -1,5 +1,7 @@
<!-- WMS 入库单 -->
<template>
<doc-alert title="【单据】入库" url="https://doc.iocoder.cn/wms/order/receipt/" />
<ContentWrap>
<!-- 搜索工作栏 -->
<el-form

View File

@ -1,5 +1,7 @@
<!-- WMS 出库单 -->
<template>
<doc-alert title="【单据】出库" url="https://doc.iocoder.cn/wms/order/shipment/" />
<ContentWrap>
<!-- 搜索工作栏 -->
<el-form