|
@@ -3,7 +3,7 @@
|
|
|
<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;">
|
|
|
|
|
|
|
+ <view style="text-align:center;margin-bottom:20upx;">
|
|
|
<text style="font-size:32upx;" @click="pageTo({url:'/admin/item/detail?id='+item.productId})">
|
|
<text style="font-size:32upx;" @click="pageTo({url:'/admin/item/detail?id='+item.productId})">
|
|
|
{{item.name}} <text style="color:#3385FF;margin-left:8upx;">已退{{item.xhNum}}{{item.xhUnitName}}</text>
|
|
{{item.name}} <text style="color:#3385FF;margin-left:8upx;">已退{{item.xhNum}}{{item.xhUnitName}}</text>
|
|
|
</text>
|
|
</text>
|
|
@@ -26,6 +26,13 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</block>
|
|
</block>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- #ifdef MP-WEIXIN -->
|
|
|
|
|
+ <view style="width:688upx;height:20upx;background-color: #ece5e5;"></view>
|
|
|
|
|
+ <ad-custom unit-id="adunit-42a99bd9e25e3626" v-if="currentEnv=='production'" style="width:688upx;"></ad-custom>
|
|
|
|
|
+ <ad-custom unit-id="adunit-9523c840341ccb1f" v-else style="width:688upx;"></ad-custom>
|
|
|
|
|
+ <!-- #endif -->
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<modal-module :show="wastageShow" @click="confirmWastage" :maskClosable="true" title="报损数量" padding="30rpx 30rpx" >
|
|
<modal-module :show="wastageShow" @click="confirmWastage" :maskClosable="true" title="报损数量" padding="30rpx 30rpx" >
|
|
@@ -78,8 +85,9 @@
|
|
|
import appResult from "@/components/app-result";
|
|
import appResult from "@/components/app-result";
|
|
|
import { refundDetail,refundWaste,changeRefundOption,refundReduce } from "@/api/refund";
|
|
import { refundDetail,refundWaste,changeRefundOption,refundReduce } from "@/api/refund";
|
|
|
import ModalModule from "@/components/plugin/modal"
|
|
import ModalModule from "@/components/plugin/modal"
|
|
|
|
|
+import { CURRENT_ENV } from "@/config"
|
|
|
export default {
|
|
export default {
|
|
|
- name: "commonSuccess",
|
|
|
|
|
|
|
+ name: "refundSuccess",
|
|
|
components: {
|
|
components: {
|
|
|
appResult,
|
|
appResult,
|
|
|
ModalModule
|
|
ModalModule
|
|
@@ -97,8 +105,13 @@ export default {
|
|
|
reduceItemId:0,
|
|
reduceItemId:0,
|
|
|
reduceShow:false,
|
|
reduceShow:false,
|
|
|
reduceNum:0,
|
|
reduceNum:0,
|
|
|
|
|
+ currentEnv:'production'
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
|
|
+ onLoad() {
|
|
|
|
|
+ //当前环境
|
|
|
|
|
+ this.currentEnv = CURRENT_ENV
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
beginReduce(item){
|
|
beginReduce(item){
|
|
|
this.reduceShow = true
|
|
this.reduceShow = true
|