Commit 7bbaec8c authored by dragondean@qq.com's avatar dragondean@qq.com

Merge remote-tracking branch 'origin/pre-release' into pre-release

parents 50297a04 6ed70f0d
...@@ -221,8 +221,7 @@ export default { ...@@ -221,8 +221,7 @@ export default {
return time.getTime() <= Date.now() return time.getTime() <= Date.now()
}, },
}, },
isEdit: false, isEdit: true,
queryParams: {},
followTime: [], followTime: [],
nextTime: [], nextTime: [],
queryParams: { queryParams: {
...@@ -357,7 +356,7 @@ export default { ...@@ -357,7 +356,7 @@ export default {
return return
} }
if (status == 0) { if (status === 0) {
this.saveSubmitData(status) this.saveSubmitData(status)
} else { } else {
this.$confirm(this.$t('提交后无法修改'), this.$t('提示'), { this.$confirm(this.$t('提交后无法修改'), this.$t('提示'), {
...@@ -403,6 +402,7 @@ export default { ...@@ -403,6 +402,7 @@ export default {
}, },
handleQuery() { handleQuery() {
this.pageNo = 1 this.pageNo = 1
this.queryParams.pageNo = 1
this.followTime = [] this.followTime = []
this.getCustomerFollowList() this.getCustomerFollowList()
}, },
...@@ -445,7 +445,7 @@ export default { ...@@ -445,7 +445,7 @@ export default {
}, },
handleAdd() { handleAdd() {
this.isView = false this.isView = false
this.isEdit = false this.isEdit = true
this.customerFollow.dialogVisible = true this.customerFollow.dialogVisible = true
this.reset() this.reset()
}, },
......
...@@ -272,9 +272,10 @@ ...@@ -272,9 +272,10 @@
<script> <script>
import { getCustomerPage, customerMergeCus } from "@/api/ecw/customer" import { getCustomerPage, customerMergeCus } from "@/api/ecw/customer"
import { getDictDatas, DICT_TYPE } from "@/utils/dict" import { getDictDatas, DICT_TYPE, getDictDatas2 } from "@/utils/dict"
import Contacts from "./contacts.vue"; import Contacts from "./contacts.vue";
import Template from "@/views/cms/template/index.vue"; import Template from "@/views/cms/template/index.vue";
import {getProductTypeList} from "@/api/ecw/productType";
export default { export default {
name: "CustomerMerge", name: "CustomerMerge",
components: { components: {
...@@ -399,7 +400,10 @@ export default { ...@@ -399,7 +400,10 @@ export default {
} }
}, },
created() { created() {
this.getList() this.getList();
getProductTypeList().then((r) => {
this.productTypeList = r.data;
});
}, },
methods: { methods: {
init() { init() {
......
...@@ -571,7 +571,7 @@ ...@@ -571,7 +571,7 @@
</el-table-column> </el-table-column>
<el-table-column width="150px" :label="$t('操作')" align="center" fixed="right" class-name="small-padding fixed-width"> <el-table-column width="150px" :label="$t('操作')" align="center" fixed="right" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleCustomerFollow(scope.row, false)" v-hasPermi="['ecw:customer:follow-update']">{{ $t("编辑") }}</el-button> <el-button size="mini" type="text" icon="el-icon-edit" @click="handleCustomerFollow(scope.row, scope.row.status === 0)" v-hasPermi="['ecw:customer:follow-update']">{{ $t("编辑") }}</el-button>
<el-button size="mini" type="text" icon="el-icon-collection" @click="handleCustomerFollow(scope.row, true)" v-has-permi="['ecw:customer:follow-add-plan']">{{ $t("增加计划") }}</el-button> <el-button size="mini" type="text" icon="el-icon-collection" @click="handleCustomerFollow(scope.row, true)" v-has-permi="['ecw:customer:follow-add-plan']">{{ $t("增加计划") }}</el-button>
</template> </template>
</el-table-column> </el-table-column>
...@@ -1004,7 +1004,7 @@ export default { ...@@ -1004,7 +1004,7 @@ export default {
this.destWarehouseId == "" this.destWarehouseId == ""
) { ) {
//获取当前城市值id,获取该城市下区域 //获取当前城市值id,获取该城市下区域
} else if ( } else if (
this.destCountryId == "" && this.destCountryId == "" &&
this.objectiveId == "" && this.objectiveId == "" &&
...@@ -1305,7 +1305,7 @@ export default { ...@@ -1305,7 +1305,7 @@ export default {
this.destCountryId = null this.destCountryId = null
this.objectiveId = null this.objectiveId = null
this.destWarehouseId = null this.destWarehouseId = null
this.queryParams = { rows:10,page:1}; this.queryParams = { rows:10,page:1};
this.getorderList() this.getorderList()
this.rucangtime = []; this.rucangtime = [];
}, },
...@@ -1333,7 +1333,7 @@ export default { ...@@ -1333,7 +1333,7 @@ export default {
this.destCountryId = null this.destCountryId = null
this.objectiveId = null this.objectiveId = null
this.destWarehouseId = null this.destWarehouseId = null
this.infoListOfferFrom = { pageNo:1,pageSize:10}; this.infoListOfferFrom = { pageNo:1,pageSize:10};
this.getInfoListOfferPage() this.getInfoListOfferPage()
}, },
getCustomerFollowList() { getCustomerFollowList() {
......
...@@ -623,7 +623,7 @@ import { ...@@ -623,7 +623,7 @@ import {
exportCustomerExcel, getCustomerToBeAssigned, waitDistributionExportExcel, exportCustomerExcel, getCustomerToBeAssigned, waitDistributionExportExcel,
competitorListAll competitorListAll
} from "@/api/ecw/customer"; } from "@/api/ecw/customer";
import { getDictDatas, DICT_TYPE } from '@/utils/dict'; import { getDictDatas, DICT_TYPE, getDictDatas2 } from '@/utils/dict';
import upload from '@/components/ImageUpload' import upload from '@/components/ImageUpload'
import {listServiceUser, listAllSimpl} from "@/api/system/user"; import {listServiceUser, listAllSimpl} from "@/api/system/user";
import {getCountryListAll} from "@/api/ecw/country"; import {getCountryListAll} from "@/api/ecw/country";
......
...@@ -738,7 +738,7 @@ import { ...@@ -738,7 +738,7 @@ import {
mineExportExcel, mineExportExcel,
competitorListAll competitorListAll
} from "@/api/ecw/customer"; } from "@/api/ecw/customer";
import { getDictDatas, DICT_TYPE } from "@/utils/dict"; import { getDictDatas, DICT_TYPE, getDictDatas2 } from "@/utils/dict";
import upload from "@/components/ImageUpload"; import upload from "@/components/ImageUpload";
import customerFollowList from "../customer/components/customerFollow"; import customerFollowList from "../customer/components/customerFollow";
import customerComplaints from "@/components/customerComplaints"; import customerComplaints from "@/components/customerComplaints";
......
...@@ -711,7 +711,7 @@ import { ...@@ -711,7 +711,7 @@ import {
publicExportExcel, publicExportExcel,
competitorListAll competitorListAll
} from "@/api/ecw/customer"; } from "@/api/ecw/customer";
import { getDictDatas, DICT_TYPE } from "@/utils/dict"; import { getDictDatas, DICT_TYPE, getDictDatas2 } from "@/utils/dict";
import upload from "@/components/ImageUpload"; import upload from "@/components/ImageUpload";
import { listServiceUser, listAllSimpl } from "@/api/system/user"; import { listServiceUser, listAllSimpl } from "@/api/system/user";
import { getCountryListAll } from "@/api/ecw/country"; import { getCountryListAll } from "@/api/ecw/country";
......
...@@ -516,7 +516,7 @@ ...@@ -516,7 +516,7 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('最后更新人')" v-show="isEdit" prop="updater"> <el-form-item :label="$t('最后更新人')" v-show="isEdit" prop="updater">
<el-input <el-input
v-model="form.updater" v-model="form.updater"
style="width: 220px" style="width: 220px"
></el-input> ></el-input>
...@@ -549,7 +549,7 @@ ...@@ -549,7 +549,7 @@
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
<script> <script>
import { getPageList } from "@/api/report/bankReceiptDetail"; import { getPageList } from "@/api/report/bankReceiptDetail";
import { getReceivableItem2 } from "@/api/ecw/financial"; import { getReceivableItem2 } from "@/api/ecw/financial";
...@@ -598,7 +598,6 @@ export default { ...@@ -598,7 +598,6 @@ export default {
title: "", title: "",
//是否显示弹出层 //是否显示弹出层
open: false, open: false,
form: {},
dialogVisible: false, dialogVisible: false,
reason: "", //审核理由 reason: "", //审核理由
cancelShow: false, cancelShow: false,
...@@ -1158,4 +1157,3 @@ export default { ...@@ -1158,4 +1157,3 @@ export default {
}, },
}; };
</script> </script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment