uu
This commit is contained in:
parent
15e9d76b08
commit
1e23cb01bf
@ -133,7 +133,7 @@ export const queryProblemTypeList = (data = {})=> {
|
|||||||
|
|
||||||
// 登记问题件
|
// 登记问题件
|
||||||
export const registerProblemInfo = (data = {})=> {
|
export const registerProblemInfo = (data = {})=> {
|
||||||
return coreRequest(url.registerProblemInfo, data, {}, "GET")
|
return coreRequest(url.registerProblemInfo, data, {})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1-发件清单 2-到件清单 3-派件清单
|
// 1-发件清单 2-到件清单 3-派件清单
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
<text class="">{{item.billCode}}</text>
|
<text class="">{{item.billCode}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
<u-col span="4">
|
<u-col span="4">
|
||||||
<text class="clr-sub">{{item.sendDate}}</text>
|
<text class="clr-sub">{{item.scanDate}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
<text class="">{{item.billCode}}</text>
|
<text class="">{{item.billCode}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
<u-col span="4">
|
<u-col span="4">
|
||||||
<text class="clr-sub">{{item.sendDate}}</text>
|
<text class="clr-sub">{{item.scanDate}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -1,11 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<tpx-page>
|
||||||
<tpx-layout>
|
<tpx-layout>
|
||||||
<template v-slot:body>
|
<template v-slot:body>
|
||||||
|
|
||||||
<view class="blcok-white-noradius" style="margin-top: 0;">
|
<view class="blcok-white-noradius" style="margin-top: 0;">
|
||||||
<u-row justify="between">
|
<u-row justify="between">
|
||||||
<view style="flex:1;">
|
<view style="flex:1;">
|
||||||
<tpx-scan-input v-model:value="submitParam.yundanhao" placeholder="请输入运单号或扫码"
|
<tpx-scan-input v-model:value="submitParam.billCode" placeholder="请输入运单号或扫码"
|
||||||
iconPos="left"></tpx-scan-input>
|
iconPos="left"></tpx-scan-input>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
@ -15,54 +16,45 @@
|
|||||||
<view class="blcok-white-noradius">
|
<view class="blcok-white-noradius">
|
||||||
<u-row custom-style="">
|
<u-row custom-style="">
|
||||||
<view style="flex: 1;">
|
<view style="flex: 1;">
|
||||||
<tpx-select placeholder="选择问题类型" :isWhite="true"></tpx-select>
|
<tpx-select v-model:resObject="ptypeRes" :getListFun="queryProblemTypeList" :transKeyVal="{valKey: 'id',titleKey: 'typeName'}"
|
||||||
|
v-model:value="submitParam.problemType" :isWhite="true" placeholder="请选择问题类型"
|
||||||
|
></tpx-select>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
<u-row custom-style="margin-top:20rpx;">
|
<u-row custom-style="margin-top:20rpx;">
|
||||||
<view style="flex: 1;">
|
<view style="flex: 1;">
|
||||||
<tpx-select placeholder="选择网点" :isWhite="true"></tpx-select>
|
<tpx-select placeholder="请选择网点" :isWhite="true"></tpx-select>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
<view class="mt-20">
|
<view class="mt-20">
|
||||||
<u-textarea v-model="submitParam.otherDes" border="surround" height="120" placeholder="问题描述"
|
<u-textarea v-model="submitParam.problemCause" border="surround" height="120" placeholder="问题描述"
|
||||||
maxlength="50" count></u-textarea>
|
maxlength="50" count></u-textarea>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="blcok-white-noradius">
|
<view class="blcok-white-noradius">
|
||||||
<bpe-goodphoto-tmp title="拍照上传" :value="submitParam" filedName="phName"></bpe-goodphoto-tmp>
|
<bpe-goodphoto-tmp title="拍照上传" :value="submitParam" filedName="filePath"></bpe-goodphoto-tmp>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
<view class="pos-rlt blcok-white" style="border-radius: 0;margin-top: 0;">
|
<view class="pos-rlt blcok-white" style="border-radius: 0;margin-top: 0;">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-button size="large" shape="circle"
|
<u-button @click="handleSubmit" size="large" shape="circle"
|
||||||
custom-style="width: 500rpx;height:80rpx;font-size: 30rpx;" type="primary">提交</u-button>
|
custom-style="width: 500rpx;height:80rpx;font-size: 30rpx;" type="primary">提交</u-button>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</tpx-layout>
|
</tpx-layout>
|
||||||
|
</tpx-page>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import getCdnUrl from "@/common/getCdnUrl"
|
import * as apiService from "@/common/api"
|
||||||
import {
|
|
||||||
ordStaEnum,
|
|
||||||
ordStatusList,
|
|
||||||
payTypeEnum,
|
|
||||||
payTypeList,
|
|
||||||
dlvTypeEnum,
|
|
||||||
dlvTypeList,
|
|
||||||
dateTypeEnum,
|
|
||||||
dateTypeList
|
|
||||||
} from "@/common/enum"
|
|
||||||
import BoOperatorTmp from "@/components/buns-order-templates/bo-operator-tmp"
|
|
||||||
import BpeGoodphotoTmp from "@/components/buns-post-edit-templates/bpe-goodphoto-tmp"
|
import BpeGoodphotoTmp from "@/components/buns-post-edit-templates/bpe-goodphoto-tmp"
|
||||||
import {
|
|
||||||
goto
|
|
||||||
} from "@/common/untool"
|
|
||||||
export default {
|
export default {
|
||||||
components:{ BoOperatorTmp, BpeGoodphotoTmp },
|
components:{ BpeGoodphotoTmp },
|
||||||
props: {
|
props: {
|
||||||
// hasLeftWin: {
|
// hasLeftWin: {
|
||||||
// type: Boolean
|
// type: Boolean
|
||||||
@ -73,14 +65,14 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
ptypeRes: { list: [] },
|
||||||
submitParam: {
|
submitParam: {
|
||||||
date: [],
|
billCode: "", // 运单号
|
||||||
type: 1,
|
problemType: '', // 问题类型
|
||||||
|
problemCause: "", // 问题件原因
|
||||||
|
sendSiteCode: "", // 通知网点代码
|
||||||
|
filePath: "", // 图片路径
|
||||||
},
|
},
|
||||||
|
|
||||||
yundanList: [
|
|
||||||
{ val: 'T7080304037' },{ val: 'T708012124037' },{ val: 'T7080304092' }
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
@ -96,15 +88,16 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getCdnUrl,
|
queryProblemTypeList: apiService.queryProblemTypeList,
|
||||||
|
|
||||||
initData() {
|
initData() {
|
||||||
// uni.showLoading({
|
|
||||||
// title: '加载中'
|
|
||||||
// });
|
|
||||||
},
|
|
||||||
handleSubmit() {
|
|
||||||
|
|
||||||
|
},
|
||||||
|
async handleSubmit() {
|
||||||
|
let serverHand = apiService.registerProblemInfo
|
||||||
|
let params = JSON.parse(JSON.stringify(this.submitParam));
|
||||||
|
params.filePath = params.filePath.join(",")
|
||||||
|
await serverHand(params)
|
||||||
|
this.showToast('操作成功')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
<text class="">{{item.billCode}}</text>
|
<text class="">{{item.billCode}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
<u-col span="4">
|
<u-col span="4">
|
||||||
<text class="clr-sub">{{item.sendDate}}</text>
|
<text class="clr-sub">{{item.scanDate}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user