<wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
<view>

  <view class="detail-top">
    <image class="scan-image" fit="fill" src="{{imageUrl+'/detail_sale_order.png'}}"></image>
    <view class="detail-top-sup" style="display: flex;">
      <view style="width: 15%;">
        <image class="scan-image-icon" fit="fill" src="{{imageUrl+'/order_billing_detail_01.png'}}"></image>
      </view> 
      <view>
        <view style="display: flex;">
          <view>
            {{item.supName}}
          </view>
          <view style="padding-left: 20rpx;">
 
          </view>
        </view>



        <view style="z-index: 2;padding-top: 20rpx;">
          {{ wxmlUtil.addressToIndexOf(item.addressFull)}}
        </view>
        <view style="display: flex;padding-top: 20rpx;font-weight: 500;">
          <view>
            {{item.staffName?item.staffName:''}}
          </view>
          <view style="padding-left: 20rpx;">|</view>
          <view style="padding-left: 20rpx;">
            {{item.orgName?item.orgName:''}}
          </view>
        </view>
        <view style="z-index: 10;padding-top: 40rpx;font-size: 24rpx;font-weight: 400;display: flex;">
       <view  >   {{$t['makingTime']}}：{{item.makeTime ? wxmlUtil.format(item.makeTime) : '' }}</view>
       <view  style="margin-left: 2vw;">        {{$t['receivingDate']}}：{{ item.pickupDate ? wxmlUtil.format(item.pickupDate) : '' }}</view>
        </view>
     
      </view>

    </view>


  </view> 
  <view style="display: flex;padding:10rpx;  margin: 10px 22rpx 10px 22rpx;margin-top: 10px;border-radius: 15rpx;">
    <view style="background-color:#F4F9FF;width:25%;padding:10rpx;border-radius: 16rpx;">
      <view style="font-size:13px;text-align: center;margin-top: 10rpx;">订单数量</view>
      <dk-cell left="0rpx" center="center" fontSize="13" contentFontSize="18" contentColor="#1B365D" spaceWidth="0" contentFontWeight="700" amount="{{false}}" content="{{item.sumQuantity}}"></dk-cell>
    </view>
    <view style="background-color:#F4F9FF;width: 25%;padding:10rpx;border-radius: 16rpx;margin-left: 20rpx;">
      <view style="font-size:13px;text-align: center;margin-top: 10rpx;">入库数量</view>
      <dk-cell left="0rpx" center="center" fontSize="13" contentFontSize="18" contentColor="#1B365D" spaceWidth="0" contentFontWeight="700" amount="{{false}}" content="{{item.intoQty}}"></dk-cell>
    </view> 
    <view style="background-color:#F4F9FF;width:25%;padding:10rpx;border-radius: 16rpx;">
      <view style="font-size:13px;text-align: center;margin-top: 10rpx;">退货数量</view>
      <dk-cell left="0rpx" center="center" fontSize="13" contentFontSize="18" contentColor="#1B365D" spaceWidth="0" contentFontWeight="700" amount="{{false}}" content="{{item.returnQty}}"></dk-cell>
    </view>
    <view style="background-color:#F4F9FF;width: 25%;padding:10rpx;border-radius: 16rpx;margin-left: 20rpx;">
      <view style="font-size:13px;text-align: center;margin-top: 10rpx;">核销金额</view>
      <dk-cell left="0rpx" center="center" fontSize="15" contentFontSize="18" contentColor="#1B365D" spaceWidth="0" contentFontWeight="700" amount="{{true}}" content="{{0}}"></dk-cell>
    </view>
  </view>
 
  <dk-goos-list type="sale" list="{{purList}}" title="商品明细" titleCol="skuName" titleTagCol="brandName" descCol="skuCode" priceCol="pricePur" sumAmountCol="sumAmount" sumQuantity="sumQuantity" quantityCol="itemQty"></dk-goos-list>

   
  <dk-step stepList="{{stepList}}" > </dk-step> 

</view>