| | |
| | | <view class="status-button" |
| | | style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/statusbutton.png') no-repeat; |
| | | background-size: cover;"> |
| | | {{coalStatus[correctStatus]||''}} |
| | | {{coalDetailsData.statusView||''}} |
| | | </view> |
| | | </view> |
| | | <view class="time"> |
| | |
| | | <u-button text="提交" |
| | | type="primary" |
| | | @click.stop="submitOriginInfo" |
| | | :disabled="isModifyoriginInfo"></u-button> |
| | | :disabled="isModifyoriginInfo" |
| | | :loading="submitOriginInfoLoading"></u-button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | serviecePhone: '' |
| | | }, |
| | | coalStatus: ['领取', '预约', '签到', '入场', '称皮', '称毛', '离场', '入磅房', '出磅房', '入煤仓', '出煤仓', '放空', '作废', '入场申请', |
| | | '进入场院', '异常审核中', '返回加减吨', '超时', '打印中', '打印中', '填写' |
| | | '进入场院', '异常审核中', '返回加减吨', '超时', '打印中', '打印中', '填写', '放空确认中', '超最大毛重确认中' |
| | | ], // 状态 |
| | | weighHouseCode: '', |
| | | // 放空弹窗控制变量 |
| | |
| | | timeout: '0', |
| | | wsgShow: false, |
| | | timeLineStatus: null, |
| | | originInfoNotice: '填写原发信息后可上磅计量' |
| | | originInfoNotice: '填写原发信息后可上磅计量', |
| | | submitOriginInfoLoading: false |
| | | }; |
| | | }, |
| | | watch: { |
| | |
| | | evacuationConfirm() { |
| | | this.weighData = { |
| | | ...this.weighData, |
| | | weigh: this.globalweigh |
| | | weigh: this.globalweigh, |
| | | isBackground: 1 |
| | | }; |
| | | let mix = Object.assign(this.weighData, this.getWeightHouseObj); |
| | | this.$reqPost('getOneEvacuation', mix, 'json').then(res => { |
| | |
| | | if (this.originInfoForm.coalContactSkin && this.originInfoForm.coalContactHair && this |
| | | .originInfoForm |
| | | .contactPicture) { |
| | | this.submitOriginInfoLoading = true |
| | | this.$reqPost('appSaveContact', form, 'json').then(res => { |
| | | if (res.code === 0) { |
| | | this.$u.toast('提交成功') |
| | | this.submitOriginInfoLoading = false |
| | | } else { |
| | | this.submitOriginInfoLoading = false |
| | | this.isModifyoriginInfo = true |
| | | this.$u.toast(res.msg ? res.msg : '提交失败') |
| | | |