|
|
@ -102,6 +102,12 @@
|
|
|
|
:selection-list="[detail]"
|
|
|
|
:selection-list="[detail]"
|
|
|
|
:dialog-visible.sync="allocDialogShow"
|
|
|
|
:dialog-visible.sync="allocDialogShow"
|
|
|
|
@handle="handleCallBack" />
|
|
|
|
@handle="handleCallBack" />
|
|
|
|
|
|
|
|
<get-handle
|
|
|
|
|
|
|
|
:crm-type="crmType"
|
|
|
|
|
|
|
|
:pool_id="pool_id"
|
|
|
|
|
|
|
|
:selection-list="[detail]"
|
|
|
|
|
|
|
|
:dialog-visible.sync="getDialogShow"
|
|
|
|
|
|
|
|
@handle="handleCallBack" />
|
|
|
|
<deal-status-handle
|
|
|
|
<deal-status-handle
|
|
|
|
:value="detail.dealStatus"
|
|
|
|
:value="detail.dealStatus"
|
|
|
|
:crm-type="crmType"
|
|
|
|
:crm-type="crmType"
|
|
|
@ -141,6 +147,7 @@ import {
|
|
|
|
import { crmInvoiceDeleteIdsAPI } from '@/api/crm/invoice'
|
|
|
|
import { crmInvoiceDeleteIdsAPI } from '@/api/crm/invoice'
|
|
|
|
import TransferHandle from './SelectionHandle/TransferHandle' // 转移
|
|
|
|
import TransferHandle from './SelectionHandle/TransferHandle' // 转移
|
|
|
|
import AllocHandle from './SelectionHandle/AllocHandle' // 公海分配操作
|
|
|
|
import AllocHandle from './SelectionHandle/AllocHandle' // 公海分配操作
|
|
|
|
|
|
|
|
import GetHandle from './SelectionHandle/GetHandle' // 公海分配操作
|
|
|
|
import DealStatusHandle from './SelectionHandle/DealStatusHandle' // 客户状态修改操作
|
|
|
|
import DealStatusHandle from './SelectionHandle/DealStatusHandle' // 客户状态修改操作
|
|
|
|
import PutPoolHandle from './SelectionHandle/PutPoolHandle' // 放入公海
|
|
|
|
import PutPoolHandle from './SelectionHandle/PutPoolHandle' // 放入公海
|
|
|
|
|
|
|
|
|
|
|
@ -149,6 +156,7 @@ export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
TransferHandle,
|
|
|
|
TransferHandle,
|
|
|
|
AllocHandle,
|
|
|
|
AllocHandle,
|
|
|
|
|
|
|
|
GetHandle,
|
|
|
|
DealStatusHandle,
|
|
|
|
DealStatusHandle,
|
|
|
|
PutPoolHandle
|
|
|
|
PutPoolHandle
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -188,6 +196,7 @@ export default {
|
|
|
|
moreTypes: [], // 更多操作
|
|
|
|
moreTypes: [], // 更多操作
|
|
|
|
transferDialogShow: false, // 转移操作
|
|
|
|
transferDialogShow: false, // 转移操作
|
|
|
|
allocDialogShow: false, // 公海分配操作提示框
|
|
|
|
allocDialogShow: false, // 公海分配操作提示框
|
|
|
|
|
|
|
|
getDialogShow: false, // 公海领取提示框
|
|
|
|
dealStatusShow: false, // 成交状态修改框
|
|
|
|
dealStatusShow: false, // 成交状态修改框
|
|
|
|
putPoolShow: false // 客户放入公海
|
|
|
|
putPoolShow: false // 客户放入公海
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -230,7 +239,7 @@ export default {
|
|
|
|
showTransfer() {
|
|
|
|
showTransfer() {
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|
this.crmType === 'customer' ||
|
|
|
|
this.crmType === 'customer' ||
|
|
|
|
this.crmType === 'visit' ||
|
|
|
|
this.crmType === 'visit' ||
|
|
|
|
this.isSeas
|
|
|
|
this.isSeas
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
return false
|
|
|
|
return false
|
|
|
@ -315,7 +324,6 @@ export default {
|
|
|
|
type == 'unlock' ||
|
|
|
|
type == 'unlock' ||
|
|
|
|
type == 'start' ||
|
|
|
|
type == 'start' ||
|
|
|
|
type == 'disable' ||
|
|
|
|
type == 'disable' ||
|
|
|
|
type == 'get' ||
|
|
|
|
|
|
|
|
type == 'cancel'
|
|
|
|
type == 'cancel'
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
var message = ''
|
|
|
|
var message = ''
|
|
|
@ -352,6 +360,9 @@ export default {
|
|
|
|
} else if (type == 'alloc') {
|
|
|
|
} else if (type == 'alloc') {
|
|
|
|
// 公海分配操作
|
|
|
|
// 公海分配操作
|
|
|
|
this.allocDialogShow = true
|
|
|
|
this.allocDialogShow = true
|
|
|
|
|
|
|
|
} else if (type == 'get') {
|
|
|
|
|
|
|
|
// 公海分配操作
|
|
|
|
|
|
|
|
this.getDialogShow = true
|
|
|
|
} else if (type == 'deal_status') {
|
|
|
|
} else if (type == 'deal_status') {
|
|
|
|
// 客户成交状态操作
|
|
|
|
// 客户成交状态操作
|
|
|
|
this.dealStatusShow = true
|
|
|
|
this.dealStatusShow = true
|
|
|
|