From 40ce9965257472d715d072647796ac91c3932d73 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 18 九月 2023 17:49:00 +0800 Subject: [PATCH] 修改合卡 --- pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 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 509e646..0661bfa 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) { @@ -498,7 +506,7 @@ }&primaryHair=${this.primaryHair}&psrimaryClean=${this.primaryClean}&sceneInOut=${res.data.sceneInOut}&overTmWaixiao=${this.overTmWaixiao}` }); } else { - this.$u.toast('鏈湪纾呮埧锛岃鍓嶅線纾呮埧鍚庡啀璇曪紒锛�'); + this.$u.toast(res.msg ? res.msg : '鏈湪纾呮埧锛岃鍓嶅線纾呮埧鍚庡啀璇曪紒锛�'); } }); }, @@ -572,6 +580,9 @@ } }) }, + wsgContentConfirm() { + this.changewsgVisiable(false) + } } }; </script> -- Gitblit v1.9.1