Commit 57591c24 by wangzhihui

```

fix(purchase): 修改批量下载发货签收单按钮类型为primary

修改了purchase模块中批量下载发货签收单按钮的样式类型,
从plain类型改为primary类型,以提升用户界面的一致性。

fix(goods): 调整库存类型选项顺序

调整了商品上架页面中库存类型的选项顺序,
将实物选项放在虚拟选项之前,统一选项排序逻辑。

feat(warning): 为特定指标添加百分号后缀显示

在预警基线页面中为指标代码为A085的数值输入框
添加了百分号后缀显示功能。

refactor(stock): 优化库存类型列表数据结构

调整了库存交易记录页面中的库存类型列表数据结构,
统一了实物和虚拟库存的排序顺序。

refactor(stock): 使用具名插槽重构库存列表页面

重构了库存管理页面的模板结构,将匿名插槽替换为具名插槽,
并优化了组件引用方式和导入语句的排序。
```
1 parent 8f525a7c
...@@ -279,7 +279,7 @@ export const routerName = { ...@@ -279,7 +279,7 @@ export const routerName = {
parentId: "90905", parentId: "90905",
label: "批量下载发货签收单", label: "批量下载发货签收单",
category: "Button", category: "Button",
type: "plain", type: "primary",
handle: "downloadDeliveryPdf", handle: "downloadDeliveryPdf",
}, },
{ {
......
...@@ -31,8 +31,9 @@ ...@@ -31,8 +31,9 @@
<el-select v-else <el-select v-else
v-model="scope.row.inventoryType" v-model="scope.row.inventoryType"
placeholder="请选择"> placeholder="请选择">
<el-option label="虚拟" :value="1"></el-option>
<el-option label="实物" :value="2"></el-option> <el-option label="实物" :value="2"></el-option>
<el-option label="虚拟" :value="1"></el-option>
</el-select> </el-select>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -69,11 +69,17 @@ ...@@ -69,11 +69,17 @@
<el-input v-model="scope.row.minValue" <el-input v-model="scope.row.minValue"
disabled disabled
style="width: 140px;margin:0 8px;"> style="width: 140px;margin:0 8px;">
<template v-if="scope.row.indicatorCode === 'A085'" #append>
%
</template>
</el-input> </el-input>
<span>-</span> <span>-</span>
<el-input v-model="scope.row.maxValue" <el-input v-model="scope.row.maxValue"
disabled disabled
style="width: 140px;margin:0 8px;"> style="width: 140px;margin:0 8px;">
<template v-if="scope.row.indicatorCode === 'A085'" #append>
%
</template>
</el-input> </el-input>
</div> </div>
</div> </div>
......
...@@ -267,13 +267,16 @@ export default { ...@@ -267,13 +267,16 @@ export default {
confLabel: "自采入库", confLabel: "自采入库",
}], }],
upgradeFlags, upgradeFlags,
inventoryTypeList: [{ inventoryTypeList: [
confId: 1, {
confValue: "虚拟", confId: 2,
}, { confValue: "实物",
confId: 2, },
confValue: "实物", {
}], confId: 1,
confValue: "虚拟",
},
],
}, },
paramsObj: {}, paramsObj: {},
}; };
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!