فهرست منبع

配件资料修改

pengyh 1 سال پیش
والد
کامیت
1820fe7762
3فایلهای تغییر یافته به همراه15 افزوده شده و 14 حذف شده
  1. 3 3
      package-lock.json
  2. 1 1
      package.json
  3. 11 10
      src/views/auxiliaryFittings/attachmentProfile/index.vue

+ 3 - 3
package-lock.json

@@ -4711,9 +4711,9 @@
       "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
     },
     "@zjlib/element-plugins": {
-      "version": "2.13.1",
-      "resolved": "http://121.41.110.30:4873/@zjlib%2felement-plugins/-/element-plugins-2.13.1.tgz",
-      "integrity": "sha512-yLY5NGTgQZDniqt5d+r688c0C1E1PDyNROVsYAOQp5Dbc+wXOqAC6kbzSTFvWXeq2cRZAbLItstnKLXUlbBIjg==",
+      "version": "2.13.2",
+      "resolved": "http://121.41.110.30:4873/@zjlib%2felement-plugins/-/element-plugins-2.13.2.tgz",
+      "integrity": "sha512-16LrY47Z+IHzKaPhzojUYNBQkNaMdPb5TR951o/u9Pb9T+sB9r6txsVz8/Fpvuy6jjtwxhBJ2aJ7hL3Pla6GGA==",
       "requires": {
         "@turf/turf": "^6.5.0",
         "@vuemap/vue-amap": "^0.1.12",

+ 1 - 1
package.json

@@ -18,7 +18,7 @@
     "@turf/turf": "^6.5.0",
     "@vue-office/excel": "^1.3.0",
     "@vue/composition-api": "^1.7.1",
-    "@zjlib/element-plugins": "^2.13.1",
+    "@zjlib/element-plugins": "^2.13.2",
     "@zjlib/element-ui2": "^1.0.3",
     "axios": "0.18.1",
     "chatgpt": "^4.1.2",

+ 11 - 10
src/views/auxiliaryFittings/attachmentProfile/index.vue

@@ -92,9 +92,10 @@ export default {
       formDialog: false,
       formData: {
 		companyName: JSON.parse(localStorage.getItem('greemall_user')).companyName,
-		brandList: [],
+		partsUnitName: '',
 		categoryList: [],
-		partsUnitName: ''
+		partsUnitList: [],
+		brandList: []
       },
 	  partsUnitList: [],
 	  brandList: [],
@@ -150,10 +151,10 @@ export default {
         md: 12,
         isShow: true,
         name: 'el-select-add',
-		// labelKey: 'dictTypeName',
-		// valueKey: 'dictTypeName',
+		labelKey: 'dictValue',
+		valueKey: 'dictCode',
 		options: this.partsUnitList,
-        attributes: { placeholder: '请选择单位',filterable: true },
+        attributes: { placeholder: '请选择单位',filterable: true, clearable: true },
         formItemAttributes: {
           label: '单位',
           prop: 'partsUnitName',
@@ -197,8 +198,8 @@ export default {
         md: 24,
         isShow: true,
         name: 'el-checkbox-add',
-		// labelKey: 'dictTypeName',
-		// valueKey: 'dictTypeName',
+		labelKey: 'dictValue',
+		valueKey: 'dictCode',
         attributes: {},
 		options: this.brandList,
         formItemAttributes: {
@@ -210,8 +211,8 @@ export default {
         md: 24,
         isShow: true,
         name: 'el-checkbox-add',
-		// labelKey: 'dictTypeName',
-		// valueKey: 'dictTypeName',
+		labelKey: 'dictValue',
+		valueKey: 'dictCode',
         attributes: {},
 		options: this.categoryList,
         formItemAttributes: {
@@ -294,7 +295,7 @@ export default {
   },
   created() {
   	this.getTypeList('PARTS_UNIT','partsUnitList')
-	this.getTypeList('PARTS_UNIT','brandList')
+	this.getTypeList('BRAND','brandList')
 	this.getTypeList('PARTS_UNIT','categoryList')
   },
   methods: {