pifa
fanfan 4 months ago
parent ab10eebc32
commit c8f628534c
  1. 3
      api/help.js
  2. 191
      pages/order/reviewOrder.vue

@ -13,6 +13,9 @@ const api = {
storyList: 'store/story', storyList: 'store/story',
upgradeWholesaler: 'invite/upgradeWholesaler', upgradeWholesaler: 'invite/upgradeWholesaler',
} }
export const storeData = (param) => {
return request.get('store/data', param)
}
export const submitStandard = (param) => { export const submitStandard = (param) => {
return request.post('order/submitStandard', param) return request.post('order/submitStandard', param)
} }

@ -3,95 +3,106 @@
<view class="park-navbar"> <view class="park-navbar">
<u-navbar title="审单" :border-bottom="false" :background="background"></u-navbar> <u-navbar title="审单" :border-bottom="false" :background="background"></u-navbar>
</view> </view>
<view class="park-title"> <view style="overflow: hidden;position: relative;">
您的反馈<br>订单安心交付 <!-- <image :src="$picUrl+'/static/standard_backdrop.png'"
</view> style="width: 200rpx;height:380rpx ;position: absolute;top:60rpx" mode=""></image> -->
<view class="park-tips"> <view class="park-title">
拒绝一切平台单 您的反馈<br>订单安心交付
</view>
<view class="park-content">
为了更好的维护市场秩序遵守渠道规则也为了更好的服务客户请您耐心按照渠道商要求进行审单页面的填写
</view>
<view class="park-card">
<view class="shenbox">
<view class="shendan">
订单审单明细
</view>
<view class="shendan" style="font-size: 24rpx;">
请填写真实信息
</view>
</view> </view>
<view class="title"> <view class="park-tips">
您的这单客户来自:<text style="color: #FF1F1F;font-size: 28rpx;">*</text> 拒绝一切平台单
</view> </view>
<view class="shenRoide" style="border-top: none;"> <view class="park-content">
<u-radio-group v-model="value_1" @change="radioChange_1"> 为了更好的维护市场秩序遵守渠道规则也为了更好的服务客户请您耐心按照渠道商要求进行审单页面的填写
<view class="radio-group">
<u-radio v-for="(item, index) in list_1" activeColor="red" :key="index" :name="item">
{{item.name}}
</u-radio>
</view>
</u-radio-group>
</view>
<view class="title">
收件地址的所在城市与您的营业执照认证地址是否为同一城市:<text style="color: #FF1F1F;font-size: 28rpx;">*</text>
</view> </view>
<view class="shenRoide" style="border-top: none;"> <view class="park-card">
<u-radio-group v-model="value_2" @change="radioChange_2"> <view class="shenbox">
<view class="radio-group"> <view class="shendan">
<u-radio v-for="(item, index) in list_2" activeColor="red" :key="index" :name="item"> 订单审单明细
{{item.name}}
</u-radio>
</view> </view>
</u-radio-group> <view class="shendan" style="font-size: 24rpx;">
</view> 请填写真实信息
<view class="title"> </view>
您与本订单用户的微信聊天截图<text style="color: #FF1F1F;font-size: 28rpx;">*</text> </view>
</view> <view class="title">
<view class="tips"> 您的这单客户来自:<text style="color: #FF1F1F;font-size: 28rpx;">*</text>
须体现产品型号和收件信息 </view>
</view> <view class="shenRoide" style="border-top: none;">
<view class="card"> <u-radio-group v-model="value_1" @change="radioChange_1">
<u-upload :action="action" :header="header" @on-uploaded="orderSuccess" @on-remove="orderRemove" <view class="radio-group">
:file-list="justList" :custom-btn="true" width="180" height="180" max-count="3"> <u-radio v-for="(item, index) in list_1" activeColor="red" :key="index" :name="item">
<template v-slot:addBtn> {{item.name}}
<view class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150"> </u-radio>
<image :src="$picUrl+'/static/news/icon-upload.png'"></image>
<view class="1">上传图片</view>
</view> </view>
</template> </u-radio-group>
</u-upload> </view>
</view> <view class="title">
<view class="title" style="margin-top: 30rpx;"> 收件地址的所在城市与您的营业执照认证地址是否为同一城市:<text style="color: #FF1F1F;font-size: 28rpx;">*</text>
您与本订单用户的交易转账截图<text style="color: #FF1F1F;font-size: 28rpx;">*</text> </view>
<view class="shenRoide" style="border-top: none;">
<u-radio-group v-model="value_2" @change="radioChange_2">
<view class="radio-group">
<u-radio v-for="(item, index) in list_2" activeColor="red" :key="index" :name="item">
{{item.name}}
</u-radio>
</view>
</u-radio-group>
</view>
<view class="title">
您与本订单用户的微信聊天截图<text style="color: #FF1F1F;font-size: 28rpx;">*</text>
</view>
<view class="tips">
须体现产品型号和收件信息
</view>
<view class="card">
<u-upload :action="action" :header="header" @on-uploaded="orderSuccess" @on-remove="orderRemove"
:file-list="justList" :custom-btn="true" width="180" height="180" max-count="3">
<template v-slot:addBtn>
<view class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150">
<image :src="$picUrl+'/static/news/icon-upload.png'"></image>
<view class="1">上传图片</view>
</view>
</template>
</u-upload>
</view>
<view class="" style="font-size: 24rpx;color: #999;margin-top: 5rpx;">
仅支持jpgpnggif5M以内/,最多上传3张
</view>
<view class="title" style="margin-top: 30rpx;">
您与本订单用户的交易转账截图<text style="color: #FF1F1F;font-size: 28rpx;">*</text>
</view>
<view class="tips">
须体现本订单的转账截图
</view>
<view class="card">
<u-upload :action="action" :header="header" @on-uploaded="transferSuccess"
@on-remove="transferRemove" :file-list="proveList" :custom-btn="true" width="180" height="180"
max-count="3">
<template v-slot:addBtn>
<view class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150">
<image :src="$picUrl+'/static/news/icon-upload.png'"></image>
<view class="1">上传图片</view>
</view>
</template>
</u-upload>
</view>
<view class="" style="font-size: 24rpx;color: #999;margin-top: 5rpx;">
仅支持jpgpnggif5M以内/,最多上传3张
</view>
</view> </view>
<view class="tips"> <view class="agreement">
须体现本订单的转账截图 <u-checkbox active-color="#08CC57" v-model="isCheckout" style="margin-right: -20rpx"></u-checkbox>
已阅读并同意<text @click="toTextPage(4)">平台审单协议</text>
</view> </view>
<view class="card"> <view class="park-button" @click="nextSumbit()">
<u-upload :action="action" :header="header" @on-uploaded="transferSuccess" @on-remove="transferRemove" 提交审核
:file-list="proveList" :custom-btn="true" width="180" height="180" max-count="3">
<template v-slot:addBtn>
<view class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150">
<image :src="$picUrl+'/static/news/icon-upload.png'"></image>
<view class="1">上传图片</view>
</view>
</template>
</u-upload>
</view> </view>
</view> <view class="shendanCode" v-if="storeInfo.standard_image">
<view class="agreement"> <image @click="previewImage(storeInfo.standard_image.preview_url)"
<u-checkbox active-color="#08CC57" v-model="isCheckout" style="margin-right: -20rpx"></u-checkbox> :src="storeInfo.standard_image.preview_url" mode=""></image>
已阅读并同意<text @click="toTextPage(4)">平台审单协议</text> <view class="name">
</view> 审单疑问 欢迎咨询
<view class="park-button" @click="nextSumbit()"> </view>
提交审核
</view>
<view class="shendanCode" v-if="storeInfo.standard_image">
<image @click="previewImage(storeInfo.standard_image.preview_url)"
:src="storeInfo.standard_image.preview_url" mode=""></image>
<view class="name">
审单疑问 欢迎咨询
</view> </view>
</view> </view>
<view class="button-fixed" @click="toTextPage(5)"> <view class="button-fixed" @click="toTextPage(5)">
@ -161,14 +172,14 @@
popShow: false, popShow: false,
orderId: '', orderId: '',
dataType: 'all', dataType: 'all',
laiType: '' laiType: '',
} }
}, },
onLoad(options) { onLoad(options) {
this.orderId = options.orderId this.orderId = options.orderId
this.dataType = options.dataType || 'all' this.dataType = options.dataType || 'all'
this.laiType = options.type this.laiType = options.type
this.storeInfo = JSON.parse(uni.getStorageSync("storeInfo")); this.getAppstoreData()
}, },
onShow() { onShow() {
@ -193,8 +204,18 @@
} }
}, },
methods: { methods: {
async getAppstoreData() {
let {
status,
message,
data
} = await help.storeData();
if (status == 200) {
this.storeInfo = data.storeInfo
}
},
onClickYes() { onClickYes() {
let that=this let that = this
that.popShow = false that.popShow = false
const pages = getCurrentPages(); // const pages = getCurrentPages(); //
const prevPage = pages[pages.length - 2]; // const prevPage = pages[pages.length - 2]; //
@ -234,8 +255,6 @@
}, },
async nextSumbit() { async nextSumbit() {
let that = this let that = this
that.popShow = true
return
if (!that.value_1) { if (!that.value_1) {
uni.showToast({ uni.showToast({
title: "请选择您的这单客户来源", title: "请选择您的这单客户来源",

Loading…
Cancel
Save