修改字典展示

This commit is contained in:
liuhanqing
2025-08-11 16:50:52 +08:00
parent 27b5d68d08
commit b2c916b806
4 changed files with 8 additions and 16 deletions

View File

@@ -40,10 +40,10 @@
@change="handleQuery"
>
<el-option
v-for="dict in statusOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
v-for="dict in dict.type.receive_bill_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
@@ -282,8 +282,6 @@ export default {
return {
// 仓库选项列表
warehouseOptions: [],
// 单据状态字典
statusOptions: [],
// 遮罩层
loading: true,
detailLoading: true,
@@ -520,12 +518,6 @@ export default {
this.getList()
})
},
/** 获取字典数据 */
getDictList() {
getDicts("receive_bill_status").then(response => {
this.statusOptions = response.data;
});
},
/** 获取仓库列表 */
getWarehouseList() {
listWarehouse(this.queryWarehouseParams).then(response => {