Commit 9f3bc467 authored by chuan.liu's avatar chuan.liu

违约任务 确认、罚分申诉、 违约任务详情新增+联调

parent de39528b
......@@ -116,8 +116,8 @@
"changeOrigin": true
},
"/wmdpwebservices": {
// "target": "http://221.10.127.60:5000/sczx",
"target": "https://10.0.134.182:9002",
"target": "http://221.10.127.60:5000/sczx",
// "target": "https://10.0.134.182:9002",
"changeOrigin": true
},
"/adapter": {
......
......@@ -822,6 +822,38 @@
// "enablePullDownRefresh": true
}
},
{
"path": "pages/breakwords-mission-appeal/breakwords-mission-appeal",
"style": {
"app-plus": {
"titleNView": {
"titleAlign": "left",
"titleColor": "#333",
"titleSize": "17px",
"backgroundColor": "transparent",
"titleText": "罚分申诉 ",
"autoBackButton": true
}
}
// "enablePullDownRefresh": true
}
},
{
"path": "pages/breakwords-mission-detail/breakwords-mission-detail",
"style": {
"app-plus": {
"titleNView": {
"titleAlign": "left",
"titleColor": "#333",
"titleSize": "17px",
"backgroundColor": "transparent",
"titleText": "违约任务详情 ",
"autoBackButton": true
}
}
// "enablePullDownRefresh": true
}
},
{
"path": "pages/breakwords-handle/breakwords-handle",
"style": {
......
<template>
<view class="lists">
<view class="status_bar" :style="navHeight"></view>
<view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main">
<view class="block-detal">
<view class="block-detal-head">
<text class="detal-head-item-value detal-head-item-value-first">{{missionDetail.createdate}}</text>
<text class="detal-head-item-value">{{missionDetail.viloationName}}</text>
<text class="detal-head-item-value">{{missionDetail.childTypeName}}</text>
<text
class="detal-head-item-value detal-head-item-value-last status-done">{{missionDetail.status}}</text>
</view>
<view class="block-detal-body">
<text class="detal-item-value">{{missionDetail.terminalName}}</text>
<text class="detal-item-value">{{missionDetail.terminalAddress}}</text>
<text class="detal-item-value">{{missionDetail.productName}}</text>
<text class="detal-item-value">{{missionDetail.productQty}}</text>
</view>
<template v-for="(letter,index) in contactLetterDetail.entryDataList">
<view class="text-block text-block-last">
<text class="middle-date">联络函编号</text>
<text class="middle-date-des">{{letter.contactLetterId}}</text>
</view>
<view class="text-block text-block-last">
<text class="middle-date">附件</text>
<text class="middle-date-des">{{letter.contactLetterName}}</text>
</view>
</template>
</view>
<view class="middle view">
<view class="text-block">
<text class="middle-date">打框架</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.bundledProducts?'是':'否'}}</text>
</view>
</view>
</view>
</view>
<view class="text-block">
<text class="middle-date">收货地址</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.receiveAddress}}</text>
</view>
</view>
</view>
</view>
<view class="text-block">
<text class="middle-date">联系人</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.contactUser}}</text>
</view>
</view>
</view>
</view>
<view class="text-block">
<text class="middle-date">联系电话</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.receiveContactPhone}}</text>
</view>
</view>
</view>
</view>
<view class="text-block">
<text class="middle-date">期望保价(元)</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.expectInsuredValue}}</text>
</view>
</view>
</view>
</view>
<view class="text-block text-block-last">
<text class="middle-date">物流公司</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.expectLogistics}}</text>
</view>
</view>
</view>
</view>
<view class="text-block-children ">
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.receiveRecorderName}}</text>
</view>
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.receiveRecorderTime}}</text>
</view>
</view>
<view class="text-block">
<text class="middle-date">收货确认时间</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.receiveConfirmTime}}</text>
</view>
</view>
</view>
</view>
<view class="text-block-children ">
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.receiveConfirmUserName}}</text>
</view>
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.receiveConfirmTime}}</text>
</view>
</view>
<view class="text-block text-block-last">
<text class="middle-date">情况说明</text>
</view>
<view class="remark">
<textarea class="remark-text" placeholder="请输入情况说明" placeholder-class="uni-combox__input-plac"
v-model="condition.notes" />
</view>
<view class="text-block text-block-last">
<text class="middle-date">上传附件时,多次上传只保留最后上传</text>
</view>
<view class="text-block text-block-last upload-area">
<text class="middle-date">上传附件</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<uni-file-picker ref='files' :auto-upload='false' v-model="fileList"
file-mediatype="image" :imageStyles="imageStyles" @select="select"
@progress="progress" @success="success" @fail='fail'>
<text>+</text>
</uni-file-picker>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="bottom-area"></view>
<view class="bottom">
<button class="btn" type="default" @tap="submit">
<text class="btn-text">罚分申诉</text>
</button>
</view>
</view>
</view>
</template>
<script>
import {
mapState
} from 'vuex'
import {
apiGetContactLetterDetail,
apiDoReceiveApprovalInfo
} from '@/servers/breakwords.js'
export default {
data() {
return {
condition: {
taskAssignmentId: '',
bundledProducts: 'false',
receiveAddress: '',
contactUser: '',
receiveContactPhone: '',
expectInsuredValue: '',
expectLogistics: '',
notes: '',
entryDataList: []
},
missionDetail: {},
contactLetterDetail: {},
fileList: [],
}
},
computed: {
...mapState(['sysinfo', 'userInfo']),
navHeight() {
return {
'height': `${this.sysinfo.safeArea.top + 44}px`
}
},
mainHeight() {
return {
'height': `${this.sysinfo.safeArea.height - 44 }px`,
}
},
imageStyles() {
return {
width: 54,
height: 54,
border: {
radius: '10%'
}
}
},
},
onLoad(option) {
if (option && option.pageType) {
this.missionDetail = JSON.parse(option.info)
this.condition.taskAssignmentId = this.missionDetail.ticketId
this.getContactLetterDetail()
}
},
methods: {
async getContactLetterDetail() {
uni.showLoading({
title: '加载中'
});
setTimeout(function() {
uni.hideLoading();
}, 2000);
// const res = await apiGetContactLetterDetail({
// taskAssignmentId: this.condition.taskAssignmentId
// })
let res = {
"result": "S",
"message": "操作成功",
"data": {
"taskAssignmentId": "T000008HK",
"bankName": "开户行",
"accountName": "户名",
"accountNumber": "账号",
"contact": "联系人",
"contactPhone": "联系电话",
"receiveAddress": "收货地址",
"contactUser": "收获联系人",
"receiveContactPhone": "联系人电话",
"expectInsuredValue": "期望保价",
"expectLogistics": "期望物流公司",
"receiveRecorderName": "录入人",
"receiveRecorderTime": "录入时间",
"remitPaidParty": "打款方",
"remitPaidUrl": "打款凭证照片",
"remitRecorderName": "打款录入人",
"remitRecorderTime": "打款录入时间",
"shipLogistics": "发货物流公司",
"shipLogisticsNo": "发货单号",
"shipTime": "发货时间",
"shipRecorderName": "发货人",
"entryDataList": [{
"contactLetterId": "联络函编号",
"contactLetterName": "联络函名称",
"createUserName": "创建人",
"status": "状态",
"statusName": "状态",
"createTime": "生成时间"
}]
}
}
uni.hideLoading();
for (let key in res.data) {
this.$set(this.contactLetterDetail, key, res.data[key])
// this.contactLetterDetail[key] = res.data[key]
}
this.condition.entryDataList = res.data.entryDataList
},
async submit() {
const params = {
'ticketId': this.condition.taskAssignmentId,
'remark': this.condition.notes,
'userid': this.userInfo.code,
'distributer': true,
'processBusinessInstanceId': this.condition.taskAssignmentId,
'distributerAttachment': '',
}
uni.showLoading({
title: '加载中'
});
setTimeout(function() {
uni.hideLoading();
}, 2000);
const res = await apiDoReceiveApprovalInfo(params)
uni.hideLoading();
uni.navigateBack()
},
// 获取上传进度
progress(e) {
console.log('上传进度:', e)
},
// 选择文件
select(e) {
console.log('选择文件:', e, this.fileList)
},
// 上传成功
success(e) {
console.log('上传成功', e)
},
// 上传失败
fail(e) {
console.log('上传失败:', e)
},
}
}
</script>
<style lang="scss" scoped>
.view {
display: flex;
flex-direction: column;
}
.status_bar {
height: var(--status-bar-height);
}
.header-bg {
height: 284rpx;
margin-top: -88rpx;
}
.header-bg-img {
width: 750rpx;
}
.lists {
position: relative;
flex-direction: column;
background: #f0f4f5;
flex: 1;
}
.main {
position: relative;
flex-direction: column;
margin-top: -164rpx;
border-radius: 16rpx;
padding: 0 16rpx;
}
.middle {
background-color: #fff;
border-radius: 16rpx;
padding: 0 48rpx;
margin-bottom: 32rpx;
}
.text-block {
display: flex;
overflow: hidden;
height: 96rpx;
border-bottom: 1px solid #f4f5f6;
}
.text-block-last {
margin-bottom: 0;
border-bottom: 0;
}
.text-block-children {
display: flex;
flex-direction: column;
border-bottom: 1px solid #f4f5f6;
padding: 20rpx 0;
}
.children-block {
display: flex;
align-items: center;
height: 60rpx;
padding-left: 40rpx;
}
.children-block-icon {
width: 40rpx;
height: 40rpx;
margin-right: 20rpx;
}
.children-block-text {
font-size: 24rpx;
}
.no-border {
border: 0;
}
.middle-date {
flex: 3;
font-size: 24rpx;
line-height: 96rpx;
color: #999;
margin-bottom: 8rpx;
}
.middle-date-des {
align-items: center;
flex: 5.5;
font-size: 24rpx;
color: $text-base-color;
height: 96rpx;
line-height: 96rpx;
}
.uni-input-placeholder {
color: #DBDBDB;
}
.picker-year {
position: relative;
align-items: center;
}
.uni-combox__input-plac {
color: #DBDBDB;
font-size: 14px;
}
.uni-list-cell {
flex: 1;
height: 100%;
padding-right: 52rpx;
}
.uni-list-cell-db {
flex: 1;
height: 100%;
}
.picker-block {
flex: 1;
height: 100%;
}
.icon-arrow {
position: absolute;
right: 22rpx;
top: 40rpx;
width: 7px;
height: 10px;
z-index: 10;
}
.icon-arrow-r {
right: 102rpx;
}
.planout-block-item {
margin-top: 48rpx;
}
.block-detal {
display: flex;
flex-direction: column;
background: #fff;
border-radius: 20rpx;
padding: 32rpx;
margin-top: 32rpx;
margin-bottom: 20rpx;
}
.block-detal-head {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #ddd;
padding-bottom: 6px;
}
.detal-head-item-value {
flex: 1;
text-align: center;
}
.detal-head-item-value-first {
flex: 1.2;
text-align: left;
}
.detal-head-item-value-last {
flex: 0.7;
text-align: right;
}
.status-done {
color: #F62C29;
}
.product-val {
margin-right: 10px;
}
.block-detal-body {
display: flex;
flex-direction: column;
padding-top: 20rpx;
}
.detal-item-value {
color: #333;
font-size: 24rpx;
margin-bottom: 8rpx;
}
.remark {
margin-bottom: 24px;
}
.remark-text {
flex: 1;
height: 180rpx;
background: #f5f6f7;
border-radius: 4px;
padding: 12rpx 18rpx;
}
.upload-area {
margin-bottom: 32rpx;
}
.bottom-area {
height: 140rpx;
margin-top: 12rpx;
}
.bottom {
position: fixed;
bottom: 0;
left: 0;
z-index: 10;
width: 750rpx;
height: 140rpx;
padding: 0 32rpx;
background-color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
}
.btn {
flex: 1;
height: 92rpx;
background: $wly-primary-color;
border-radius: 46rpx;
}
.btn-text {
color: #fff;
font-size: 34rpx;
}
</style>
......@@ -4,7 +4,7 @@
<view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main" :style="mainHeight">
<view class="main">
<view class="block-detal">
<view class="block-detal-head">
<text class="detal-head-item-value detal-head-item-value-first">{{missionDetail.createdate}}</text>
......@@ -164,12 +164,44 @@
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">ddd</text>
<text class="children-block-text">{{ contactLetterDetail.receiveRecorderName}}</text>
</view>
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">ddd</text>
<text class="children-block-text">{{ contactLetterDetail.receiveRecorderTime}}</text>
</view>
</view>
<view class="text-block">
<text class="middle-date">物流单号</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.shipLogisticsNo}}</text>
</view>
</view>
</view>
</view>
<view class="text-block text-block-last">
<text class="middle-date">物流公司</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.shipLogistics}}</text>
</view>
</view>
</view>
</view>
<view class="text-block-children ">
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.shipRecorderName}}</text>
</view>
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.shipTime}}</text>
</view>
</view>
</view>
......@@ -178,7 +210,7 @@
<view class="bottom-area"></view>
<view class="bottom">
<button class="btn" type="default" @tap="submit">
<text class="btn-text">提交</text>
<text class="btn-text">确认</text>
</button>
</view>
</view>
......@@ -192,7 +224,7 @@
import {
apiGetContactLetterDetail,
apiDoReceiveInfo
apiDoReceiveConfirmInfo
} from '@/servers/breakwords.js'
export default {
......@@ -290,15 +322,10 @@
async submit() {
const params = {
'taskAssignmentId': this.condition.taskAssignmentId,
'receiveAddress': this.condition.receiveAddress,
'contactUser': this.condition.contactUser,
'contactPhone': this.condition.receiveContactPhone,
'expectInsuredValue': this.condition.expectInsuredValue,
'expectLogistics': this.condition.expectLogistics,
'receiveRecorderId': this.userInfo.code,
'receiveRecorderName': this.userInfo.name,
'isReceiveConfirmed': '是',
'receiveConfirmUserId': this.userInfo.code,
'receiveConfirmUserName': this.userInfo.name,
'contactLetterId': this.condition.entryDataList[0].contactLetterId,
'bundledProducts': this.condition.bundledProducts
}
uni.showLoading({
title: '加载中'
......@@ -306,7 +333,7 @@
setTimeout(function() {
uni.hideLoading();
}, 2000);
const res = await apiDoReceiveInfo(params)
const res = await apiDoReceiveConfirmInfo(params)
uni.hideLoading();
uni.navigateBack()
}
......
<template>
<view class="lists">
<view class="status_bar" :style="navHeight"></view>
<view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main">
<view class="block-detal">
<view class="block-detal-head">
<text class="detal-head-item-value detal-head-item-value-first">{{missionDetail.createdate}}</text>
<text class="detal-head-item-value">{{missionDetail.viloationName}}</text>
<text class="detal-head-item-value">{{missionDetail.childTypeName}}</text>
<text
class="detal-head-item-value detal-head-item-value-last status-done">{{missionDetail.status}}</text>
</view>
<view class="block-detal-body">
<text class="detal-item-value">{{missionDetail.terminalName}}</text>
<text class="detal-item-value">{{missionDetail.terminalAddress}}</text>
<text class="detal-item-value">{{missionDetail.productName}}</text>
<text class="detal-item-value">{{missionDetail.productQty}}</text>
</view>
<template v-for="(letter,index) in contactLetterDetail.entryDataList">
<view class="text-block text-block-last">
<text class="middle-date">联络函编号</text>
<text class="middle-date-des">{{letter.contactLetterId}}</text>
</view>
<view class="text-block text-block-last">
<text class="middle-date">附件</text>
<text class="middle-date-des">{{letter.contactLetterName}}</text>
</view>
</template>
</view>
<view class="middle view">
<view class="text-block">
<text class="middle-date">打框架</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.bundledProducts?'是':'否'}}</text>
</view>
</view>
</view>
</view>
<view class="text-block">
<text class="middle-date">收货地址</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.receiveAddress}}</text>
</view>
</view>
</view>
</view>
<view class="text-block">
<text class="middle-date">联系人</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.contactUser}}</text>
</view>
</view>
</view>
</view>
<view class="text-block">
<text class="middle-date">联系电话</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.receiveContactPhone}}</text>
</view>
</view>
</view>
</view>
<view class="text-block">
<text class="middle-date">期望保价(元)</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.expectInsuredValue}}</text>
</view>
</view>
</view>
</view>
<view class="text-block text-block-last">
<text class="middle-date">物流公司</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.expectLogistics}}</text>
</view>
</view>
</view>
</view>
<view class="text-block-children ">
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.receiveRecorderName}}</text>
</view>
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.receiveRecorderTime}}</text>
</view>
</view>
<view class="text-block">
<text class="middle-date">物流单号</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.shipLogisticsNo}}</text>
</view>
</view>
</view>
</view>
<view class="text-block text-block-last">
<text class="middle-date">物流公司</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.shipLogistics}}</text>
</view>
</view>
</view>
</view>
<view class="text-block-children ">
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.shipRecorderName}}</text>
</view>
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.shipTime}}</text>
</view>
</view>
<view class="text-block">
<text class="middle-date">收货确认时间</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input-text">{{ contactLetterDetail.receiveConfirmTime}}</text>
</view>
</view>
</view>
</view>
<view class="text-block-children ">
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.receiveConfirmUserName}}</text>
</view>
<view class="children-block">
<image class="children-block-icon" src="@/static/image/usercenter_purchaseplan@3x.png" mode="">
</image>
<text class="children-block-text">{{ contactLetterDetail.receiveConfirmTime}}</text>
</view>
</view>
<view class="text-block">
<text class="middle-date">有无异议</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text
class="uni-input-text">{{ contactLetterDetail.distributerRemark==='1'?'有异议':'无异议'}}</text>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="bottom-area"></view>
</view>
</view>
</template>
<script>
import {
mapState
} from 'vuex'
import {
apiGetContactLetterDetail,
} from '@/servers/breakwords.js'
export default {
data() {
return {
condition: {
taskAssignmentId: '',
bundledProducts: 'false',
receiveAddress: '',
contactUser: '',
receiveContactPhone: '',
expectInsuredValue: '',
expectLogistics: '',
entryDataList: []
},
missionDetail: {},
contactLetterDetail: {},
}
},
computed: {
...mapState(['sysinfo', 'userInfo']),
navHeight() {
return {
'height': `${this.sysinfo.safeArea.top + 44}px`
}
},
mainHeight() {
return {
'height': `${this.sysinfo.safeArea.height - 44 }px`,
}
},
},
onLoad(option) {
if (option && option.pageType) {
this.missionDetail = JSON.parse(option.info)
this.condition.taskAssignmentId = this.missionDetail.ticketId
this.getContactLetterDetail()
}
},
methods: {
async getContactLetterDetail() {
uni.showLoading({
title: '加载中'
});
setTimeout(function() {
uni.hideLoading();
}, 2000);
// const res = await apiGetContactLetterDetail({
// taskAssignmentId: this.condition.taskAssignmentId
// })
let res = {
"result": "S",
"message": "操作成功",
"data": {
"taskAssignmentId": "T000008HK",
"bankName": "开户行",
"accountName": "户名",
"accountNumber": "账号",
"contact": "联系人",
"contactPhone": "联系电话",
"receiveAddress": "收货地址",
"contactUser": "收获联系人",
"receiveContactPhone": "联系人电话",
"expectInsuredValue": "期望保价",
"expectLogistics": "期望物流公司",
"receiveRecorderName": "录入人",
"receiveRecorderTime": "录入时间",
"remitPaidParty": "打款方",
"remitPaidUrl": "打款凭证照片",
"remitRecorderName": "打款录入人",
"remitRecorderTime": "打款录入时间",
"shipLogistics": "发货物流公司",
"shipLogisticsNo": "发货单号",
"shipTime": "发货时间",
"shipRecorderName": "发货人",
"entryDataList": [{
"contactLetterId": "联络函编号",
"contactLetterName": "联络函名称",
"createUserName": "创建人",
"status": "状态",
"statusName": "状态",
"createTime": "生成时间"
}]
}
}
uni.hideLoading();
for (let key in res.data) {
this.$set(this.contactLetterDetail, key, res.data[key])
// this.contactLetterDetail[key] = res.data[key]
}
this.condition.entryDataList = res.data.entryDataList
},
}
}
</script>
<style lang="scss" scoped>
.view {
display: flex;
flex-direction: column;
}
.status_bar {
height: var(--status-bar-height);
}
.header-bg {
height: 284rpx;
margin-top: -88rpx;
}
.header-bg-img {
width: 750rpx;
}
.lists {
position: relative;
flex-direction: column;
background: #f0f4f5;
flex: 1;
}
.main {
position: relative;
flex-direction: column;
margin-top: -164rpx;
border-radius: 16rpx;
padding: 0 16rpx;
}
.middle {
background-color: #fff;
border-radius: 16rpx;
padding: 0 48rpx;
margin-bottom: 32rpx;
}
.text-block {
display: flex;
overflow: hidden;
height: 96rpx;
border-bottom: 1px solid #f4f5f6;
}
.text-block-last {
margin-bottom: 0;
border-bottom: 0;
}
.text-block-children {
display: flex;
flex-direction: column;
border-bottom: 1px solid #f4f5f6;
padding: 20rpx 0;
}
.children-block {
display: flex;
align-items: center;
height: 60rpx;
padding-left: 40rpx;
}
.children-block-icon {
width: 40rpx;
height: 40rpx;
margin-right: 20rpx;
}
.children-block-text {
font-size: 24rpx;
}
.no-border {
border: 0;
}
.middle-date {
flex: 3;
font-size: 24rpx;
line-height: 96rpx;
color: #999;
margin-bottom: 8rpx;
}
.middle-date-des {
align-items: center;
flex: 5.5;
font-size: 24rpx;
color: $text-base-color;
height: 96rpx;
line-height: 96rpx;
}
.uni-input-placeholder {
color: #DBDBDB;
}
.picker-year {
position: relative;
align-items: center;
}
.uni-list-cell {
flex: 1;
height: 100%;
padding-right: 52rpx;
}
.uni-list-cell-db {
flex: 1;
height: 100%;
}
.picker-block {
flex: 1;
height: 100%;
}
.icon-arrow {
position: absolute;
right: 22rpx;
top: 40rpx;
width: 7px;
height: 10px;
z-index: 10;
}
.icon-arrow-r {
right: 102rpx;
}
.planout-block-item {
margin-top: 48rpx;
}
.block-detal {
display: flex;
flex-direction: column;
background: #fff;
border-radius: 20rpx;
padding: 32rpx;
margin-top: 32rpx;
margin-bottom: 20rpx;
}
.block-detal-head {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #ddd;
padding-bottom: 6px;
}
.detal-head-item-value {
flex: 1;
text-align: center;
}
.detal-head-item-value-first {
flex: 1.2;
text-align: left;
}
.detal-head-item-value-last {
flex: 0.7;
text-align: right;
}
.status-done {
color: #F62C29;
}
.product-val {
margin-right: 10px;
}
.block-detal-body {
display: flex;
flex-direction: column;
padding-top: 20rpx;
}
.detal-item-value {
color: #333;
font-size: 24rpx;
margin-bottom: 8rpx;
}
.bottom-area {
height: 140rpx;
margin-top: 12rpx;
}
.bottom {
position: fixed;
bottom: 0;
left: 0;
z-index: 10;
width: 750rpx;
height: 140rpx;
padding: 0 32rpx;
background-color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
}
.btn {
flex: 1;
height: 92rpx;
background: $wly-primary-color;
border-radius: 46rpx;
}
.btn-text {
color: #fff;
font-size: 34rpx;
}
</style>
......@@ -51,9 +51,11 @@
</view> -->
</view>
</view>
<button v-if="handleStatustext(item) !=='--'" class="item-btn" type="default"
@click="checkOrderStatus(item)"><text
<button v-if="activeTabIndex===0 && handleStatustext(item) !=='--'" class="item-btn"
type="default" @click="checkOrderStatus(item)"><text
class="item-btn-text">{{handleStatustext(item)}}</text></button>
<button v-if="activeTabIndex===1" class="item-btn" type="default"
@click="checkOrderDetail(item)"><text class="item-btn-text">查看详情</text></button>
</view>
</cell>
<cell>
......@@ -194,7 +196,7 @@
"appurl": "T00001STE",
"requestid": "-203",
"ticketId": "T00001STE",
"entryType": "4",
"entryType": "3",
"status": "已处理",
"viloationName": "影响质量",
"childTypeName": "childTypeName",
......@@ -329,9 +331,17 @@
break
case 3:
entryType = '6'
uni.navigateTo({
url: `/pages/breakwords-mission-appeal/breakwords-mission-appeal?info=${JSON.stringify(item)}&pageType=${entryType}`
})
break
}
},
checkOrderDetail(item) {
uni.navigateTo({
url: `/pages/breakwords-mission-detail/breakwords-mission-detail?info=${JSON.stringify(item)}&pageType=10`
})
}
}
}
......
......@@ -179,8 +179,8 @@ class Request {
// config.baseUrl = 'http://api.c0331.dev.guanyingyun.com'
config.baseUrl = 'http://221.10.127.60:5000/cyj'
} else if (config.url.indexOf('wmdpwebservices') !== -1) {
config.baseUrl = 'https://10.0.134.182:9002'
// config.baseUrl = 'http://221.10.127.60:5000/sczx'
// config.baseUrl = 'https://10.0.134.182:9002'
config.baseUrl = 'http://221.10.127.60:5000/sczx'
// config.baseUrl = ''
} else {
config.baseUrl = 'http://221.10.127.60:5000/wlySap'
......
......@@ -120,6 +120,26 @@ export async function apiDoReceiveInfo(params) {
return res
}
/**
* 易商-填写收货确认信息接口
* @param name 账户名
* @returns {Promise<AxiosResponse<T>>}
*/
export async function apiDoReceiveConfirmInfo(params) {
const res = await apiHelper.post('/wmdpwebservices/trackInformation/doReceivedConfirmInfo', params)
return res
}
/**
* 易商-填写收货罚分申诉信息接口
* @param name 账户名
* @returns {Promise<AxiosResponse<T>>}
*/
export async function apiDoReceiveApprovalInfo(params) {
const res = await apiHelper.post('/wmdpwebservices/closeopinion/approval', params)
return res
}
/**
* 查询处理单
* @param name 账户名
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment