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.

1 line
6.2 KiB

<view class="container"><uni-card vue-id="40c4336e-1" title="{{purchase.supplierName==null?'暂无':purchase.supplierName}}" thumbnail="/static/images/dingdan/dd0.png" bind:__l="__l"></uni-card><view class="tui-order-item boxbg"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="shop-box" style="border-top:5px solid #eee;"><view class="shop-name"><block wx:if="{{item.$orig.productPicture}}"><image class="img-radius _img" style="width:140rpx;height:140rpx;margin:30rpx 0 0 30rpx;" src="{{item.$orig.productPicture}}" alt></image></block><block wx:else><view class="noPic">暂无图片</view></block><view class="shop-productName"><view style="color:#FF5809;">{{item.$orig.productName==null?'暂无':item.$orig.productName}}</view><view>{{"货号:"+(item.$orig.productSn==null?'暂无':item.$orig.productSn)}}</view><view><block wx:if="{{type==0}}"><text>{{"单价:"+(item.$orig.purchasePrice==null?'暂无':item.$orig.purchasePrice)+''}}</text></block><text style="padding:0 5rpx;">{{"数量:"+(item.$orig.productCount==null?'暂无':item.$orig.productCount)+''}}</text><block wx:if="{{type==0}}"><text>{{"总价:"+(item.$orig.price==null?'暂无':item.$orig.price)}}</text></block></view></view></view><view class="shop-type"><block wx:for="{{item.l0}}" wx:for-item="items" wx:for-index="index" wx:key="index"><view class="shop-collapse"><text>{{items.f0}}</text><text>{{"数量:"+(items.$orig.productCount==null?'暂无':items.$orig.productCount)}}</text></view></block></view></view></block><view class="tui-goods-info" style="width:95%;margin:0 auto;"><block wx:if="{{userType==0&&zhiqianqiankuan>=0}}"><view class="tui-price-flex tui-size32" style="height:80rpx;line-height:80rpx;"><view class="tui-flex-shrink">之前欠款</view><view class="tui-goods-price"><view class="tui-size-24">¥</view><view class="tui-price-large">{{zhiqianqiankuan==null?'暂无':$root.g0}}</view></view></view></block><block wx:if="{{userType==0&&zhiqianqiankuan<0&&aiinventory!=2}}"><view class="tui-price-flex tui-size32" style="height:80rpx;line-height:80rpx;"><view class="tui-flex-shrink">客户余额</view><view class="tui-goods-price"><view class="tui-size-24">¥</view><view class="tui-price-large">{{zhiqianqiankuan==null?'暂无':$root.g1}}</view></view></view></block><block wx:if="{{userType==0&&aiinventory!=2}}"><view class="tui-price-flex tui-size32" style="height:80rpx;line-height:80rpx;"><view class="tui-flex-shrink">应付金额</view><view class="tui-goods-price"><view class="tui-size-24">¥</view><view class="tui-price-large">{{purchase.shouldPay==null?'暂无':purchase.shouldPay}}</view></view></view></block><block wx:if="{{userType==0&&aiinventory!=2}}"><view class="tui-price-flex tui-size32" style="height:80rpx;line-height:80rpx;"><view class="tui-flex-shrink">已付金额</view><view class="tui-goods-price"><view class="tui-size-24">¥</view><view class="tui-price-large">{{purchase.alreadyPay==null?'暂无':purchase.alreadyPay}}</view></view></view></block><block wx:if="{{userType==0&&aiinventory==2}}"><view class="tui-price-flex tui-size32" style="height:80rpx;line-height:80rpx;"><view class="tui-flex-shrink">退货金额</view><view class="tui-goods-price"><view class="tui-size-24">¥</view><view class="tui-price-large">{{purchase.alreadyPay==null?'暂无':purchase.alreadyPay}}</view></view></view></block><block wx:if="{{yuedikou!=0&&userType==0&&aiinventory!=2}}"><view class="tui-price-flex tui-size32" style="height:80rpx;line-height:80rpx;"><view class="tui-flex-shrink">余额抵扣</view><view class="tui-goods-price"><view class="tui-size-24">¥</view><view class="tui-price-large">{{yuedikou==null?'暂无':yuedikou}}</view></view></view></block><block wx:if="{{leijiqiankuan>0&&userType==0&&aiinventory!=2}}"><view class="tui-price-flex tui-size32" style="height:80rpx;line-height:80rpx;"><view class="tui-flex-shrink">累计欠款</view><view class="tui-goods-price"><view class="tui-size-24">¥</view><view class="tui-price-large">{{leijiqiankuan==null?'暂无':leijiqiankuan}}</view></view><