| | |
| | | <view class="top-banner" |
| | | style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/loadingbanner.png') no-repeat;background-size: cover;"> |
| | | <u-notice-bar :text="originInfoNotice" |
| | | v-if="originInfoVisible" |
| | | v-if="haveInputOrigin" |
| | | fontSize='36'></u-notice-bar> |
| | | <view class="top-information"> |
| | | <view class="cutomer-name" |
| | |
| | | <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"> |
| | |
| | | :disabled="correctStatus>= 3"></u-button> |
| | | </view> |
| | | <view class="bottom-button"> |
| | | <u-button text="放空" |
| | | <!-- <u-button text="放空" |
| | | type="primary" |
| | | plain |
| | | @click="evacuation" |
| | | throttleTime="500" |
| | | shape="circle" |
| | | :disabled="isEvacuation || isapproach"></u-button> |
| | | :disabled="isEvacuation || isapproach"></u-button> --> |
| | | <u-button text="呼叫客服" |
| | | type="primary" |
| | | plain |
| | |
| | | serviecePhone: '' |
| | | }, |
| | | coalStatus: ['领取', '预约', '签到', '入场', '称皮', '称毛', '离场', '入磅房', '出磅房', '入煤仓', '出煤仓', '放空', '作废', '入场申请', |
| | | '进入场院', '异常审核中', '返回加减吨', '超时', '打印中', '打印中' |
| | | '进入场院', '异常审核中', '返回加减吨', '超时', '打印中', '打印中', '填写' |
| | | ], // 状态 |
| | | weighHouseCode: '', |
| | | // 放空弹窗控制变量 |
| | |
| | | coalContactClean() { |
| | | let xx = BigNumber(this.originInfoForm.coalContactHair ? this.originInfoForm.coalContactHair : 0) |
| | | let yy = BigNumber(this.originInfoForm.coalContactSkin ? this.originInfoForm.coalContactSkin : 0) |
| | | return xx.minus(yy).toNumber().toFixed(2) || '' |
| | | return xx.minus(yy).toNumber() > 0 ? xx.minus(yy).toNumber().toFixed(2) : 0 |
| | | }, |
| | | currentTime() { |
| | | let currentDate = new Date(); |
| | |
| | | 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 |
| | | } |
| | | let form1 = uni.getStorageSync('WeighHouseForm') ? uni.getStorageSync('WeighHouseForm') : '{}' |
| | | this.$reqPost('printer', Object.assign(form, JSON.parse(form1)), |
| | | 'json').then( |
| | | res => { |
| | | uni.hideLoading() |
| | | this.enterLoading = false |
| | |
| | | width: 100%; |
| | | margin: 0 auto; |
| | | |
| | | .top-button, |
| | | .bottom-button { |
| | | .top-button { |
| | | width: 100%; |
| | | height: vww(47); |
| | | @include flex; |
| | |
| | | border: 2px solid #3b56eb; |
| | | } |
| | | } |
| | | |
| | | .bottom-button { |
| | | width: 40%; |
| | | height: vww(47); |
| | | padding-left: vww(18); |
| | | @include flex; |
| | | justify-content: flex-start; |
| | | |
| | | .u-button { |
| | | width: 100%; |
| | | height: 60rpx; |
| | | font-size: 28rpx; |
| | | font-weight: 300; |
| | | color: #497bfb; |
| | | border: 2px solid #3b56eb; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |