| | |
| | | height="150" |
| | | :previewFullImage="true" |
| | | :disabled="isModifyoriginInfo" |
| | | :deletable='!deletable'></u-upload> |
| | | :deletable="!deletable"></u-upload> |
| | | </u-form-item> |
| | | </u-form> |
| | | <view class="submit-button"> |
| | |
| | | </view> |
| | | <!-- 磅房忙碌提示弹窗 --> |
| | | <view class=""> |
| | | <u-modal :show="wsgVisiable" |
| | | <u-modal :show="wsgShow" |
| | | title="提示" |
| | | :content="wsgContent" |
| | | @confirm="wsgContentConfirm"></u-modal> |
| | |
| | | import combinedTitle from '@/components/combined-title/combined-title.vue'; |
| | | import BigNumber from "bignumber.js" |
| | | const dayjs = require('dayjs') |
| | | import isBetween from 'dayjs/plugin/isBetween' |
| | | export default { |
| | | components: { |
| | | combinedTitle |
| | |
| | | this.getWeightHouseObj.overTmWaixiao = value.overTmWaixiao |
| | | } |
| | | this.fileList1 = [] |
| | | dayjs.extend(isBetween) |
| | | this.changeglobalIsFirstWeighing(1) |
| | | if (this.globalIsFirstWeighing === 1) { |
| | | console.log('获取详情 onload'); |
| | | this.getTakeCoal(); //获取提煤单详情 |
| | | } |
| | | this.init(); //获取日志 |
| | |
| | | onShow() { |
| | | this.coalDayPage(); //获取日志 定时任务 |
| | | if (this.globalIsFirstWeighing === 2) { |
| | | console.log('获取详情 onShow'); |
| | | this.getTakeCoal(); //获取提煤单详情 |
| | | } |
| | | }, |
| | |
| | | } |
| | | }, |
| | | timeout: '0', |
| | | wsgShow: false |
| | | |
| | | }; |
| | | }, |
| | | watch: { |
| | | '$store.state.wsgVisiable': { |
| | | deep: true, |
| | | handler: function(val) { |
| | | this.wsgShow = val |
| | | } |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapState(['globalweigh', 'globalinfraredStatus', 'wsgVisiable', 'wsgContent', 'globalIsFirstWeighing']), |
| | |
| | | this.primarySkin = this.coalDetailsData.skinTwo; |
| | | this.primaryHair = this.coalDetailsData.hairTwo; |
| | | this.primaryClean = this.coalDetailsData.cleanTwo; |
| | | // 判断当前时间是否超出预约时间 |
| | | let endTime = this.coalDetailsData.yuYueSection.slice(0, 10) + ' ' + this.coalDetailsData |
| | | .yuYueSection.slice(-5); |
| | | if (dayjs(this.currentTime).isAfter(endTime) && this.coalDetailsData.status <= 1) { |
| | | this.$u.toast('已超出预约时间,可点击入场申请重新入场') |
| | | this.timeout = '1' |
| | | } |
| | | // 入门证 和 出门证 是否显示 |
| | | this.ablePrintInduction = this.coalDetailsData.hair || this.coalDetailsData.skin |
| | | this.ablePrintOut = this.coalDetailsData.hair && this.coalDetailsData.skin || this |
| | | .coalDetailsData.status === 6 |
| | | // 原发信息回显以及控制是否可修改 |
| | | |
| | | this.haveInputOrigin = !this.coalDetailsData.skinTwo && this.coalDetailsData.orderType === |
| | | '外购' |
| | | this.deletable = this.isModifyoriginInfo = this.coalDetailsData.status > 3 |
| | |
| | | } |
| | | }).then(() => { |
| | | this.getgetService(); //获取客服 |
| | | }).then(() => { |
| | | // 判断当前时间是否超出预约时间 |
| | | setTimeout(() => { |
| | | let endTime = this.coalDetailsData.yuYueSection.slice(0, 10) + ' ' + this |
| | | .coalDetailsData |
| | | .yuYueSection.slice(-5); |
| | | if (dayjs(this.currentTime).isAfter(endTime) && this.coalDetailsData.status <= 1) { |
| | | this.$u.toast('已超出预约时间,可点击入场申请重新入场') |
| | | this.timeout = '1' |
| | | } |
| | | }, 1000) |
| | | }) |
| | | }, |
| | | // 日志查询 |