From e96eb325b42b25ecd83c065c4abd8ce9999cd468 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期一, 18 九月 2023 15:17:21 +0800
Subject: [PATCH] 修改放空逻辑,增加合卡功能
---
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
index e5ea6f9..3444a6c 100644
--- a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
+++ b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -154,6 +154,13 @@
:show="servieceShow"
cancelText="鍙栨秷"></u-action-sheet>
</view>
+ <!-- 纾呮埧蹇欑鎻愮ず寮圭獥 -->
+ <view class="">
+ <u-modal :show="wsgVisiable"
+ title="鎻愮ず"
+ :content="wsgContent"
+ @confirm="wsgContentConfirm"></u-modal>
+ </view>
</view>
</template>
@@ -252,7 +259,7 @@
clearInterval(this.interval);
},
computed: {
- ...mapState(['globalweigh', 'globalinfraredStatus']),
+ ...mapState(['globalweigh', 'globalinfraredStatus', 'wsgVisiable', 'wsgContent']),
name() {
return uni.getStorageSync('name');
},
@@ -278,6 +285,7 @@
}
},
methods: {
+ ...mapMutations(['changewsgVisiable']),
init() {
this.$reqGet('coalDayPage', { id: this.orderPlanId }).then(res => {
if (res.code == 0) {
@@ -548,6 +556,7 @@
this.$reqGet('printer', { type: 2, tmId: this.coalDetailsData.id }).then(res => {
uni.hideLoading()
this.enterLoading = false
+ console.log(res);
if (res.code === 0) {
this.$u.toast('鎵撳嵃鎴愬姛')
} else {
@@ -571,6 +580,9 @@
}
})
},
+ wsgContentConfirm() {
+ this.changewsgVisiable(false)
+ }
}
};
</script>
--
Gitblit v1.9.1