修改字典展示
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user