Commit 02e29a5d by 张权

Merge branch 'v2.6.0' of http://192.168.3.233:8090/saas/scrm-micro-services into v2.6.0

2 parents 27745739 03c474c7
......@@ -1942,6 +1942,17 @@
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"cliui": {
"version": "6.0.0",
"resolved": "https://registry.nlark.com/cliui/download/cliui-6.0.0.tgz",
......@@ -1977,12 +1988,31 @@
"ms": "2.1.2"
}
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npm.taobao.org/is-fullwidth-code-point/download/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha1-8Rb4Bk/pCz94RKOJl8C3UFEmnx0=",
"dev": true
},
"loader-utils": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz",
"integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmmirror.com/ms/download/ms-2.1.2.tgz",
......@@ -2018,6 +2048,28 @@
"ansi-regex": "^5.0.1"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
}
},
"wrap-ansi": {
"version": "6.2.0",
"resolved": "https://registry.nlark.com/wrap-ansi/download/wrap-ansi-6.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fwrap-ansi%2Fdownload%2Fwrap-ansi-6.2.0.tgz",
......@@ -13200,87 +13252,6 @@
}
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"loader-utils": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz",
"integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-router": {
"version": "3.5.3",
"resolved": "https://registry.npmmirror.com/vue-router/download/vue-router-3.5.3.tgz",
......
......@@ -2,7 +2,7 @@ import Vue from 'vue'
import ElementUI from 'element-ui'
import { message, messageBox } from '@/plugins/element.js'
import { fetchConfig } from '@/config'
import { GLButton, GLTable } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { GLButton, GLTable, GLCombiForm, GLTableButton } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { getRoutes } from '@/router'
import render from './render'
import 'glsx-components/dist/glsx-components.css'
......@@ -12,6 +12,8 @@ let router = null
let instance = null
Vue.use(GLTable)
Vue.use(ElementUI)
Vue.use(GLCombiForm)
Vue.use(GLTableButton)
// Vue.use(Table)
// Vue.use(TableColumn)
export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
......
......@@ -257,6 +257,12 @@ export default {
if (division.extraCostDivisionFlag == 3) {
newArr.push('额外成本')
}
if (division.installCostDivisionFlag == 3) {
newArr.push('安装费用')
}
if (division.marketingCostDivisionFlag == 3) {
newArr.push('营销费用(包含奖惩)')
}
let str = newArr.join(',')
division.inCludeStr = str
if(!newArr.length){
......
......@@ -355,7 +355,7 @@ export default {
label: levelName[accountLevel + 1],
name: 'merchantIdss',
type: 'select',
optionList: child[0].children,
optionList: child[0]&&child[0].children?child[0].children:[],
optionId: 'id',
optionLabel: 'merchantName',
isClear: true
......@@ -367,19 +367,35 @@ export default {
label: levelName[accountLevel + 2],
name: 'merchantIdsss',
type: 'select',
optionList: child2[0].children,
optionList: child2[0]&&child2[0].children?child2[0].children:[],
optionId: 'id',
optionLabel: 'merchantName',
isClear: true
}
this.searchFormData1.push(newForm2)
this.searchFormData2.push(newForm2)
const isAdd1 = this.judgeAdd(newForm2,this.searchFormData1,'name')
const isAdd2 = this.judgeAdd(newForm2,this.searchFormData2,'name')
if(!isAdd1){
this.searchFormData1.push(newForm2)
}
if(!isAdd2){
this.searchFormData2.push(newForm2)
}
// this.searchFormData1.push(newForm2)
// this.searchFormData2.push(newForm2)
this.refreshComponent()
}
}
this.rowNumber = 3
this.searchFormData1.push(newForm)
this.searchFormData2.push(newForm)
const isAdd1 = this.judgeAdd(newForm,this.searchFormData1,'name')
const isAdd2 = this.judgeAdd(newForm,this.searchFormData2,'name')
if(!isAdd1){
this.searchFormData1.push(newForm)
}
if(!isAdd2){
this.searchFormData2.push(newForm)
}
// this.searchFormData1.push(newForm)
// this.searchFormData2.push(newForm)
this.refreshComponent()
}
}
......@@ -392,6 +408,16 @@ export default {
this.refreshKey1 = Date.now()
this.refreshKey2 = Date.now() + 1
},
// 判断是否需要添加下拉框
judgeAdd(obj,objList,tag){
let flag = false
objList.forEach(item=>{
if(item[tag]==obj[tag]){
flag = true
}
})
return flag
},
handleOkFn() {
this.handlerParams()
},
......
......@@ -104,9 +104,11 @@
</div>
<div class="box_bg_wrap mini_margin">
<div class="tab_wrap">
<div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:48%' : 'width:32%'">
<!-- <div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:48%' : 'width:32%'"> -->
<div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:32%' : 'width:16%'">
<template v-for="(item, index) in tabList">
<div :key="index" class="tab_element_wrap" :style="accountLevel == 4 ? 'width:33.33%' : 'width:50%'" @click="changeTab(index)">
<!-- <div :key="index" class="tab_element_wrap" :style="accountLevel == 4 ? 'width:33.33%' : 'width:50%'" @click="changeTab(index)"> -->
<div :key="index" class="tab_element_wrap" :style="accountLevel == 4 ? 'width:50%' : 'width:100%'" @click="changeTab(index)">
<div class="tab_item h13_title flex_cc" :class="curTabIndex == index ? 'tab_item_active' : ''">{{ item }}</div>
</div>
</template>
......@@ -119,17 +121,17 @@
<template v-if="curTabIndex == 1">
<upgrade-order></upgrade-order>
</template>
<template v-if="curTabIndex == 2">
<!-- <template v-if="curTabIndex == 2">
<my-fashionable-order></my-fashionable-order>
</template>
</template> -->
</template>
<template v-if="accountLevel != 4">
<template v-if="curTabIndex == 0">
<upgrade-order :list="storeList"></upgrade-order>
</template>
<template v-if="curTabIndex == 1">
<!-- <template v-if="curTabIndex == 1">
<my-fashionable-order :list="storeList"></my-fashionable-order>
</template>
</template> -->
</template>
</div>
</div>
......@@ -170,7 +172,8 @@ export default {
dateType: 'date',
dateplaceholder: '选择日期',
showMore: true,
tabList: ['精品礼券领取订单', '精品升级订单', '我的分账'],
// tabList: ['精品礼券领取订单', '精品升级订单', '我的分账'],
tabList: ['精品礼券领取订单', '精品升级订单'],
curTabIndex: 0,
customName: '',
hxstatus: '',
......@@ -195,7 +198,8 @@ export default {
const { session } = this.$globalState
this.accountLevel = session.accountLevel
if (session.accountLevel != 4) {
this.tabList = ['订单明细', '分账明细']
// this.tabList = ['订单明细', '分账明细']
this.tabList = ['订单明细']
this.toGet4SStore()
}
// 获取上一次打开的状态
......
......@@ -720,7 +720,7 @@ export default {
label: levelName[accountLevel + 1],
name: 'merchantIdss',
type: 'select',
optionList: child[0].children,
optionList: child[0]&&child[0].children?child[0].children:[],
optionId: 'id',
optionLabel: 'merchantName',
isClear: true
......@@ -732,17 +732,23 @@ export default {
label: levelName[accountLevel + 2],
name: 'merchantIdsss',
type: 'select',
optionList: child2[0].children,
optionList: child2[0]&&child2[0].children?child2[0].children:[],
optionId: 'id',
optionLabel: 'merchantName',
isClear: true
}
this.searchFormData.push(newForm2)
const isAdd = this.judgeAdd(newForm2,this.searchFormData,'name')
if(!isAdd){
this.searchFormData.push(newForm2)
}
this.refreshKey = Date.now()
}
}
this.rowNumber = 3
this.searchFormData.push(newForm)
const isAdd = this.judgeAdd(newForm,this.searchFormData,'name')
if(!isAdd){
this.searchFormData.push(newForm)
}
this.refreshKey = Date.now()
}
}
......@@ -750,6 +756,16 @@ export default {
this.refreshKey = Date.now()
})
},
// 判断是否需要添加下拉框
judgeAdd(obj,objList,tag){
let flag = false
objList.forEach(item=>{
if(item[tag]==obj[tag]){
flag = true
}
})
return flag
},
/**处理新表格动态刷新列方法 */
handlerNewTableCoulum(fieldList) {
this.dynamicTableShow = false
......@@ -792,6 +808,7 @@ export default {
newTableParams.tableColumns[item.level - 1].children.push(obj)
})
this.newTableParams = newTableParams
this.$refs.subTable.componentKey = Date.now()
this.$nextTick(() => {
this.dynamicTableShow = true
})
......@@ -911,6 +928,7 @@ export default {
pageSize: this.$refs.subTable.page.pageSize,
...this.newHttpParam
}
this.$refs.subTable.componentKey = Date.now()
this.getTotalOfJT(this.httpParam)
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!