qingyiay
2023-10-08 cbfc1953c7e7333dbcb1e43fff15433ed24fc543
修正打印入门证接口错误 增加装卸员页面详情信息
4个文件已修改
34 ■■■■ 已修改文件
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/driver-page/drvier-my/drvier-my.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/loadUnload-page/loadUnload-detail/loadUnload-detail.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
store/index.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -25,7 +25,7 @@
                        <view class="status-button"
                            style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/statusbutton.png') no-repeat;
                                        background-size: cover;">
                            {{coalStatus[correctStatus]}}
                            {{coalStatus[correctStatus]||''}}
                        </view>
                    </view>
                    <view class="time">
@@ -752,7 +752,15 @@
                    title: '正在打印中,请稍后'
                })
                this.enterLoading = true
                this.$reqGet('printer', { type: 2, tmId: this.coalDetailsData.id, weighingNumber: 1 }).then(
                let form = {
                    deptId: this.getWeightHouseObj.deptId,
                    tmId: this.getWeightHouseObj.tmId,
                    carNo: uni.getStorageSync('carNo'),
                    type: 2,
                    weighingNumber: 1
                }
                this.$reqPost('printer', Object.assign(form, JSON.parse(uni.getStorageSync('WeighHouseForm'))),
                    'json').then(
                    res => {
                        uni.hideLoading()
                        this.enterLoading = false
pages/driver-page/drvier-my/drvier-my.vue
@@ -12,7 +12,6 @@
                    <view class="edit-button"><u-button type="primary"
                            @click="editBtnClick"
                            shape="circle"
                            :disabled="userInfo.isRegister!==2"
                            plain>编辑个人资料</u-button></view>
                </view>
            </view>
pages/loadUnload-page/loadUnload-detail/loadUnload-detail.vue
@@ -43,6 +43,12 @@
                        <view class="file-name info">
                            状态:{{coalStatus[item.status]}}
                        </view>
                        <view class="info createTime">
                            入场时间:{{item.createTime}}
                        </view>
                        <view class="info code">
                            订单编号:{{item.code}}
                        </view>
                    </view>
                </view>
                <view class="confirm-button">
@@ -145,7 +151,7 @@
        .collection-form-item {
            width: 690rpx;
            height: 380rpx;
            height: 440rpx;
            background: #ffffff;
            box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15);
            border-radius: 20rpx;
@@ -190,13 +196,13 @@
            .info-container {
                width: 100%;
                height: vww(100);
                height: vww(150);
                display: flex;
                justify-content: center;
                .info-block {
                    width: 600rpx;
                    height: vww(80);
                    height: vww(120);
                    display: flex;
                    justify-content: center;
                    flex-wrap: wrap;
@@ -219,6 +225,14 @@
                    color: #515151;
                    margin: vww(5);
                }
                .createTime,
                .code {
                    width: 100%;
                    margin-left: vww(9);
                    display: flex;
                    justify-content: flex-start;
                }
            }
store/index.js
@@ -295,7 +295,6 @@
            clearInterval(state.reconnectTimeOut)
            state.socketTask = null
            commit('changereconnectState', false)
            console.log(state.connectNum, state.connectNum.connectNum, '链接数');
            if (state.connectNum < 6 || state.connectNum.connectNum < 6 && state.globalisLogin) {
                uni.showToast({
                    title: '连接失败,正在尝试重新连接',