Browse Source

商家端活动报名异常解决

master
dy-hu 3 months ago
parent
commit
00559ad4bd
  1. 2
      canvas-container/locales/en.json
  2. 2
      canvas-container/locales/zh-CN.json
  3. 2
      src/locales/en.json
  4. 2
      src/locales/zh-CN.json
  5. 19
      src/views/active/getActive.vue

2
canvas-container/locales/en.json

@ -167,7 +167,7 @@
"product.multistyle":"Multi-Types",
"product.originalprice":"Price",
"product.rate":"Tax",
"product.weight":"Weight",
"product.weight":"Weight(KG)",
"product.Internationalbarcode":"Barcode",
"product.skuname":"Type",
"product.skuvalue":"Description",

2
canvas-container/locales/zh-CN.json

@ -167,7 +167,7 @@
"product.multistyle":"多款式",
"product.originalprice":"原价",
"product.rate":"税率",
"product.weight":"重量",
"product.weight":"重量(KG)",
"product.Internationalbarcode":"国际条码",
"product.skuname":"规格名",
"product.skuvalue":"规格值",

2
src/locales/en.json

@ -167,7 +167,7 @@
"product.multistyle":"Multi-Types",
"product.originalprice":"Price",
"product.rate":"Tax",
"product.weight":"Weight",
"product.weight":"Weight(KG)",
"product.Internationalbarcode":"Barcode",
"product.skuname":"Type",
"product.skuvalue":"Description",

2
src/locales/zh-CN.json

@ -167,7 +167,7 @@
"product.multistyle":"多款式",
"product.originalprice":"原价",
"product.rate":"税率",
"product.weight":"重量",
"product.weight":"重量(KG)",
"product.Internationalbarcode":"国际条码",
"product.skuname":"规格名",
"product.skuvalue":"规格值",

19
src/views/active/getActive.vue

@ -68,7 +68,7 @@
:options="categoryList"
clearable
:props="{
checkStrictly: true,
checkStrictly: false,
expandTrigger: 'hover',
label:'categoryName',
value:'id',
@ -304,6 +304,7 @@
<script>
import { getClassify } from '@/api/commodity'
import { getGroups, getProducts, activitySave, checkPay } from '@/api/active'
import { getBusinessId } from '@/utils/auth'
export default {
props: {
@ -540,9 +541,21 @@ export default {
},
//
async queryAllCategory() {
const res = await getClassify()
this.categoryList = res.data
const res = await getClassify({}, {project : "" + getBusinessId()})
this.categoryList = this.filterList(res.data)
},
filterList(data) {
data.forEach(i => {
if (i.childs.length) {
this.filterList(i.childs)
} else {
i.childs = null
}
})
return data
},
// tableinput
reset() {
this.inputTableData = []

Loading…
Cancel
Save