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.
 

177 lines
5.5 KiB

<!--pages/saleOutStore/saleOutStoreDetail/saleOutStoreDetail.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'>
{{orderInfo.LoadTime}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>提货时间</text>
<view class='baseitem_value'>
{{orderInfo.OrderDate}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>会计单位</text>
<view class='baseitem_value'>
{{orderInfo.AccountingUnit_Name}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>购货客户</text>
<view class='baseitem_value'>
{{orderInfo.Customer_Name}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>销售部门</text>
<view class='baseitem_value'>
{{orderInfo.Department_Name}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>送货地址</text>
<view class='baseitem_value'>
{{orderInfo.Address}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>运输车辆</text>
<view class='baseitem_value'>
{{orderInfo.Car_Name}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>司机</text>
<view class='baseitem_value'>
{{orderInfo.Driver_Name}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>联系方式</text>
<view class='baseitem_value'>
{{orderInfo.Driver_Telephone}}
</view>
</view>
<view class='horizontallineView'></view>
</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>{{orderInfo.UnitNumber}}</view>
<view class='verticallineView'></view>
<view class='bottomTextView'>
<text class='lightGray'>辅数量:</text>{{orderInfo.SecondNumber}}
</view>
</view>
<!-- </view> -->
<view class='detaileListContainer'>
<block wx:for="{{orderInfo.Details}}" wx:key="item" wx:for-index="idx">
<template is="detailInfoTemplate" data="{{item,idx}}" />
</block>
</view>
<view class='imageView' wx:if="{{showConfirmBtn}}" catchtap='billConfirm'>
<image class='currentImage' src="/imgs/blueBtn.png">
<view class='btnTextView'>
<text class='btnText'>确定</text>
</view>
</image>
</view>
</scroll-view>
</swiper-item>
</swiper>
<template name="detailInfoTemplate">
<view class='listNumberView'>
存货明细:{{idx+1}}
</view>
<view class='baseitem'>
<text class='baseitem_key'>存货名称</text>
<view class='baseitem_value'>
{{item.Goods_Name}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>辅单位</text>
<view class='baseitem_value'>
{{item.SecondUnit}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>报价数量</text>
<view class='baseitem_value'>
{{item.UnitNumber}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>辅数量</text>
<view class='baseitem_value'>
{{item.SecondNumber}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='baseitem'>
<text class='baseitem_key'>确认数量</text>
<view class='baseitem_value'>
<input class='inputItem' disabled="{{showConfirmBtn}}" type='digit' bindinput='getConfirmNumber' placeholder='请输入确认收货数量' value="{{item.ConfirmNumber}}" data-index='{{idx}}'></input>
</view>
</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>