| | |
| | | this.orderPlanId = value.orderPlanId; |
| | | this.yyId = value.yyId; |
| | | this.originInfoVisible = value.orderType === '外购' |
| | | if (value.overTmWaixiao) { |
| | | this.overTmWaixiao = value.overTmWaixiao |
| | | this.getWeightHouseObj.overTmWaixiao = value.overTmWaixiao |
| | | } |
| | | // if (value.overTmWaixiao) { |
| | | // this.overTmWaixiao = value.overTmWaixiao |
| | | // this.getWeightHouseObj.overTmWaixiao = value.overTmWaixiao |
| | | // } |
| | | this.fileList1 = [] |
| | | this.changeglobalIsFirstWeighing(1) |
| | | if (this.globalIsFirstWeighing === 1) { |
| | |
| | | let endTime = this.coalDetailsData.yuYueSection.slice(0, 10) + ' ' + this |
| | | .coalDetailsData |
| | | .yuYueSection.slice(-5); |
| | | if (dayjs(this.currentTime).isAfter(endTime) && this.coalDetailsData.status <= 1) { |
| | | // 最大约束时间 maxRestrainTime |
| | | const maxRestrainTime = dayjs().subtract(this.coalDetailsData.flexibleTime, |
| | | 'minute') |
| | | .format('YYYY-MM-DD HH:mm:ss'); |
| | | console.log(maxRestrainTime, this.correctStatus); |
| | | if (dayjs(maxRestrainTime).isAfter(endTime) && this.correctStatus <= 1) { |
| | | // this.$u.toast('已超出预约时间,可点击入场申请重新入场') |
| | | this.timeout = '1' |
| | | } |