| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <import src="detail.skeleton.wxml" />
- <template is="skeleton" wx:if="{{loading}}" />
- <!-- 头部 样式使用list样式 -->
- <view class="setclient-list-item" url="#">
- <view class="con">
- <view class="portrait {{detail.enterprisename <=2?'min-portrait':''}}">{{handle.getName(detail.enterprisename)}}</view>
- <view class="mian">
- <view class="label line-1">{{detail.enterprisename}}</view>
- <view class="tag-box" wx:if="{{appAuth.isdatatag}}">
- <Yl-tags id="Tags" add ownertable='sa_customers' bind:onGetList='onGetList' ownerid='{{sa_customersid}}' />
- </view>
- </view>
- <view class="extend">
- <!-- <Info /> -->
- </view>
- </view>
- </view>
- <!-- 简介 -->
- <Yl_Detail list="{{briefs}}">
- <!-- 团队管理 -->
- <Yl-group wx:if="{{appAuth.isdatateam}}" id='Group' slot='bottom' add="{{detail.status != '已终止'}}" ownertable='sa_customers' ownerid='{{sa_customersid}}' />
- </Yl_Detail>
- <view style="height: 20rpx;" />
- <!-- 功能 -->
- <Yl_FunTabs list='{{tabsList}}' active='{{tabsActive}}' bind:onChenge="tabsChange">
- <Trace slot='跟进动态' id='Trace' ownertable='sa_customers' ownerid='{{sa_customersid}}' disabled="{{detail.status != '已终止'}}" ownerid1='{{detail.sys_enterpriseid}}' isAdmin="{{per.query(options,'expenseBreakdown')}}" />
- <Work slot='任务' id='Work' ownertable='sa_customers' ownerid='{{sa_customersid}}' disabled="{{(isAdmin||isLeader) && detail.status != '已终止'}}" />
- <Project slot='项目商机' id="Project" />
- <Preview slot='详细信息' list1='{{list1}}' list2='{{list2}}' />
- <Clue slot='关联线索' id='Clue' disabled="{{false}}" />
- <Address slot='客户地址' id='Address' disabled="{{(per.query(options,'address')||isAdmin||isLeader)&& detail.status != '已终止'}}" />
- <Contacts slot='联系人' id='Contacts' disabled="{{(per.query(options,'contact')||isAdmin||isLeader) && detail.status != '已终止'}}" path='/packageA/setclient/modules/contacts/quickly/index' sa_customersid='{{sa_customersid}}' enterprisename='{{detail.enterprisename}}' />
- <Offers slot='报价单' id='Offers' disabled="{{per.query(options,'offer')||isAdmin||isLeader}}" />
- <Contract slot='合同' id='Contract' />
- <Account slot='账户余额' id='Account' />
- <Bankcard slot='银行卡信息' id="Bankcard" disabled="{{(isAdmin||isLeader) && detail.status != '已终止'}}" />
- <Financing slot='开票信息' id="Financing" disabled="{{(per.query(options,'invoice')||isAdmin||isLeader)&& detail.status != '已终止'}}" />
- <Record slot="操作" id="Record" ownertable='sa_customers' ownerid='{{sa_customersid}}' />
- <Files slot="附件" id="Files" ownertable='sa_customers' ownerid='{{sa_customersid}}' disabled="{{detail.status != '已终止'}}" />
- </Yl_FunTabs>
- <!-- 底部 -->
- <Yl_Tabbar wx:if="{{tabbarList.length}}" list='{{tabbarList}}' bind:callback="tabbarOnClick" />
- <!-- 处理四字 -->
- <wxs module="handle">
- module.exports.getName = function (name) {
- return name.substring(0, 4)
- };
- </wxs>
- <!-- 查重 -->
- <van-popup show="{{ repetitionShow }}" custom-class='popup' round position="bottom" custom-style="height: 100%;" bind:close="repClose">
- <view class="title">
- {{language['查重']||'查重'}}
- <van-icon custom-class='icon' size='40rpx' name="cross" bindtap="repClose" />
- </view>
- <navigator url="#" class="enterprise" wx:for="{{repetitionList}}" wx:key="sys_enterpriseid" data-item="{{item}}" bindtap="toRepDetail">
- <view class="enterprise_title">{{item.enterprisename||" --"}}</view>
- <view class="tag-box">
- <van-tag custom-class='tag' wx:for="{{item.tag_sys}}" wx:key="index" wx:for-item='tag' color='#3874f6' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
- <van-tag custom-class='tag' wx:for="{{item.tag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
- </view>
- <view class="exp">{{language['客户地址']||'客户地址'}}:{{item.address||" --"}}</view>
- <view class="exp">{{language['企业税号']||'企业税号'}}:{{item.taxno||" --"}}</view>
- <view class="exp">{{language['客户类型']||'客户类型'}}:{{item.type||" --"}}</view>
- <view class="exp">{{language['负责人']||'负责人'}}:{{item.leader[0].name||" --"}}</view>
- <view class="exp">{{language['手机号']||'手机号'}}:{{item.phonenumber||" --"}}</view>
- <view class="exp">{{language['成交状态']||'成交状态'}}:{{item.tradingstatus||" --"}}</view>
- <view class="exp">{{language['最近跟进时间']||'最近跟进时间'}}:{{item.followdate||" --"}}</view>
- <view class="exp">{{language['归属应用']||'归属应用'}}:{{item.systemapp||" --"}}
- <block wx:if="{{item.systemapp=='回收站'}}">
- <icon style="padding-left:10rpx;" type="warn" size="11" color='red' />
- <text style="color: red;margin-left: 2rpx;">{{language['当前重复客户归属回收站,请联系管理处理!']||'当前重复客户归属回收站,请联系管理处理!'}}</text>
- </block>
- </view>
- </navigator>
- </van-popup>
- <wxs src='../../utils/wxmlQueryPer.wxs' module="per" />
- <!-- 更换合作模式 -->
- <van-action-sheet show="{{ changeMode }}" actions="{{ modeList }}" cancel-text="{{language['取消']||'取消'}}" bind:select='modeSelect' bind:cancel='modeCancel' bind:click-overlay='modeCancel' z-index='9999999' />
|