From e193d75257a21568a15f99b27a2a48bd7fd815f9 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期三, 22 三月 2023 17:59:06 +0800
Subject: [PATCH] 1.磅房详情(完成) 2.入场申请报错(完成) 3.签到(完成) 4.日志(完成) 5.发运计划详情(完成)
---
pages/driver-page/appointment/appointment.vue | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/pages/driver-page/appointment/appointment.vue b/pages/driver-page/appointment/appointment.vue
index 80923af..987df15 100644
--- a/pages/driver-page/appointment/appointment.vue
+++ b/pages/driver-page/appointment/appointment.vue
@@ -1,6 +1,6 @@
<template>
<view class="appointment">
- <combined-title :title="yuYueData.length != 0?yuYueData[0].filedName + '鈥斺��' + yuYueData[0].sendDate:'鏆傛棤棰勭害鍒楄〃'"></combined-title>
+ <combined-title :title="yuYueData.length != 0 ? yuYueData[0].filedName + '鈥斺��' + yuYueData[0].sendDate : '鏆傛棤棰勭害鍒楄〃'"></combined-title>
<view class="appointment-table">
<uni-table border stripe emptyText="鏆傛棤鏇村鏁版嵁">
<uni-tr>
@@ -22,21 +22,22 @@
<script>
import combinedTitle from '@/components/combined-title/combined-title.vue';
-import { BigNumber } from 'bignumber.js';
export default {
components: {
combinedTitle
},
data() {
return {
+ // 棰勭害鍒楄〃璇锋眰鍙傛暟
yuYueListParams: {
filedId: '',
deptId: '',
sendDate: ''
},
- yuYuePostParams:{
+ // 棰勭害璇锋眰鍙傛暟
+ yuYuePostParams: {
takeCoalId: null,
- yuYueId: null,
+ yuYueId: null
},
yuYueData: [],
isRCSQ: false, // 鍏ュ満鐢宠鎺ュ彛鎺у埗
@@ -95,6 +96,11 @@
this.$reqPost('yuYue', { takeCoalId: this.yuYuePostParams.takeCoalId, yuYueId: this.yuYuePostParams.yuYueId }, 'params').then(res => {
if (res.code == 0) {
this.$u.toast('棰勭害鎴愬姛锛�');
+ uni.navigateBack({
+ delta: 1
+ })
+ } else {
+ this.$u.toast(res.data ? res.data : '棰勭害澶辫触');
}
setTimeout(() => {
this.yuYueList();
--
Gitblit v1.9.1