You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

155 lines
4.8 KiB

<!--pages/orderList/orderBaseInfo/orderBaseInfo.wxml-->
<view class="swiper-tab">
<view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" data-current="0" bindtap="swichNav">基本信息</view>
<view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">单据明细</view>
</view>
<swiper current="{{currentTab}}" class="swiper-box" duration="300" style="height:{{winHeight - 55}}px" bindchange="bindChange">
<!-- 基本信息 -->
<swiper-item class="swiper-items1">
<view class='backGroundContainer'>
<view class='baseitem'>
<text class='baseitem_key'>订货时间</text>
<view class='baseitem_value'>
{{customerName}}基本信息
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>提货时间</text>
<view class='baseitem_value'>
{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>会计单位</text>
<view class='baseitem_value'>
{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>购货客户</text>
<view class='baseitem_value'>
{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>销售部门</text>
<view class='baseitem_value'>
{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>送货地址</text>
<view class='baseitem_value'>
{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>运输车辆</text>
<view class='baseitem_value'>
{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>司机</text>
<view class='baseitem_value'>
{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>联系方式</text>
<view class='baseitem_value'>
{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
</view>
<view class='imageView' catchtap='saveCarsChange'>
<image class='currentImage' src="/imgs/blueBtn.png">
<view class='btnTextView'>
<text class='btnText'>保存</text>
</view>
</image>
</view>
</swiper-item>
<!-- 订单详细 -->
<swiper-item class="swiper-items2">
<scroll-view scroll-x="false" scroll-y="true" class='scroll-views'>
<view class='totalNumView'>
<view class='totalTopView'>
<view class='moneyKeyView'>总金额</view>
<view class='moneyValueView'>{{totalMoney}}¥200000</view>
</view>
<view class='totalBottomView'>
<view class='bottomTextView'>
<text class='lightGray'>主数量:</text>111{{mainNumber}}</view>
<view class='verticallineView'></view>
<view class='bottomTextView'>
<text class='lightGray'>辅数量:</text>222{{secondNumber}}
</view>
</view>
</view>
<view class='detaileListContainer'>
<block wx:for="{{detaileList}}" wx:key="item" wx:for-index="idx">
<template is="detailInfoTemplate" data="{{item}}" data="{{idx}}" />
</block>
</view>
</scroll-view>
</swiper-item>
</swiper>
<template name="detailInfoTemplate">
<view class='listNumberView'>
<text class='lightGray'>存货明细:</text>{{idx}}</view>
<view class='listItem'>
<text class='lightGray'>存货名称:</text>{{item.Goods_Name}}单据明细</view>
<view class='horizontallineView'></view>
<view class='listItem'>
<text class='lightGray'>报价数量:</text>{{item.Number}}
</view>
<view class='horizontallineView'></view>
<view class='listItem'>
<text class='lightGray'>辅数量:</text>{{item.SecondNumber}}
</view>
<view class='horizontallineView'></view>
<view class='listItem'>
<text class='lightGray'>政策单价:</text>{{item.ProduceDate}}
</view>
<view class='horizontallineView'></view>
<view class='groupTwo'>
<view class='listItem'>
<text class='lightGray'>单价:</text>{{item.DeliveryDate}}</view>
<view class='listItem'>
<text class='lightGray'>金额:</text>{{item.ProduceRequest}}</view>
</view>
<view class='horizontallineView'></view>
</template>