|
@@ -3,14 +3,15 @@
|
|
|
<button class="admin-button-com big blue" style="width:80%;" @click="goBack">返回</button>
|
|
<button class="admin-button-com big blue" style="width:80%;" @click="goBack">返回</button>
|
|
|
<view v-if="!$util.isEmpty(itemList)" style="margin-top:20upx;">
|
|
<view v-if="!$util.isEmpty(itemList)" style="margin-top:20upx;">
|
|
|
<block v-for="(item, index) in itemList" :key="index">
|
|
<block v-for="(item, index) in itemList" :key="index">
|
|
|
- <view style="text-align:center;margin-bottom:10upx;" v-if="item.xhUnitType == 0">
|
|
|
|
|
|
|
+ <view style="text-align:center;margin-bottom:10upx;">
|
|
|
<text style="font-size:32upx;">
|
|
<text style="font-size:32upx;">
|
|
|
{{item.name}} 已退{{item.xhNum}}{{item.xhUnitName}}
|
|
{{item.name}} 已退{{item.xhNum}}{{item.xhUnitName}}
|
|
|
<text v-if="Number(item.xhWasteNum)>0" style="margin-left:12upx;color:green;">
|
|
<text v-if="Number(item.xhWasteNum)>0" style="margin-left:12upx;color:green;">
|
|
|
已报损{{item.xhWasteNum}}{{item.xhUnitName}}
|
|
已报损{{item.xhWasteNum}}{{item.xhUnitName}}
|
|
|
</text>
|
|
</text>
|
|
|
</text>
|
|
</text>
|
|
|
- <button class="admin-button-com middle" style="margin:10upx auto 0 auto;" @click="beginWastage(item)">报损</button>
|
|
|
|
|
|
|
+ <button class="admin-button-com middle" style="margin:10upx auto 0 auto;" @click="beginWastage(item)" v-if="item.xhUnitType == 0">报损</button>
|
|
|
|
|
+ <button class="admin-button-com middle" style="margin:10upx auto 0 auto;" @click="pageTo({url:'/admin/item/detail?id='+item.productId})" v-else>去损报</button>
|
|
|
</view>
|
|
</view>
|
|
|
</block>
|
|
</block>
|
|
|
</view>
|
|
</view>
|