|
|
@@ -5,16 +5,15 @@
|
|
|
<view class="result-view">
|
|
|
<view :class="['iconfont', 'iconchenggong']"></view>
|
|
|
|
|
|
- <view class="result-title">采购成功</view>
|
|
|
-
|
|
|
+ <view class="result-title">采购入库成功</view>
|
|
|
|
|
|
<template v-if="onlyCg == 0">
|
|
|
<view style="margin-left:150upx;">
|
|
|
<view class="flex title">
|
|
|
- 确认销售价:
|
|
|
+ 确认售价:
|
|
|
</view>
|
|
|
<view class="flex title">
|
|
|
- <text style="font-size:28upx;font-weight:bold;color:red;">
|
|
|
+ <text style="font-size:28upx;font-weight:normal;">
|
|
|
红色为进货价,请填写大单位销售价
|
|
|
</text>
|
|
|
</view>
|
|
|
@@ -31,12 +30,15 @@
|
|
|
</checkbox-group>
|
|
|
</view>
|
|
|
|
|
|
- <button class="admin-button-com big blue" style="width:45vw;margin-top:50upx;" @click="commit">确认修改</button>
|
|
|
+ <button class="admin-button-com big blue" style="width:70vw;margin-top:50upx;" @click="commit">确认修改</button>
|
|
|
|
|
|
</template>
|
|
|
+ <template v-else>
|
|
|
+ <button class="admin-button-com big" style="width:70vw;" @click="goDetail">订单详情</button>
|
|
|
+ </template>
|
|
|
|
|
|
- <button v-if="ghsCgScene!=''" class="admin-button-com big" style="width:40vw;margin-top:20upx;" @click="goHome">返回首页</button>
|
|
|
- <button v-else class="admin-button-com big" style="width:45vw;margin-top:20upx;" @click="goBack">返回</button>
|
|
|
+ <button v-if="ghsCgScene!=''" class="admin-button-com big" style="width:70vw;margin-top:20upx;" @click="goHome">返回首页</button>
|
|
|
+ <button v-else class="admin-button-com big" style="width:70vw;margin-top:20upx;" @click="goBack">返回</button>
|
|
|
|
|
|
<view style="margin-top:20upx;">
|
|
|
<view style="font-size:28upx;">微信下拉,搜索小程序 花掌柜,可再次买花</view>
|
|
|
@@ -88,6 +90,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ init(){
|
|
|
+
|
|
|
+ },
|
|
|
commit(){
|
|
|
let that = this
|
|
|
let hasError = false
|
|
|
@@ -145,7 +150,7 @@ export default {
|
|
|
goDetail() {
|
|
|
uni.removeStorageSync('ghsCgScene')
|
|
|
uni.removeStorageSync('ghsCgOption')
|
|
|
- this.pageTo({url: '/pagesPurchase/purDetails',query:{id:this.option.id,status:2},type:2})
|
|
|
+ this.pageTo({url: '/pagesPurchase/purDetails?id='+this.option.id+'&status=2',type:2})
|
|
|
}
|
|
|
},
|
|
|
};
|