feat:工单类型添加上级类型
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-08-06 13:57:40 +08:00
parent 6d6646ed3b
commit ee8e459aed
10 changed files with 112 additions and 49 deletions

View File

@@ -109,6 +109,7 @@ async function setupPackageSelect() {
const assets = await assetList({
pageNum: 1,
pageSize: 1000,
params: {stock: 1} //库存不为0
});
assetsData.value = assets.rows
const options = users.rows.map((item) => ({
@@ -145,7 +146,8 @@ async function setupPackageSelect() {
if (assetInfo) {
formApi.updateSchema([{
componentProps: {
max:assetInfo.stock
max: assetInfo.stock,
min: 1
},
fieldName: 'number',
}])