uu
This commit is contained in:
parent
600ecbb5b3
commit
b967789538
@ -111,3 +111,8 @@ export const exportWarehouseInTpl = (data = {})=> {
|
|||||||
export const getWarehouseInList = (data = {})=> {
|
export const getWarehouseInList = (data = {})=> {
|
||||||
return coreRequest(url.getWarehouseInList, data, {}, "GET")
|
return coreRequest(url.getWarehouseInList, data, {}, "GET")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 扫码下单寄件-checke
|
||||||
|
export const scanCheckBillCode = (data = {})=> {
|
||||||
|
return coreRequest(url.scanCheckBillCode, data, {})
|
||||||
|
}
|
||||||
|
|||||||
@ -56,5 +56,8 @@ export default {
|
|||||||
addComplaints: `/oms2c/emisWaybillComplaints/addComplaints`, // 新增投诉 -- DONE
|
addComplaints: `/oms2c/emisWaybillComplaints/addComplaints`, // 新增投诉 -- DONE
|
||||||
getComplainInfo: `/oms2c/emisWaybillComplaints/getInfoById`, // 投诉详情 -- DONE
|
getComplainInfo: `/oms2c/emisWaybillComplaints/getInfoById`, // 投诉详情 -- DONE
|
||||||
|
|
||||||
|
scanCheckBillCode: `/oms2c/emisWaybill/scanCheckBillCode`, // 扫码下单寄件-checke -- DONE
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
<view v-for="(item) in resData.list" class="com-jianju" style="padding-top: 30rpx;">
|
<view v-for="(item) in resData.list" class="com-jianju" style="padding-top: 30rpx;">
|
||||||
<view class="com-radius" style="background-color: #fff;padding: 26rpx 30rpx;">
|
<view class="com-radius" style="background-color: #fff;padding: 26rpx 30rpx;">
|
||||||
<u-row justify="between">
|
<u-row justify="between">
|
||||||
<u-text size="30" color="#0E0708" :bold="true" text="T7080123982301"></u-text>
|
<u-text size="30" color="#0E0708" :bold="true" :text="item.billCode"></u-text>
|
||||||
</u-row>
|
</u-row>
|
||||||
<u-line color="#D9D9D9" margin="26rpx 0"></u-line>
|
<u-line color="#D9D9D9" margin="26rpx 0"></u-line>
|
||||||
|
|
||||||
@ -17,23 +17,23 @@
|
|||||||
<view class="mr-10">
|
<view class="mr-10">
|
||||||
<u-text size="28" color="#333" :bold="true" text="投诉原因:"></u-text>
|
<u-text size="28" color="#333" :bold="true" text="投诉原因:"></u-text>
|
||||||
</view>
|
</view>
|
||||||
<u-text size="26" color="#999" text="×××"></u-text>
|
<u-text size="26" color="#999" :text="item.cpReason"></u-text>
|
||||||
</u-row>
|
</u-row>
|
||||||
|
|
||||||
<u-row align="top" custom-style="margin-top:30rpx;">
|
<u-row align="top" custom-style="margin-top:30rpx;">
|
||||||
<view class="mr-10">
|
<view class="mr-10">
|
||||||
<u-text size="28" color="#333" :bold="true" text="投诉描述:"></u-text>
|
<u-text size="28" color="#333" :bold="true" text="投诉描述:"></u-text>
|
||||||
</view>
|
</view>
|
||||||
<u-text size="26" color="#999" text="×××"></u-text>
|
<u-text size="26" color="#999" :text="item.remark || '-'"></u-text>
|
||||||
</u-row>
|
</u-row>
|
||||||
<u-row align="top" custom-style="margin-top:30rpx;">
|
<u-row align="top" custom-style="margin-top:30rpx;">
|
||||||
<view class="mr-10">
|
<view class="mr-10">
|
||||||
<u-text size="28" color="#333" :bold="true" text="投诉时间:"></u-text>
|
<u-text size="28" color="#333" :bold="true" text="投诉时间:"></u-text>
|
||||||
</view>
|
</view>
|
||||||
<u-text size="26" color="#999" text="2023-11-20 13:28:56"></u-text>
|
<u-text size="26" color="#999" :text="item.createTime"></u-text>
|
||||||
</u-row>
|
</u-row>
|
||||||
|
|
||||||
<view @click="goto(`complaint/edit`)" style="padding-top:20rpx;margin-top: 20rpx;border-top: 2rpx solid #D9D9D9">
|
<view @click="goto(`complaint/edit?cmpId=${item.id}`)" style="padding-top:20rpx;margin-top: 20rpx;border-top: 2rpx solid #D9D9D9">
|
||||||
<u-row justify="between">
|
<u-row justify="between">
|
||||||
<u-text align="left" size="28" text="查看详情"></u-text>
|
<u-text align="left" size="28" text="查看详情"></u-text>
|
||||||
<view>
|
<view>
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<tpx-page>
|
<tpx-page>
|
||||||
<tpx-layout>
|
<tpx-layout>
|
||||||
<template v-slot:body>
|
<template v-slot:body>
|
||||||
<view class="com-jianju pos-rlt pb-30" style="padding-top: 2rpx;">
|
<view v-if="!pageLoading" class="com-jianju pos-rlt pb-30" style="padding-top: 2rpx;">
|
||||||
|
|
||||||
<view class="blcok-white radius-20">
|
<view class="blcok-white radius-20">
|
||||||
<view class="">
|
<view class="">
|
||||||
@ -13,7 +13,7 @@
|
|||||||
<view class="mt-30">
|
<view class="mt-30">
|
||||||
<tpx-select
|
<tpx-select
|
||||||
v-model:value="submitParam.cpSiteCode" v-model:text="submitParam.siteName" v-model:resObject="wayRes"
|
v-model:value="submitParam.cpSiteCode" v-model:text="submitParam.siteName" v-model:resObject="wayRes"
|
||||||
:getListFun="getSendSiteList" :transKeyVal="{valKey: 'siteName',titleKey: 'siteName'}"
|
:getListFun="getSendSiteList" :transKeyVal="{valKey: 'siteCode',titleKey: 'siteName'}"
|
||||||
:searchParam="siteSearchParam" placeholder="请选择投诉网点"
|
:searchParam="siteSearchParam" placeholder="请选择投诉网点"
|
||||||
></tpx-select>
|
></tpx-select>
|
||||||
|
|
||||||
@ -35,7 +35,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
<view class="blcok-white-noradius">
|
<view v-if="!queryOption.cmpId" class="blcok-white-noradius">
|
||||||
<u-button @click="handleSubmit()" type="primary" size="large" shape="circle"
|
<u-button @click="handleSubmit()" type="primary" size="large" shape="circle"
|
||||||
custom-style="height:80rpx;font-size: 30rpx;"
|
custom-style="height:80rpx;font-size: 30rpx;"
|
||||||
>确定</u-button>
|
>确定</u-button>
|
||||||
@ -78,7 +78,8 @@
|
|||||||
billCode: { required: true, requiredMsg: '运单号不能为空' },
|
billCode: { required: true, requiredMsg: '运单号不能为空' },
|
||||||
cpSiteCode: { required: true, requiredMsg: '投诉网点不能为空' },
|
cpSiteCode: { required: true, requiredMsg: '投诉网点不能为空' },
|
||||||
cpReason: { required: true, requiredMsg: '投诉原因不能为空' },
|
cpReason: { required: true, requiredMsg: '投诉原因不能为空' },
|
||||||
},
|
},
|
||||||
|
pageLoading: true,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(queryOption) {
|
onLoad(queryOption) {
|
||||||
@ -90,11 +91,14 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getSendSiteList: apiService.getSendSiteList,
|
getSendSiteList: apiService.getSendSiteList,
|
||||||
initData() {
|
async initData() {
|
||||||
this.queryOption.cmpId && this.getDetailData()
|
if(this.queryOption.cmpId) {
|
||||||
|
await this.getDetailData()
|
||||||
|
}
|
||||||
|
this.pageLoading = false
|
||||||
},
|
},
|
||||||
async getDetailData(){
|
async getDetailData(){
|
||||||
let res = apiService.getComplainInfo({id: ''})
|
let res = await apiService.getComplainInfo({id: this.queryOption.cmpId, _loading: true })
|
||||||
res.data && (this.submitParam = res.data)
|
res.data && (this.submitParam = res.data)
|
||||||
},
|
},
|
||||||
handleFormChange() {
|
handleFormChange() {
|
||||||
|
|||||||
@ -66,6 +66,10 @@
|
|||||||
queryOption: {},
|
queryOption: {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onShow(){
|
||||||
|
this.triggerListReload()
|
||||||
|
this.initData()
|
||||||
|
},
|
||||||
onLoad(queryOption) {
|
onLoad(queryOption) {
|
||||||
this.queryOption = queryOption
|
this.queryOption = queryOption
|
||||||
this.initData();
|
this.initData();
|
||||||
|
|||||||
@ -65,6 +65,7 @@
|
|||||||
|
|
||||||
import getCdnUrl from "@/common/getCdnUrl"
|
import getCdnUrl from "@/common/getCdnUrl"
|
||||||
import { goto, scanCode } from "@/common/untool"
|
import { goto, scanCode } from "@/common/untool"
|
||||||
|
import * as apiService from "@/common/api"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
@ -87,7 +88,7 @@
|
|||||||
{ title: '信息速递', subTitle: "快递信息列表", icon: getCdnUrl(`sdg/t-xuzhi.png`), url: 'service/articlelist' },
|
{ title: '信息速递', subTitle: "快递信息列表", icon: getCdnUrl(`sdg/t-xuzhi.png`), url: 'service/articlelist' },
|
||||||
// { title: 'HSCODE', subTitle: "海关归类信息", icon: getCdnUrl(`sdg/t-HS.png`), url: '' },
|
// { title: 'HSCODE', subTitle: "海关归类信息", icon: getCdnUrl(`sdg/t-HS.png`), url: '' },
|
||||||
// { title: 'RECP', subTitle: "优惠税率安排查询", icon: getCdnUrl(`sdg/t-RE.png`), url: '' },
|
// { title: 'RECP', subTitle: "优惠税率安排查询", icon: getCdnUrl(`sdg/t-RE.png`), url: '' },
|
||||||
{ title: '扫码寄件', subTitle: "扫描条码发货", icon: getCdnUrl(`sdg/t-saoma.png`), url: 'action:smjj' },
|
{ title: '扫码寄件', subTitle: "扫描条码发货", icon: getCdnUrl(`sdg/t-saoma.png`), url: 'action:scan' },
|
||||||
{ title: '快递查询', subTitle: "快递单跟踪查询", icon: getCdnUrl(`sdg/t-yundan.png`), url: 'post/query' },
|
{ title: '快递查询', subTitle: "快递单跟踪查询", icon: getCdnUrl(`sdg/t-yundan.png`), url: 'post/query' },
|
||||||
],
|
],
|
||||||
showFollow: false
|
showFollow: false
|
||||||
@ -103,14 +104,22 @@
|
|||||||
getCdnUrl,
|
getCdnUrl,
|
||||||
goto,
|
goto,
|
||||||
async handleToolItemClict(item) {
|
async handleToolItemClict(item) {
|
||||||
if(item.url == 'action:smjj') {
|
if(item.url == 'action:scan') {
|
||||||
const code = await scanCode()
|
this.handleCheckOpenPost()
|
||||||
} else {
|
} else {
|
||||||
goto(item.url)
|
goto(item.url)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
async handleCheckOpenPost(){
|
||||||
|
const code = await scanCode()
|
||||||
|
let res = await apiService.scanCheckBillCode({ billCode: code })
|
||||||
|
if(res?.data?.billCode) {
|
||||||
|
let cpData = { billCode: res.data.billCode }
|
||||||
|
this.goto(`post/post?defaultSubParams=${encodeURIComponent(JSON.stringify(cpData))}&type=create`)
|
||||||
|
}
|
||||||
|
},
|
||||||
officialOnload(e) {
|
officialOnload(e) {
|
||||||
this.showFollow = true
|
// this.showFollow = true // 先隐藏
|
||||||
console.log('公众号组件加载成功===', e.detail.status)
|
console.log('公众号组件加载成功===', e.detail.status)
|
||||||
},
|
},
|
||||||
officialOnError(e) {
|
officialOnError(e) {
|
||||||
|
|||||||
@ -100,7 +100,7 @@
|
|||||||
this.getCertDetail()
|
this.getCertDetail()
|
||||||
},
|
},
|
||||||
async getCertDetail(){
|
async getCertDetail(){
|
||||||
let res = apiService.getIdVerification()
|
let res = await apiService.getIdVerification()
|
||||||
res.data && (this.submitParam = res.data)
|
res.data && (this.submitParam = res.data)
|
||||||
},
|
},
|
||||||
handleFormChange() {
|
handleFormChange() {
|
||||||
@ -110,7 +110,7 @@
|
|||||||
let params = { ...this.submitParam }
|
let params = { ...this.submitParam }
|
||||||
await checkParams(params, this.submitValidConfig)
|
await checkParams(params, this.submitValidConfig)
|
||||||
let res = await apiService.idVerification(params)
|
let res = await apiService.idVerification(params)
|
||||||
this.showToast('提交成功')
|
this.showToast('提交成功,请等待审核')
|
||||||
this.getCertDetail()
|
this.getCertDetail()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user