From 91e15417b6eb611f4c62fb791415492584590b57 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 14 十二月 2023 09:45:21 +0800
Subject: [PATCH] 修改
---
src/views/basic/part/index.vue | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/views/basic/part/index.vue b/src/views/basic/part/index.vue
index 52582c8..3266ab8 100644
--- a/src/views/basic/part/index.vue
+++ b/src/views/basic/part/index.vue
@@ -93,7 +93,8 @@
multiSelect: true, //
seqNo: true,
isShowHide: true, // 鏄惁鏄剧ず鏄惧奖鎸夐挳
- isSearch: false, // 楂樼骇鏌ヨ鎸夐挳
+ isSearch: false, // 楂樼骇鏌ヨ鎸夐挳,
+ isRefresh: true, // 鏄惁鏄剧ず鍒锋柊鎸夐挳
defaultOrderBy: { column: 'id', direction: 'desc' }
},
table: {
@@ -190,7 +191,7 @@
searchInfoType: 'text'
},
// 涓�绾у垎绫�
- /* {
+ {
minWidth: '120',
prop: 'assortment',
label: '涓�绾у垎绫�',
@@ -227,7 +228,7 @@
optList: () => {
return this.getThreeLevelClassification()
}
- }, */
+ },
// 瑙勬牸
{
minWidth: '140',
@@ -448,14 +449,16 @@
created() {
this.table.column.find((e) => e.label === 'IFS鍚敤鎵规绠$悊').isTrue = false
this.table.column.find((e) => e.label === '璁″垝鏂规硶').isTrue = false
- this.getUnitType('unit')
- this.getMaterialType('material_type')
this.getCategoryType('category')
this.getAssortmentType('assortment')
this.getPlanningMethodType('planning_method_type')
this.getThreeLevelClassificationType('three_classification_type')
- this.getMaterialAttributeType()
this.getExaminerDict('examiner_type')
+ },
+ mounted(){
+ this.getUnitType('unit')
+ this.getMaterialType('material_type')
+ this.getMaterialAttributeType()
},
computed: {
...mapGetters(['permissions'])
@@ -501,7 +504,9 @@
})
},
getMaterialType(type) {
+ console.log(type);
remote(type).then((response) => {
+ console.log("绫诲瀷",response);
const code = response.data.code
if (code === 0) {
const _data = response.data.data
--
Gitblit v1.9.3