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