|
@@ -100,6 +100,7 @@
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="shareItem()">打开分享(批发)</button></view>
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="shareItem()">打开分享(批发)</button></view>
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="getHdPosterFn()">分享海报(批发)</button></view>
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="getHdPosterFn()">分享海报(批发)</button></view>
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="getSkPosterFn()">分享海报(零售)</button></view>
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="getSkPosterFn()">分享海报(零售)</button></view>
|
|
|
|
|
+ <view style="width:100vw;margin-top:8upx;"><button @click="ptAuth()">申请平台认证</button></view>
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="delItem()">删除</button></view>
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="delItem()">删除</button></view>
|
|
|
<view style="width:100vw;margin-top:30upx;"><button @click="closeRightShow()">取消</button></view>
|
|
<view style="width:100vw;margin-top:30upx;"><button @click="closeRightShow()">取消</button></view>
|
|
|
</view>
|
|
</view>
|
|
@@ -127,7 +128,7 @@ import productMins from "@/mixins/product";
|
|
|
import { mapGetters } from "vuex";
|
|
import { mapGetters } from "vuex";
|
|
|
import { getWeixinId } from "@/api/invite";
|
|
import { getWeixinId } from "@/api/invite";
|
|
|
import { print,cancelDiscountPrice,cancelPreSell,delStatusUpdate } from '@/api/product';
|
|
import { print,cancelDiscountPrice,cancelPreSell,delStatusUpdate } from '@/api/product';
|
|
|
-import { getHdPoster,getSkPoster,breakItem,changeFrontHide } from '@/api/item'
|
|
|
|
|
|
|
+import { getHdPoster,getSkPoster,breakItem,changeFrontHide,applyAuth } from '@/api/item'
|
|
|
import uniPopup from '@/uni_modules/uni-popup/components/uni-popup/uni-popup.vue';
|
|
import uniPopup from '@/uni_modules/uni-popup/components/uni-popup/uni-popup.vue';
|
|
|
import ModalModule from "@/components/plugin/modal"
|
|
import ModalModule from "@/components/plugin/modal"
|
|
|
export default {
|
|
export default {
|
|
@@ -378,6 +379,17 @@ export default {
|
|
|
this.closeRightShow()
|
|
this.closeRightShow()
|
|
|
this.pageTo({url: '/admin/changePrice/costChangeList?id='+this.currentInfo.id})
|
|
this.pageTo({url: '/admin/changePrice/costChangeList?id='+this.currentInfo.id})
|
|
|
},
|
|
},
|
|
|
|
|
+ ptAuth(){
|
|
|
|
|
+ let that = this
|
|
|
|
|
+ that.$util.confirmModal({content:'确认申请?'},() => {
|
|
|
|
|
+ applyAuth({id:this.currentInfo.id}).then(res=>{
|
|
|
|
|
+ if(res.code == 1){
|
|
|
|
|
+ that.closeRightShow()
|
|
|
|
|
+ that.$msg('已提交申请')
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
delItem(){
|
|
delItem(){
|
|
|
let that = this
|
|
let that = this
|
|
|
that.$util.confirmModal({content:'确认删除?'},() => {
|
|
that.$util.confirmModal({content:'确认删除?'},() => {
|