| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990 |
- <wxs src="../../../../dist/wxs/utils.wxs" module="utils" />
- <wxs src='../../../../utils/numberFormat.wxs' module="numberFormat"></wxs>
- <wxs src='../../../../utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
- <van-dialog id="van-dialog" />
- <loading wx:if="{{loading}}" loadingName="加载中" backgroundColor="#f2f2f2;" opacity="0.8"></loading>
- <view class="customer-detail">
- <view style="color: white;margin:12px;font-size: 13px; width: 100%;">
- <view style="display: flex;">
- <view style="width: 100%; display: flex;justify-content: space-between;">
- <view style="padding-right: 5px;margin-top:2px;display: flex;">
- <van-image width="20" height="20" src="/static/img/user.png" />
- <dk-text style="white-space:nowrap;margin-right: 20rpx;padding-left: 8rpx;" fontWeight="nomal" value="{{form.customerName}}"></dk-text>
- </view>
- <view data-item="{{item}}" catchtap="toEdit">
- <van-image custom-class="image-class" src="/static/img/edit.png" />
- </view>
- </view>
- </view>
- <view style="display:flex;margin-top:8rpx;">
- <view style="margin-left: 10rpx;white-space:nowrap;" wx:if="{{form.customerFromName}}" wx:for-item="item_a">
- <dk-van-tag border="1rpx solid #fff" color="transparent" textColor="#fff" radius="5rpx" roundFlag="{{true}}" value="{{form.customerFromName}}"></dk-van-tag>
- </view>
- <view style="margin-left: 10rpx;white-space:nowrap;" wx:if="{{form.saleStatus == '客成状态-潜客'}}" wx:for-item="item_a">
- <dk-van-tag border="1rpx solid #fff" color="transparent" textColor="#fff" radius="5rpx" roundFlag="{{true}}" value="潜在客户"></dk-van-tag>
- </view>
- <view style="margin-left: 10rpx;white-space:nowrap;" wx:if="{{form.saleStatus == '客成状态-成交'}}" wx:for-item="item_a">
- <dk-van-tag border="1rpx solid #fff" color="transparent" textColor="#fff" radius="5rpx" roundFlag="{{true}}" value="成交客户"></dk-van-tag>
- </view>
- <view style="margin-left: 10rpx;white-space:nowrap;" wx:if="{{form.saleStatus == '客成状态-公海'}}" wx:for-item="item_a">
- <dk-van-tag border="1rpx solid #fff" color="transparent" textColor="#fff" radius="5rpx" roundFlag="{{true}}" value="公海客户"></dk-van-tag>
- </view>
- <view style="margin-left: 10rpx;white-space:nowrap;" wx:if="{{form.intentionTagsName}}" wx:for-item="item_a">
- <dk-van-tag border="1rpx solid #fff" color="transparent" textColor="#fff" radius="5rpx" roundFlag="{{true}}" value=" {{form.intentionTagsName}}"></dk-van-tag>
- </view>
- </view>
- <view style="display:flex;margin-top:20rpx;">
- <!--联系电话-->
- <van-icon name="phone" class="image-small" />
- <dk-text color="#fff" fontWeight="500" fontSize="13px" value="{{form.customerPhone}}" copyValue="{{form.customerPhone}}"></dk-text>
- </view>
- <view style="display: flex;margin-top:15rpx;">
- <van-icon name="location" class="image-small" />
- <dk-text color="#fff" fontWeight="500" fontSize="13px" value="{{ wxmlUtil.addressToIndexOf(form.addressFull)}}" copyValue="{{form.addressName?form.addressName:''}}{{form.addressNo?form.addressNo:''}}"></dk-text>
- </view>
- <view wx:if="{{!(form.customerTagsName.length>0)}}" class="table-row">
- <dk-van-tag border="1rpx solid #4D66A6" color="transparent" textColor="#4D66A6" radius="5rpx" roundFlag="{{true}}" value="暂无标签"></dk-van-tag>
- </view>
- <view wx:if="{{form.customerTagsName.length>0}}" style="display: flex;margin-top:18rpx;">
- <view wx:for="{{form.customerTagsName}}" wx:for-index="indext" wx:for-item="itemt">
- <dk-van-tag border="1rpx solid #4D66A6" color="transparent" textColor="#4D66A6" radius="5rpx" roundFlag="{{true}}" value="{{ itemt.tagName }}"></dk-van-tag>
- </view>
- </view>
- </view>
- </view>
- <view class="customer-tel">
- <view class="customer-tel-detail" catchtap="onClickphone" data-telephone="{{form.customerPhone}}">
- <van-icon name="phone" class="image-small" />
- <view style="color:#2E3853;font-size:14px;font-weight:600;">
- 电话
- </view>
- </view>
- <view wx:if="{{form.qvExternalUserid}}" class="customer-tel-detail" catchtap="openWeChat" data-externalUserid="{{form.qvExternalUserid}}">
- <van-icon name="chat-o" />
- <view style="color:#2E3853;font-size:14px;font-weight:600;">
- 单聊
- </view>
- </view>
- <view wx:if="{{!form.qvExternalUserid}}" class="customer-tel-detail" catchtap="onnavigateToAddCustomer" data-externalUserid="{{form.qvExternalUserid}}">
- <van-icon name="chat-o" />
- <view style="color:#2E3853;font-size:14px;font-weight:600;">
- 加微信
- </view>
- </view>
- <view wx:if="{{form.qvChatId}}" class="customer-tel-detail" data-chatid="{{form.qvChatId}}" catchtap="openWeChatUs">
- <van-icon name="friends-o" />
- <view style="color:#2E3853;font-size:14px;font-weight:600;">
- 群聊
- </view>
- </view>
- <view wx:if="{{!form.qvChatId}}" class="customer-tel-detail" data-chatid="{{form.qvChatId}}" catchtap="showDesignPopup">
- <van-icon name="friends-o" />
- <view style="color:#2E3853;font-size:14px;font-weight:600;">
- 建群聊
- </view>
- </view>
- <!--
- <view class="customer-tel-detail" data-chatid="{{form.qvChatId}}" catchtap="toCustomerConsolidation">
- <van-icon name="friends-o" />
- <view style="color:#2E3853;font-size:14px;font-weight:600;">
- 客户合并
- </view>
- </view> -->
- </view>
- <van-grid column-num="3">
- <view style="display: flex;padding-top:39rpx;background-color:white;">
- <view class="number">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#1B365D" fontWeight="600" title="" content="{{SumDataList.orderAmount}}"></dk-cell>
- </view>
- <view class="oreder-summary-detail">
- 订单({{SumDataList.orderQuantity}}单)
- </view>
- </view>
- <view class="number">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#1B365D" fontWeight="600" title="" content="{{SumDataList.outAmount}}"></dk-cell>
- </view>
- <view class="oreder-summary-detail">
- 出库({{SumDataList.outQuantity}}单)
- </view>
- </view>
- <view class="number">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#1B365D" fontWeight="600" title="" content="{{SumDataList.nonOutAmount}}"></dk-cell>
- </view>
- <view class="oreder-summary-detail">
- 未出库
- </view>
- </view>
- </view>
- <view style="display: flex;background-color:white;">
- <view class="number">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#1B365D" fontWeight="600" title="" content="{{SumDataList.sumReceipt}}"></dk-cell>
- </view>
- <view class="oreder-summary-detail">
- 收款总额
- </view>
- </view>
- <view class="number">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#1B365D" fontWeight="600" title="" content="{{arrears}}">
- </dk-cell>
- </view>
- <view class="oreder-summary-detail">
- 客户欠款
- </view>
- </view>
- <view class="number">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#1B365D" fontWeight="600" title=""
- content="{{SumDataList.rejectAmount}}"></dk-cell>
- </view>
- <view class="oreder-summary-detail">
- 退货({{SumDataList.rejectQuantity}}单)
- </view>
- </view>
- </view>
- </van-grid>
- <view style="margin-bottom: 15rpx;"></view>
- <van-cell border="{{ false }}">
- <view style=" display:flex;height: 102rpx;width:100%;">
- <view class="order-button" style="background-color:#77C5D5;" bindtap="toChooseGoods" data-item="{{form}}">
- <van-icon style="vertical-align: -15%;font-size:5vw;color : #FFFFFF;" name="/static/img/customer-order.png" />
- <view style="color:#FFFFFF;">
- 销售订单
- </view>
- </view>
- <view class="order-button" style="background-color:#B3C3FC;margin-left: 23rpx;" bindtap="toCollectionAdd" data-item="{{form}}">
- <van-icon style="vertical-align: -15%;font-size:5vw;color : #FFFFFF;" name="/static/img/customer-collection.png" />
- <view style="color:#FFFFFF;">
- 收款单
- </view>
- </view>
- <view class="order-button" style="background-color:#99CDEF;margin-left: 23rpx;" bindtap="toSelectOrder" data-item="{{form}}">
- <van-icon style="vertical-align: -15%;font-size:5vw;color:#FFFFFF;" name="/static/img/customer-original.png" />
- <view style="color:#FFFFFF;">
- 销售退货
- </view>
- </view>
- </view>
- </van-cell>
- <view style="margin-bottom: 15rpx;"></view>
- <van-tabs color="#1B365D" active="{{ active }}" bind:change="onChange">
- <van-tab title-style="color:#96A7C5;" title="跟进记录">
- <view class="table-show">
- <view class="table-show-detail" style="padding: 5rpx;">
- <view style="width: 100%; height: 40px;background-color: white; justify-content: space-around; align-items: center;" wx:if="{{customerFollowList.length>0}}">
- <view style="font-size: 14px;display: flex; margin-top:34rpx; ">
- <view style="padding-left:20px;flex:1.1;color:#1B365D;white-space: nowrap;">
- <!-- 下次跟进时间:{{form.customerFollowList[0].nextFollowTime?form.customerFollowList[0].nextFollowTime:''}}</view> -->
- 下次跟进时间: 2024年1月24日
- </view>
- <view style="flex:1;color:#1B365D;text-align:right;margin-right:36rpx;">跟进 3 次</view>
- </view>
- <!--
- <view style="font-size: 12px;word-break: break-word; padding-left:20px;;color:#1B365D;">
- 下次跟进计划:{{form.customerFollowList[0].nextFollowPlan?form.customerFollowList[0].nextFollowPlan:''}}
- </view> -->
- <view style="font-size: 14px;word-break: break-all; padding-left:20px;color:#1B365D;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;width: calc(100% - 40px); ">
- 下次跟进计划: 11111
- </view>
- </view>
- <!-- 步骤条 start -->
- <!-- 跟进记录 第一个da循环 -->
- <view wx:for="{{customerFollowList}}">
- <!-- 第一框 -->
- <view style="display:flex;background:white;font-size:14px;color:#95A8CB;margin-top:10px;">
- <view style="margin-left: 6vw;">
- {{item.weekTime==1?"周一":item.weekTime==2?"周二":item.weekTime==3?"周三":item.weekTime==4?"周四":item.weekTime==5?"周五":item.weekTime==6?"周六":item.weekTime==7?"周日":""}}
- </view>
- <view style="margin-left: 6vw;">{{item.createTime}}</view>
- </view>
- <view class="steps_box">
- <!-- 第一框 循环 第一个 -->
- <block class="block-step" wx:for="{{item.data}}" wx:for-item="dataitem">
- <view class="view_item">
- <!-- 圆圈数字 -->
- <view style="display: inline-flex;">
- <view style="font-size: 13px;padding-right:10rpx; padding-top: 2vw; color: #95A8CB;" id="time{{index}}">
- {{dataitem.hourTime}}</view>
- <view style=" height: 10px; width: 10px;background-color: rgb(34, 141, 228); border-radius: 50%;margin-top: 3vw;" id="xian{{index}}"> </view>
- <view class="r_box" id="kuang{{index}}" data-item="{{dataitem}}" style="margin-left:20rpx;" bindtap="tofollew">
- <view style="color:#1B365D;font-size:13px;margin: 1vw;">
- {{dataitem.followType}}|{{dataitem.followStatus}}
- </view>
- <view style="color:#1B365D;font-size:13px;margin: 1vw;">
- 跟进人:{{dataitem.followUserName}}
- </view>
- <view style="color: #96A7C5;font-size:13px;margin:1vw;word-break:break-word;">
- {{dataitem.followData}}
- </view>
- <view wx:if="{{dataitem.measureTime}}" style="color:#1B365D;font-size:13px;margin: 1vw;">
- 回执时间:{{dataitem.measureTime}}
- </view>
- <!-- <view wx:if="{{dataitem.measureRemarks}}" style="color:#1B365D;font-size:13px;margin: 1vw;">
- 量尺记录:{{dataitem.measureRemarks}}
- </view> -->
- <view style=" color:#1B365D;font-size:13px;margin: 1vw;">
- <view style="display: flex;">
- <view style="color: rgb(34, 141, 228);">查看更多</view>
- </view>
- <!-- <view wx:for="{{dataitem.measureAnnex}}" wx:for-item="item2">
- 空间名称:{{item2.usedLocation}}
- <view wx:if="{{item2.annexPaths.length > 0}}" wx:for="{{item2.annexPaths}}" wx:for-item="item3">
- {{item3}}
- </view>
- </view> -->
- </view>
- </view>
- </view>
- </view>
- <view style="margin-left: calc({{timeWidth}}px );display: flex;">
- </view>
- </block>
- </view>
- <!-- 步骤条 end -->
- </view>
- <van-empty wx:if="{{customerFollowList.length==0}}" description="暂无数据" />
- </view>
- </view>
- </van-tab>
- <van-tab title-style="color:#96A7C5;" title="交易记录">
- </van-tab>
- <view wx:if="{{active == 1}}">
- <view style="margin-bottom: 15rpx;"></view>
- <van-tabs type="card" border="{{false}}" active="{{ activeCard }}" bind:change="changeTag" tab-active-class="{{activeCard==0?'van-tab-active-left':(activeCard==2?'van-tab-active-right':'van-tab-active-middle')}}">
- <van-tab title="预算报价">
- </van-tab>
- <van-tab title="成交订单">
- </van-tab>
- <van-tab title="销售退货">
- </van-tab>
- </van-tabs>
- <view wx:if="{{activeCard == 0}}">
- <view wx:for="{{orderList_price}}" data-index="{{index}}" data-item="item">
- <view class="dk-card-outer-class">
- <view class="dk-card-class">
- <view style="display:flex;padding: 2vw;">
- <image style="width:48rpx;height:48rpx;align-self:center;margin: 16rpx;" src="/static/img/customer-assignment.png"></image>
- <view style="font-weight:bold;font-size: 13px;white-space:nowrap;align-self:center;">{{item.orderNo}}
- </view>
- </view>
- <view style="height: 1px;background:#E9F0FE;width:90%;margin-left:5vw;" />
- <view style="display:flex;font-size: 26rpx;">
- <view style="margin:2vw;margin-left: 32rpx;">门店:{{item.orgName}}</view>
- <view style="flex:1;text-align:right;margin: 2vw;margin-right: 32rpx;white-space:nowrap;">
- 导购:{{item.staffName}}</view>
- </view>
- <van-grid column-num="3">
- <view style="display: flex;background-color:white;">
- <view class="number-out-order">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#CAA977" fontWeight="600" title="" content="{{item.sumAmount}}"></dk-cell>
- </view>
- <view class="out-oreder-detail">
- 报价金额
- </view>
- </view>
- <view class="number-out-order">
- <view class="order-summary">
- <dk-text fontSize="17" color="#1B365D" value="{{item.categoryQuantity}}">
- </dk-text>
- </view>
- <view class="out-oreder-detail">
- 品类数
- </view>
- </view>
- <view class="number-out-order">
- <view class="order-summary">
- <dk-text fontSize="17" color="#1B365D" value="{{item.sumQuantity}}">
- </dk-text>
- </view>
- <view class="out-oreder-detail">
- 产品件数
- </view>
- </view>
- </view>
- </van-grid>
- <view style="height: 1px;background:#E9F0FE;width:90%;margin-left:5vw;" />
- <van-collapse value="{{ activeNames_goods }}" bind:change="onChange_goods">
- <van-collapse-item name="{{index+1}}" value="展开">
- <view slot="title">
- <view style="display: flex;">
- <view>商品明细</view>
- <view style="color:#b9b9b9;font-size:10px;flex:1;text-align-last: right;"></view>
- </view>
- </view>
- <view wx:for="{{item.orderItemVOList}}" data-item="{{item}}" wx:for-item="item" wx:key="index" wx:for-index="childindex" border="{{ true }}">
- <van-card data-item="{{item}}" data-index="{{index}}">
- <view slot="thumb">
- <van-image radius="5px" width="80" height="80" src="{{item.iconThumPath }}" />
- </view>
- <view slot="title" style="display: flex;">
- <view style="display: flex;">
- <dk-title titleTag="{{item.titleTag}}" title="{{item.title}}"></dk-title>
- </view>
- <view wx:if="{{item.flag}}" style="text-align: right;width: 30%;">
- <van-tag catchtap="flag_bindtap" wx:if="{{item.flag}}" type="danger" color="red" style="text-align: right;">可换件</van-tag>
- <van-tag catchtap="flag_bindtap" wx:if="{{item.flag}}" type="danger" color="red" style="text-align: right;">需设计</van-tag>
- </view>
- </view>
- <view slot="desc">
- <view style="display:flex;width: 100%;">
- <view style="width: 80%;">
- <dk-text fontWeight="nomal" value="{{item.desc}}"></dk-text>
- </view>
- </view>
- </view>
- <view slot="price">
- <view style="display: flex;width: 100%;flex-direction: row;">
- <view style="color: red;font-size: 4vw;width: 100%;">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="16" contentColor="#CAA977" fontWeight="600" title="" content="{{numberFormat.toThousandCents(item.priceSale ? item.priceSale : 0)}}"></dk-cell>
- </view>
- <view style="width: 100%;text-align: right;font-size: 3.5vw;color: #95A8CB;">x <span style="line-height:56rpx;">{{item.itemQuantity}}</span></view>
- </view>
- </view>
- <view slot="footer">
- <view style="margin-top: 15rpx;" wx:if="{{item.bomItems.length > 0}}">
- <view style="width: 100%;display: flex;">
- <view style="font-size: 14px;width: 50%;text-align: left;color: #95A8CB;">
- 明细
- </view>
- <view style="font-size: 14px;width: 50%;text-align: right;color: #95A8CB;" data-item="{{item}}" data-big="{{index}}" data-index="{{childindex}}" catchtap="onPriceOpenGoodsList">
- {{item.packageDetailsFlag ? '收起' :'展开'}}
- <van-icon name="{{item.packageDetailsFlag ? 'arrow-up' :'arrow-down' }}" />
- </view>
- </view>
- <view wx:if="{{item.packageDetailsFlag}}">
- <view wx:for="{{item.bomItems}}" data-item="{{item2}}" wx:for-item="item2" wx:key="index2">
- <view style="text-align: left;width: 100%; padding-left: 15rpx;padding-top:15rpx;">
- <view style="display: flex;">
- <view>
- <van-image radius="5px" width="65" height="65" src="{{item2.iconThumPath }}" />
- </view>
- <view style="margin-left:5px;width: 66vw;">
- <view style="display: flex;">
- <dk-title titleTag="{{item2.titleTag}}" title="{{item2.skuModel}}"></dk-title>
- </view>
- <view style="display: flex;font-size:3.2vw; ">
- <text decode>{{item2.skuName}}</text>
- </view>
- <view style="display: flex;font-size:3.2vw; ">
- <text decode>{{' '}}</text>
- </view>
- <view slot="footer" style="width:100%;justify-content: flex-end;margin-top:20rpx;text-align:right;align-self: flex-end;">
- <view style="display: flex;width: 100%;flex-direction: row;">
- <view style="color: red;font-size: 4vw;width: 100%;text-align: left;">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="16" contentColor="#CAA977" fontWeight="600" title="" content="{{numberFormat.toThousandCents(item2.priceSale)}}"></dk-cell>
- </view>
- <view style="width: 100%;text-align: right;font-size: 3.5vw;color: #95A8CB;">x <span style="line-height:56rpx;">{{item2.itemQuantity }}</span></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="hr"></view>
- <view style="display: flex;width: 100%;margin-top:5px;" data-index="{{index}}">
- <view style="width: 70%;text-align: left;font-size: 3.5vw;color: #95A8CB;">
- 备注:<span style="line-height:56rpx;">{{item.remarks ? item.remarks : ''}}</span>
- </view>
- <!-- <view style="width: 100%;text-align: right;font-size: 3.5vw;color: #95A8CB;">金额:<span style="line-height:56rpx;color:#CAA977;">
- ¥{{ numberFormat.toThousandCents((item.priceSale ?
- item.priceSale : 0) * item.itemQuantity)}}</span></view> -->
- </view>
- </view>
- </van-card>
- <van-divider />
- </view>
- </van-collapse-item>
- </van-collapse>
- </view>
- </view>
- </view>
- <van-empty wx:if="{{orderList_price.length==0}}" description="暂无数据" />
- </view>
- <view wx:if="{{activeCard == 1}}">
- <scroll-view scroll-y="true" style="height: 1300rpx;" bindscrolltolower="paging" scroll-top="{{topNum}}">
- <view wx:for="{{orderList_ok}}" data-index="{{index}}" wx-key="index" data-item="item">
- <view class="dk-card-outer-class">
- <view class="dk-card-class">
- <view style="display:flex;padding: 2vw;">
- <image style="width:48rpx;height:48rpx;align-self:center;margin: 16rpx;" src="/static/img/customer-assignment.png"></image>
- <view style="width: 60%;">
- <view style="font-weight:bold;font-size: 26rpx;white-space:nowrap;">{{item.orderNo}}</view>
- <view style="font-size: 12px;color:#95A8CB;">{{wxmlUtil.format(item.makingTime)}}</view>
- </view>
- <view style="width: 30%;display: flex;">
- <view style="font-size:13px;align-self:center;flex:1;text-align: right;color:#00A7B5;" bindtap="toOriginal_order" data-item="{{item}}">查看原单
- <van-icon name="arrow" />
- </view>
- </view>
- </view>
- <view style="height: 1px;background:#E9F0FE;width:90%;margin-left:5vw;" />
- <view style="display:flex;font-size: 26rpx;">
- <view style="margin:2vw;margin-left:32rpx;">门店:{{item.orgName}}</view>
- <view style="flex:1;text-align:right;margin: 2vw;margin-right:32rpx;white-space:nowrap;">
- 导购:{{item.staffName}}</view>
- </view>
- <van-grid column-num="3">
- <view style="display: flex;background-color:white;">
- <view class="number-out-order">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#CAA977" fontWeight="600" title="" content="{{item.tSumGoodsAmount}}"></dk-cell>
- </view>
- <view class="out-oreder-detail">
- 订单金额
- </view>
- </view>
- <view class="number-out-order">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#CAA977" fontWeight="600" title="" content="{{item.sumOutAmount}}"></dk-cell>
- </view>
- <view class="out-oreder-detail">
- 出库(1单)
- </view>
- </view>
- <view class="number-out-order">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#CAA977" fontWeight="600" title="" content="{{item.tSumGoodsAmount - item.sumOutAmount?item.tSumGoodsAmount - item.sumOutAmount:0}}">
- </dk-cell>
- </view>
- <view class="out-oreder-detail">
- 未出库
- </view>
- </view>
- </view>
- <view style="display: flex;background-color:white;">
- <view class="number-out-order">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#CAA977" fontWeight="600" title="" content="{{item.sumReceiptAmount}}"></dk-cell>
- </view>
- <view class="out-oreder-detail">
- 定金金额
- </view>
- </view>
- <view class="number-out-order">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#CAA977" fontWeight="600" title="" content="{{item.receivable}}"></dk-cell>
- </view>
- <view class="out-oreder-detail">
- 订单欠款
- </view>
- </view>
- <view class="number-out-order">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#CAA977" fontWeight="600" title="" content="{{item.sumRejectAmount}}"></dk-cell>
- </view>
- <view class="out-oreder-detail">
- 退货
- </view>
- </view>
- </view>
- </van-grid>
- <view style="height: 1px;background:#E9F0FE;width:90%;margin-left:5vw;" />
- <van-collapse value="{{ activeNames_goods }}" bind:change="onChange_goods">
- <van-collapse-item name="{{index+1}}" style="color:#95A8CB;border-color:15rpx;" value="展开">
- <view slot="title">
- <view style="display: flex;">
- <view>商品明细</view>
- <view style="color:#b9b9b9;font-size:10px;flex:1;text-align-last: right;"></view>
- </view>
- </view>
- <view wx:for="{{item.orderItemVOList}}" data-item="{{item}}" wx:for-item="item" wx:key="index" wx:for-index="childindex" border="{{ true }}">
- <van-card data-item="{{item}}" data-index="{{index}}">
- <view slot="thumb">
- <van-image radius="5px" width="80" height="80" src="{{item.iconThumPath }}" />
- </view>
- <view slot="title" style="display: flex;">
- <view style="display: flex;">
- <dk-title titleTag="{{item.titleTag}}" title="{{item.title}}"></dk-title>
- </view>
- <view wx:if="{{item.flag}}" style="text-align: right;width: 30%;">
- <van-tag catchtap="flag_bindtap" wx:if="{{item.flag}}" type="danger" color="red" style="text-align: right;">可换件</van-tag>
- <van-tag catchtap="flag_bindtap" wx:if="{{item.flag}}" type="danger" color="red" style="text-align: right;">需设计</van-tag>
- </view>
- </view>
- <view slot="desc">
- <view style="display:flex;width: 100%;">
- <view style="width: 80%;">
- <dk-text fontWeight="nomal" value="{{item.desc}}"></dk-text>
- </view>
- </view>
- </view>
- <view slot="price">
- <view style="display: flex;width: 100%;flex-direction: row;">
- <view style="color: red;font-size: 4vw;width: 100%;">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="16" contentColor="#CAA977" fontWeight="600" title="" content="{{numberFormat.toThousandCents(item.priceSale ? item.priceSale : 0)}}"></dk-cell>
- </view>
- <view style="width: 100%;text-align: right;font-size: 3.5vw;color: #95A8CB;">x <span style="line-height:56rpx;">{{item.tItemQuantity}}</span></view>
- </view>
- </view>
- <view slot="footer">
- <view style="margin-top: 15rpx;" wx:if="{{item.bomItems.length > 0}}">
- <view style="width: 100%;display: flex;">
- <view style="font-size: 14px;width: 50%;text-align: left;color: #95A8CB;">
- 明细
- </view>
- <view style="font-size: 14px;width: 50%;text-align: right;color: #95A8CB;" data-item="{{item}}" data-big="{{index}}" data-index="{{childindex}}" catchtap="onChangeOpenGoodsList">
- {{item.packageDetailsFlag ? '收起' :'展开'}}
- <van-icon name="{{item.packageDetailsFlag ? 'arrow-up' :'arrow-down' }}" />
- </view>
- </view>
- <view wx:if="{{item.packageDetailsFlag}}">
- <view wx:for="{{item.bomItems}}" data-item="{{item2}}" wx:for-item="item2" wx:key="index2">
- <view style="text-align: left;width: 100%; padding-left: 15rpx;padding-top:15rpx;">
- <view style="display: flex;">
- <view>
- <van-image radius="5px" width="65" height="65" src="{{item2.iconThumPath }}" />
- </view>
- <view style="margin-left:5px;width: 66vw;">
- <view style="display: flex;">
- <dk-title titleTag="{{item2.titleTag}}" title="{{item2.skuModel}}"></dk-title>
- </view>
- <view style="display: flex;font-size:3.2vw; ">
- <text decode>{{item2.skuName}}</text>
- </view>
- <view style="display: flex;font-size:3.2vw; ">
- <text decode>{{' '}}</text>
- </view>
- <view slot="footer" style="width:100%;justify-content: flex-end;margin-top:20rpx;text-align:right;align-self: flex-end;">
- <view style="display: flex;width: 100%;flex-direction: row;">
- <view style="color: red;font-size: 4vw;width: 100%;text-align: left;">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="16" contentColor="#CAA977" fontWeight="600" title="" content="{{numberFormat.toThousandCents(item2.priceSale)}}"></dk-cell>
- </view>
- <view style="width: 100%;text-align: right;font-size: 3.5vw;color: #95A8CB;">x <span style="line-height:56rpx;">{{item2.tItemQuantity }}</span></view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="hr"></view>
- <view style="display: flex;width: 100%;margin-top:5px;" data-index="{{index}}">
- <view style="width: 70%;text-align: left;font-size: 3.5vw;color: #95A8CB;">
- 备注:<span style="line-height:56rpx;">{{item.remarks ? item.remarks : ''}}</span>
- </view>
- <view style="width: 100%;text-align: right;font-size: 3.5vw;color: #95A8CB;">金额:<span style="line-height:56rpx;color:#CAA977;">¥{{ numberFormat.toThousandCents((item.priceSale
- ?
- item.priceSale : 0) * item.tItemQuantity)}}</span></view>
- </view>
- </view>
- </van-card>
- <van-divider />
- </view>
- </van-collapse-item>
- </van-collapse>
- </view>
- </view>
- </view>
- </scroll-view>
- <van-empty wx:if="{{orderList_ok.length==0}}" description="暂无数据" />
- </view>
- <view wx:if="{{activeCard == 2}}">
- <view wx:for="{{orderList_out}}" data-index="{{index}}" data-item="item">
- <view class="dk-card-outer-class">
- <view class="dk-card-class">
- <view style="display:flex;padding: 2vw;">
- <image style="width:48rpx;height:48rpx;align-self:center;margin: 16rpx;" src="/static/img/customer-assignment.png"></image>
- <view>
- <view style="font-weight:bold;font-size: 26rpx;white-space:nowrap;">{{item.rejectNo}}</view>
- <view style="font-size: 12px;color:#95A8CB;">{{wxmlUtil.format(item.makingTime)}}</view>
- </view>
- </view>
- <view style="height: 1px;background:#E9F0FE;width:90%;margin-left:5vw" />
- <view style="display:flex;font-size: 26rpx;">
- <view style="margin:2vw;margin-left: 32rpx;">门店:{{item.orgName}}</view>
- <view style="flex:1;text-align:right;margin: 2vw;margin-right: 32rpx;white-space:nowrap;">
- 导购:{{item.staffName}}</view>
- </view>
- <van-grid column-num="3">
- <view style="display: flex;background-color:white;">
- <view class="number-out-order">
- <view class="order-summary">
- <dk-cell center="center" height="46rpx" spaceWidth="1rpx" left="0" fontSize="17" contentColor="#CAA977" fontWeight="600" title="" content="{{item.sumRejectAmount}}"></dk-cell>
- </view>
- <view class="out-oreder-detail">
- 退货金额
- </view>
- </view>
- <view class="number-out-order">
- <view class="order-summary">
- <dk-text fontSize="17" color="#1B365D" value=" {{item.categoryQuantity}}">
- </dk-text>
- </view>
- <view class="out-oreder-detail">
- 品类数
- </view>
- </view>
- <view class="number-out-order">
- <view class="order-summary">
- <dk-text fontSize="17" color="#1B365D" value=" {{item.sumRejectQuantity}}">
- </dk-text>
- </view>
- <view class="out-oreder-detail">
- 退货件数
- </view>
- </view>
- </view>
- </van-grid>
- <van-collapse value="{{ activeNames_goods2 }}" bind:change="onChange_goods2">
- <van-collapse-item name="{{index+1}}" style="color:#95A8CB;" value="展开">
- <view slot="title">
- <view style="display: flex;">
- <view>商品明细</view>
- <view style="color:#b9b9b9;font-size:10px;flex:1;text-align-last: right;"></view>
- </view>
- </view>
- <view wx:for="{{item.rejectItemVOList}}" data-item="{{item}}" wx:key="index" border="{{ true }}" wx:for-index="childindex">
- <van-card data-item="{{item}}" data-index="{{index}}">
- <view slot="thumb">
- <van-image radius="5px" width="80" height="80" src="{{item.iconThumPath }}" />
- </view>
- <view slot="title" style="display: flex;">
- <view style="display: flex;">
- <dk-title titleTag="{{item.titleTag}}" title="{{item.title}}"></dk-title>
- </view>
- <view wx:if="{{item.flag}}" style="text-align: right;width: 30%;">
- <van-tag catchtap="flag_bindtap" wx:if="{{item.flag}}" type="danger" color="red" style="text-align: right;">可换件</van-tag>
- <van-tag catchtap="flag_bindtap" wx:if="{{item.flag}}" type="danger" color="red" style="text-align: right;">需设计</van-tag>
- </view>
- </view>
- <view slot="desc">
- <view style="display:flex;width: 100%;">
- <view style="width: 80%;">
- <dk-text fontWeight="nomal" value="{{item.desc}}"></dk-text>
- </view>
- </view>
- </view>
- <view slot="price">
- <view style="display: flex;width: 100%;flex-direction: row;">
- <view style="width: 100%;text-align: right;font-size: 3.5vw;">销售数量:<span style="line-height:56rpx;color:red;">{{item.orderQuantity}}</span></view>
- </view>
- </view>
- <view slot="footer">
- <view style="display: flex;width: 100%;margin-top:5px;" data-index="{{index}}">
- <view style="width: 70%;text-align: left;font-size: 3.5vw;color: #95A8CB;">
- 备注:<span style="line-height:56rpx;">{{item.remarks ? item.remarks : ''}}</span>
- </view>
- <view style="width: 100%;text-align: right;font-size: 3.5vw;">售价:<span style="line-height:56rpx;color:#CAA977;">¥{{item.orderPriceSale}}</span></view>
- </view>
- </view>
- </van-card>
- </view>
- </van-collapse-item>
- </van-collapse>
- </view>
- </view>
- </view>
- <van-empty wx:if="{{orderList_out.length==0}}" description="暂无数据" />
- </view>
- </view>
- <van-tab title-style="color:#96A7C5;" title="收款记录">
- <view style="margin-bottom: 1vw;" wx:for="{{listFee}}" wx:for-index="index">
- <view class="table-show">
- <view class="table-show-detail">
- <view style="display:flex;background-color:#FBF6EF;">
- <image style="width:5vw;height:5vw;align-self:center;margin: 2vw;" src="/static/img/customer-assignment.png">
- </image>
- <view>
- <view style="font-weight:bold;font-size: 26rpx;">{{item.receiptNo}}</view>
- <view style="font-size: 12px;color:#95A8CB;">{{item.opCreateTime}}</view>
- </view>
- <view style="color: #00A7B5;font-size: 13px;align-self:center;flex:1;margin-left: 35px; display: flex;" bindtap="toOriginal_order_collection" data-item="{{item}}">
- <view>查看原单 </view>
- <van-icon name="arrow" />
- </view>
- </view>
- <view class="table-row">
- <view class="table-content-row">
- <view style="display: flex;">
- <view class="table-content-row-font">
- <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="门店/导购"></dk-text>
- </view>
- <view class="table-content-class">
- {{item.orgName}} | {{item.staffName}}
- </view>
- </view>
- </view>
- </view>
- <view class="table-row">
- <view class="table-content-row" style="width:100%;">
- <view style="display: flex;justify-content:space-between;">
- <view style="display: flex; width: 50%;">
- <view class="table-content-row-font">
- <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="收款类型">
- </dk-text>
- </view>
- <view class="table-content-class">
- {{item.docCode}}
- </view>
- </view>
- <view style="text-align:right;width: 50%;">
- <!-- <dk-text fontSize="17" color="#CAA977" value=" ¥{{item.sumAmount}}">
- </dk-text> -->
- <dk-cell height="46rpx" contentRight="{{true}}" spaceWidth="15rpx" fontSize="17" contentColor="#CAA977" fontWeight="" title=" " content="{{item.sumAmount ? item.sumAmount : 0}}"></dk-cell>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <van-empty wx:if="{{listFee.length==0}}" description="暂无数据" />
- </van-tab>
- <van-tab title-style="color:#96A7C5;" title="退款记录">
- <view style="margin-bottom: 1vw;" wx:for="{{listRefund}}" wx:for-index="index">
- <view class="table-show">
- <view class="table-show-detail">
- <view style="display:flex;background-color:#FBF6EF;">
- <image style="width:5vw;height:5vw;align-self:center;margin: 2vw;" src="/static/img/customer-assignment.png">
- </image>
- <view>
- <view style="font-weight:bold;font-size: 26rpx;">{{item.refundNo}}</view>
- <view style="font-size: 12px;color:#95A8CB;">{{item.opCreateTime}}</view>
- </view>
- <view style="color: #00A7B5;font-size: 13px;align-self:center;flex:1;margin-left: 35px; display: flex;" bindtap="toRefund" data-item="{{item}}">
- <view>查看原单 </view>
- <van-icon name="arrow" />
- </view>
- </view>
- <view class="table-row">
- <view class="table-content-row">
- <view style="display: flex;">
- <view class="table-content-row-font">
- <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="门店/导购"></dk-text>
- </view>
- <view class="table-content-class">
- {{item.orgName}} | {{item.staffName}}
- </view>
- </view>
- </view>
- </view>
- <view class="table-row">
- <view class="table-content-row" style="width:100%;">
- <view style="display: flex;justify-content:space-between;">
- <view style="display: flex; width: 50%;">
- <view class="table-content-row-font">
- <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="退款类型">
- </dk-text>
- </view>
- <view class="table-content-class">
- {{item.docCode}}
- </view>
- </view>
- <view style="text-align:right;width: 50%;">
- <!-- <dk-text fontSize="17" color="#CAA977" value=" ¥{{item.sumAmount}}">
- </dk-text> -->
- <dk-cell height="46rpx" contentRight="{{true}}" spaceWidth="15rpx" fontSize="17" contentColor="#CAA977" fontWeight="" title=" " content="{{item.refundAmount ? item.refundAmount : 0}}"></dk-cell>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <van-empty wx:if="{{listRefund.length==0}}" description="暂无数据" />
- </van-tab>
- <van-tab title-style="color:#96A7C5;" title="客户信息">
- <view class="table-show">
- <view class="table-show-detail" style="padding: 5rpx;">
- <van-cell border="{{ false }}" title-width="180rpx" title="报备人" value=" {{form.reportUserName?form.reportUserName:''}}" title-class="dk-cell-title" />
- <van-cell border="{{ false }}" title-width="180rpx" title="部门" value="{{form.orgName}}" title-class="dk-cell-title" />
- <van-cell border="{{ false }}" title-width="180rpx" title="客户来源" value="{{form.customerFromName}}" title-class="dk-cell-title" />
- <van-cell border="{{ false }}" title-width="180rpx" title="装修户型" value="{{form.toiletCountName}}" title-class="dk-cell-title" />
- <van-cell border="{{ false }}" title-width="180rpx" title="装修类型" value="{{form.fitupTypeName}}" title-class="dk-cell-title" />
- <van-cell border="{{ false }}" title-width="180rpx" title="房屋类型" value="{{form.houseTypeName}}" title-class="dk-cell-title" />
- <van-cell border="{{ false }}" title-width="180rpx" title="装修风格" value="{{form.fitupStyleName}}" title-class="dk-cell-title" />
- <van-cell border="{{ false }}" title-width="180rpx" title="年龄构成" value="{{form.ageCompositionName}}" title-class="dk-cell-title" />
- <van-cell border="{{ false}}" title-width="180rpx" title="决策者" value="{{form.decisionMakerName}}" title-class="dk-cell-title" />
- <van-cell border="{{ false }}" title-width="180rpx" title="客户分类" value=" {{form.customerClassifiedName}}" title-class="dk-cell-title" />
- <van-cell border="{{ false }}" title-width="180rpx" title="跟进人" value=" {{form.userName}}" title-class="dk-cell-title" />
- <view style="display:flex;width:100%;margin: 1vw; padding-top: 20rpx;">
- <view style="width: 30%; flex:1;color: #95A8CB;font-size: 28rpx;padding-left: 27rpx;">附件</view>
- <view style="width: 70%;text-align: left;">
- <van-uploader deletable="{{false}}" show-upload="{{false}}" max-count="5" accept="image" style="margin-left: 4%;border-radius: 15rpx;" preview-size="160rpx;" file-list="{{ fileList }}" bind:delete="deleteImg" bind:after-read="afterRead" multiple="true" imageFit="aspectFit" />
- </view>
- </view>
- <view style="margin-bottom: 35rpx;"></view>
- </view>
- </view>
- </van-tab>
- </van-tabs>
- <!-- 群聊 -->
- <dk-muti-dropdown-item show="{{designFlag}}" contentID="{{form.DesignUserId}}" id='staff' typeName='staff' bind:muticommit='mutiSearchAll' bind:muticlose='muticlose'>
- </dk-muti-dropdown-item>
|