- Note Details:
+ Column:
Add Row
-
+
-
+
@@ -127,7 +133,7 @@
-
+
@@ -163,9 +169,9 @@
} from '@/utils/auth'
import
applicationMixin
- from "@/mixin/application.js"
- import {
- index as getCategory
+ from "@/mixin/application.js"
+ import {
+ index as getCategory
} from "@/api/product/category.js"
export default {
mixins: [applicationMixin],
@@ -179,21 +185,23 @@
},
action: `${process.env.VUE_APP_UPLOAD_API}`,
filesList: [],
- appCategoryList: [],
- productCategoryList:[],
+ appCategoryList: [],
+ productCategoryList: [],
detail_item: [{
type: 'index',
width: 50
}, {
prop: 'key',
- label: 'key'
+ label: 'key',
+ width: 340
}, {
prop: 'value',
label: 'value',
+ width: 340
}],
form: {
- application_type_id: '',
- category_id:[],
+ application_type_id: '',
+ category_id: [],
number: '',
title: "",
separation: [],
@@ -220,7 +228,7 @@
}
},
created() {
- this.uploadOther.token = getToken();
+ this.uploadOther.token = getToken();
this.getCategoryList()
},
methods: {
@@ -244,17 +252,17 @@
},
delRow(obj, index) {
this.form.application_details.splice(index, 1);
- },
- async getCategoryList() {
- const res = await getCategory({
- page_size: 999,
- page: 1,
- sort_type: 'ASC',
- sort_name: 'sort',
- type:2
- })
- this.productCategoryList = res.data
-
+ },
+ async getCategoryList() {
+ const res = await getCategory({
+ page_size: 999,
+ page: 1,
+ sort_type: 'ASC',
+ sort_name: 'sort',
+ type: 2
+ })
+ this.productCategoryList = res.data
+
},
submit() {
if (this.id) {
@@ -320,8 +328,8 @@
this.id = ''
this.filesList = []
this.form = {
- application_type_id: '',
- category_id:[],
+ application_type_id: '',
+ category_id: [],
number: '',
title: "",
separation: [],
diff --git a/src/views/customer/components/addMessage.vue b/src/views/customer/components/addMessage.vue
index c79e3ed..8017d74 100644
--- a/src/views/customer/components/addMessage.vue
+++ b/src/views/customer/components/addMessage.vue
@@ -20,8 +20,8 @@
Product:
-
-
+
+
@@ -53,7 +53,7 @@