Commit 27517dc0 authored by 贺世双's avatar 贺世双

调整签收删除

parent 70713ab9
...@@ -170,6 +170,18 @@ export function getOrderPodDetailSign(data) { ...@@ -170,6 +170,18 @@ export function getOrderPodDetailSign(data) {
return Request( `/api/entry/{mini}/m-action/getOrderPodDetailSign`,data ); return Request( `/api/entry/{mini}/m-action/getOrderPodDetailSign`,data );
} }
//签收操作按钮tm_ie_shipmentstatus
export function getAppIeShipmentStatus(data) {
return Request( `/api/entry/{mini}/m-action/getAppIeShipmentStatus`,data );
}
//签收删除明细tm_ie_shipmentstatus
export function getOrderPodDelete(data) {
return Request( `/api/entry/{mini}/m-action/getOrderPodDelete`,data );
}
// 查询货量明细 // 查询货量明细
// OM模式 // OM模式
export function OMOrderDetail(data) { export function OMOrderDetail(data) {
......
<template> <template>
<view class="orderPodItem box_shadow_card" > <view class="orderPodItem box_shadow_card" @click="navToOrderPodDetail()">
<view class="shipment-header flex_sb" style="padding: 28rpx 24rpx 0;"> <view class="shipment-header flex_sb" style="padding: 28rpx 24rpx 0;">
<view class="consumer_code flex_center"> <view class="consumer_code flex_center">
<text selectable> 回单号:{{propData['pod_no'] || ''}}</text> <text selectable> 回单号:{{propData['pod_no'] || ''}}</text>
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
<view class="flex_cen flex_center orderItemButtonGroup" > <view class="flex_cen flex_center orderItemButtonGroup" >
<button class="flex_cen flex_center" @click="onDetailPodSign()">明细上传</button> <button class="flex_cen flex_center" @click="onDetailPodSign()">明细上传</button>
<button class="flex_cen flex_center" @click="onAllPodSign()">整单上传</button> <button class="flex_cen flex_center" @click="onAllPodSign()">整单上传</button>
<!-- <button class="flex_cen flex_center" style="margin-top: 24rpx;" @click="onChangeShippingDate()">修改船期</button> -->
</view> </view>
</view> </view>
...@@ -53,6 +52,13 @@ ...@@ -53,6 +52,13 @@
}, },
}, },
methods: { methods: {
//路由跳转==回单详情界面
navToOrderPodDetail() {
getApp().globalData.orderPodSignEdit = this.propData
wx.navigateTo({
url: `/subpkg/orderPodSignEdit/orderPodSignEdit`,
})
},
//跳转明细签收界面 //跳转明细签收界面
onDetailPodSign() { onDetailPodSign() {
getApp().globalData.orderDetailPodSign = this.propData getApp().globalData.orderDetailPodSign = this.propData
......
import { userLogin,authLogin, updateLocation } from "../api/apiList"; import { userLogin,authLogin, updateLocation,userMobileOperation} from "../api/apiList";
import { APP_ID, ENV_MODEL, TokenPrefix } from "../publicConfig/config"; import { APP_ID, ENV_MODEL, TokenPrefix } from "../publicConfig/config";
module.exports = { module.exports = {
...@@ -7,7 +7,7 @@ module.exports = { ...@@ -7,7 +7,7 @@ module.exports = {
getWxToken() { getWxToken() {
uni.login({ uni.login({
success: (res) => { success: (res) => {
// this.login(res.code); this.login(res.code);
}, },
}); });
}, },
...@@ -65,6 +65,7 @@ module.exports = { ...@@ -65,6 +65,7 @@ module.exports = {
// #endif // #endif
//登录Action: loginByUserInfo已与手机号验证码登录实现互通, 故自动认证时默认为loginByUserInfo //登录Action: loginByUserInfo已与手机号验证码登录实现互通, 故自动认证时默认为loginByUserInfo
let reqData = { entryName: projectMini } let reqData = { entryName: projectMini }
reqData.code = code;
authLogin("loginByUserInfo", code, reqData).then(res => { authLogin("loginByUserInfo", code, reqData).then(res => {
let XSRFToken = ""; let XSRFToken = "";
//#ifdef MP //#ifdef MP
...@@ -86,15 +87,46 @@ module.exports = { ...@@ -86,15 +87,46 @@ module.exports = {
// #ifdef MP // #ifdef MP
uni.setStorageSync("cookies", res.cookies); uni.setStorageSync("cookies", res.cookies);
// #endif // #endif
if (route && route !== "pages/login/login" && route !== "/") { //获取用户信息
uni.reLaunch({ userMobileOperation('getUserInfo').then(res => {
url: pagePath, var user = res.data.data
}); //可跳转至任意页面 if(user.user_gid=="DEFAULT.CARRIER_ADMIN"){
} else { getApp().globalData.tabList = [{
uni.switchTab({ "pagePath": "pages/dirverMenu/dirverMenu",
url: "/pages/order/order", "text": "司机",
}); "iconPath": "../../static/img/tabbar/receivebill.png",
} "selectedIconPath": "../../static/img/tabbar/receivebill-active.png"
},
{
"pagePath": "pages/user/user",
"text": "我的",
"iconPath": "../../static/img/tabbar/user.png",
"selectedIconPath": "../../static/img/tabbar/user-active.png"
}
]
uni.switchTab({
url: "/pages/dirverMenu/dirverMenu",
})
}else {
getApp().globalData.tabList = [{
"pagePath": "pages/carrierMenu/carrierMenu",
"text": "承运商",
"iconPath": "../../static/img/tabbar/shipment.png",
"selectedIconPath": "../../static/img/tabbar/shipment-active.png"
},
{
"pagePath": "pages/user/user",
"text": "我的",
"iconPath": "../../static/img/tabbar/user.png",
"selectedIconPath": "../../static/img/tabbar/user-active.png"
}
]
uni.switchTab({
url: "/pages/carrierMenu/carrierMenu",
})
}
})
// #ifdef MP // #ifdef MP
// _this.onUpdateLocation() // _this.onUpdateLocation()
// #endif // #endif
......
...@@ -158,6 +158,13 @@ ...@@ -158,6 +158,13 @@
"navigationBarTitleText": "明细签收", "navigationBarTitleText": "明细签收",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
{
"path": "orderPodSignEdit/orderPodSignEdit",
"style": {
"navigationBarTitleText": "签收信息",
"enablePullDownRefresh": false
}
} }
] ]
}], }],
......
...@@ -604,7 +604,7 @@ ...@@ -604,7 +604,7 @@
/deep/.basicInfo, /deep/.basicInfo,
/deep/.driverLicense, /deep/.driverLicense,
/deep/.driverJobCertificate { /deep/.driverJobCertificate {
padding: 0 40rpx; //padding: 0 40rpx;
background-color: #ffffff; background-color: #ffffff;
.input-tip { .input-tip {
......
This diff is collapsed.
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