|
@@ -32,7 +32,7 @@
|
|
|
<van-tab
|
|
<van-tab
|
|
|
v-for="(val, key, index) in tabsItemPantone"
|
|
v-for="(val, key, index) in tabsItemPantone"
|
|
|
:key="index"
|
|
:key="index"
|
|
|
- :title="key=='keKong'?'可控店':'金牌店'"
|
|
|
|
|
|
|
+ :title="key == 'keKong' ? '可控店' : '金牌店'"
|
|
|
:name="key"></van-tab>
|
|
:name="key"></van-tab>
|
|
|
</van-tabs>
|
|
</van-tabs>
|
|
|
</div>
|
|
</div>
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
getReportMaterialType,
|
|
getReportMaterialType,
|
|
|
getReportMaterial,
|
|
getReportMaterial,
|
|
|
selectColorMixerStoreInfo,
|
|
selectColorMixerStoreInfo,
|
|
|
- getColorWarning
|
|
|
|
|
|
|
+ getColorWarning,
|
|
|
} from '@/api/index';
|
|
} from '@/api/index';
|
|
|
import { mapState } from 'vuex';
|
|
import { mapState } from 'vuex';
|
|
|
export default {
|
|
export default {
|
|
@@ -149,20 +149,11 @@ export default {
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: '同城分销-涂料店',
|
|
|
|
|
- childredColumn: [
|
|
|
|
|
- {
|
|
|
|
|
- label: '(近2月)',
|
|
|
|
|
- prop: 'TuLiaoNotVisited',
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '同城分销-其他店',
|
|
|
|
|
|
|
+ label: '同城分销',
|
|
|
childredColumn: [
|
|
childredColumn: [
|
|
|
{
|
|
{
|
|
|
label: '(近3月)',
|
|
label: '(近3月)',
|
|
|
- prop: 'QiTaNotVisited',
|
|
|
|
|
|
|
+ prop: 'TcfxNotVisited',
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
@@ -191,24 +182,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- label: '同城分销-涂料店',
|
|
|
|
|
- childredColumn: [
|
|
|
|
|
- {
|
|
|
|
|
- label: '(7天未结案)',
|
|
|
|
|
- prop: 'TuLiaoAbnormalNum',
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '同城分销-其他店',
|
|
|
|
|
- childredColumn: [
|
|
|
|
|
- {
|
|
|
|
|
- label: '(7天未结案)',
|
|
|
|
|
- prop: 'QiTaAbnormalNum',
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
],
|
|
],
|
|
|
// 色卡
|
|
// 色卡
|
|
|
pantone: [
|
|
pantone: [
|
|
@@ -396,7 +369,7 @@ export default {
|
|
|
this.firstProp = 'warehouseName';
|
|
this.firstProp = 'warehouseName';
|
|
|
let deptId = tree ? tree.deptId : null;
|
|
let deptId = tree ? tree.deptId : null;
|
|
|
this.getPantoneData(resolve, deptId);
|
|
this.getPantoneData(resolve, deptId);
|
|
|
- }else if (this.fromType == 'colorWarning') {
|
|
|
|
|
|
|
+ } else if (this.fromType == 'colorWarning') {
|
|
|
// 调色预警
|
|
// 调色预警
|
|
|
let deptId = tree ? tree.onlyId : null;
|
|
let deptId = tree ? tree.onlyId : null;
|
|
|
this.firstProp = 'onlyName';
|
|
this.firstProp = 'onlyName';
|
|
@@ -494,7 +467,7 @@ export default {
|
|
|
// deptId 第一次传 null 获取当前等级下的数据(不需要当前层级)
|
|
// deptId 第一次传 null 获取当前等级下的数据(不需要当前层级)
|
|
|
getReportMaterialType(
|
|
getReportMaterialType(
|
|
|
{ materialCode: this.materialCode, deptId: deptId },
|
|
{ materialCode: this.materialCode, deptId: deptId },
|
|
|
- this.controller.signal
|
|
|
|
|
|
|
+ this.controller.signal,
|
|
|
).then((res) => {
|
|
).then((res) => {
|
|
|
this.maskShow = false;
|
|
this.maskShow = false;
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
@@ -532,7 +505,10 @@ export default {
|
|
|
// 调色机详情
|
|
// 调色机详情
|
|
|
getColorWarningFun(resolve, deptId) {
|
|
getColorWarningFun(resolve, deptId) {
|
|
|
// deptId 第一次传 null 获取当前等级下的数据(不需要当前层级)
|
|
// deptId 第一次传 null 获取当前等级下的数据(不需要当前层级)
|
|
|
- selectColorMixerStoreInfo({ deptId: deptId,storeType:this.activaPantoneName }, this.controller.signal).then((res) => {
|
|
|
|
|
|
|
+ selectColorMixerStoreInfo(
|
|
|
|
|
+ { deptId: deptId, storeType: this.activaPantoneName },
|
|
|
|
|
+ this.controller.signal,
|
|
|
|
|
+ ).then((res) => {
|
|
|
this.maskShow = false;
|
|
this.maskShow = false;
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
res.data.forEach((val) => {
|
|
res.data.forEach((val) => {
|