修改bug

dev3
wuwx 2024-06-13 14:48:45 +08:00
parent 87a31020b3
commit 39849edb6d
3 changed files with 24 additions and 14 deletions

View File

@ -1029,8 +1029,10 @@
<view class="popupTitle"> <view class="popupTitle">
装船要求 装船要求
</view> </view>
<scroll-view scroll-y="true" style="height: 100%;">
<uni-easyinput type="textarea" v-model="askValue" placeholder="请输入内容..." <uni-easyinput type="textarea" v-model="askValue" placeholder="请输入内容..."
:disabled="askDisabled"></uni-easyinput> :disabled="askDisabled"></uni-easyinput>
</scroll-view>
<view class="popupBtn"> <view class="popupBtn">
<view class="btnList" v-if="tabsName == '总指令'"> <view class="btnList" v-if="tabsName == '总指令'">
<button class="button" type="default" @click="zcCancel"> </button> <button class="button" type="default" @click="zcCancel"> </button>
@ -1382,7 +1384,9 @@
} else if (this.tabsName == '总指令') { } else if (this.tabsName == '总指令') {
this.loadSumOrder() this.loadSumOrder()
} }
this.getStatistics()
this.getCheckReaDots() this.getCheckReaDots()
this.getTotalProgress()
}, },
// //
search() { search() {
@ -1734,6 +1738,7 @@
this.loadSumOrder() this.loadSumOrder()
this.getStatistics() this.getStatistics()
this.getCheckReaDots() this.getCheckReaDots()
this.getTotalProgress()
this.checkList = [] this.checkList = []
uni.showToast({ uni.showToast({
title: `总指令下发成功`, title: `总指令下发成功`,
@ -1766,6 +1771,7 @@
this.loadSumOrder() this.loadSumOrder()
this.getStatistics() this.getStatistics()
this.getCheckReaDots() this.getCheckReaDots()
this.getTotalProgress()
this.checkList = [] this.checkList = []
uni.showToast({ uni.showToast({
title: `分指令下发成功`, title: `分指令下发成功`,
@ -1809,6 +1815,7 @@
this.getStatistics() this.getStatistics()
this.checkList = [] this.checkList = []
this.getCheckReaDots() this.getCheckReaDots()
this.getTotalProgress()
uni.showToast({ uni.showToast({
title: `重新发送指令成功`, title: `重新发送指令成功`,
icon: 'success', icon: 'success',
@ -2319,6 +2326,7 @@
// //
jobProgress(item,index,type) { jobProgress(item,index,type) {
this.jobActive = index this.jobActive = index
this.current = 1
if(this.filterType == 'BRD_TYPE') { if(this.filterType == 'BRD_TYPE') {
this.brdId = item.id this.brdId = item.id
this.brdName = item.label this.brdName = item.label
@ -2337,7 +2345,7 @@
this.loadOtherOrder() this.loadOtherOrder()
} }
}, },
// //
clickTab(type) { clickTab(type) {
this.jobActive = null this.jobActive = null
this.brdId = '' this.brdId = ''
@ -3576,14 +3584,14 @@
} }
/deep/.is-textarea { /deep/.is-textarea {
width: 77vw; width: 77vw;
height: 10vh; height: 25vh;
} }
/deep/.uni-easyinput__content-textarea { /deep/.uni-easyinput__content-textarea {
height: 10vh; height: 25vh;
} }
.popupBtn { .popupBtn {
margin-top: 20px; // margin-top: 20px;
padding: 14px 0; padding: 14px 0;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -3611,7 +3619,6 @@
.popupBox2 { .popupBox2 {
width: 80vw; width: 80vw;
height: 17vh;
} }
// //

View File

@ -165,8 +165,10 @@
<view class="popupTitle"> <view class="popupTitle">
备注 备注
</view> </view>
<scroll-view scroll-y="true" style="height: 100%;">
<uni-easyinput type="textarea" v-model="askValue" placeholder="请输入内容..." <uni-easyinput type="textarea" v-model="askValue" placeholder="请输入内容..."
></uni-easyinput> ></uni-easyinput>
</scroll-view>
<view class="popupBtn"> <view class="popupBtn">
<view class="btnList"> <view class="btnList">
<button class="button" type="default" @click="zcCancel"> </button> <button class="button" type="default" @click="zcCancel"> </button>
@ -666,14 +668,14 @@
} }
/deep/.is-textarea { /deep/.is-textarea {
width: 57vw; width: 57vw;
height: 10vh; height: 25vh;
} }
/deep/.uni-easyinput__content-textarea { /deep/.uni-easyinput__content-textarea {
height: 10vh; height: 25vh;
} }
.popupBtn { .popupBtn {
margin-top: 20px; // margin-top: 20px;
padding: 14px 0; padding: 14px 0;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -700,7 +702,6 @@
} }
.popupBox2 { .popupBox2 {
width: 60vw; width: 60vw;
height: 17vh;
} }
} }
} }

View File

@ -998,8 +998,8 @@
// if (item.gbValue != "") { // if (item.gbValue != "") {
let sresDate = api.HMS_daxiao(this.sShiftDate, sTime) let sresDate = api.HMS_daxiao(this.sShiftDate, sTime)
let eresDate = api.HMS_daxiao(this.eShiftDate, eTime) let eresDate = api.HMS_daxiao(this.eShiftDate, eTime)
console.log(sYM,eYM);
if (sYMD != eYMD) { if (sYMD != eYMD) {
console.log(sresDate,eresDate);
if (sresDate <= 0 && eresDate >= 0 && eT - sT <= 28800000) { if (sresDate <= 0 && eresDate >= 0 && eT - sT <= 28800000) {
that.flag = true that.flag = true
item.startTime = item.datetime[0] item.startTime = item.datetime[0]
@ -1389,6 +1389,7 @@
this.shiftInfoDelList.push(v.webId) this.shiftInfoDelList.push(v.webId)
}) })
this.shiftInfoDelList = Array.from(new Set(this.shiftInfoDelList)) this.shiftInfoDelList = Array.from(new Set(this.shiftInfoDelList))
uni.setStorageSync("delSwmIds",this.shiftDelList)
} }
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
@ -1415,6 +1416,7 @@
this.shiftInfoDelList.push(v.webId) this.shiftInfoDelList.push(v.webId)
}) })
this.shiftInfoDelList = Array.from(new Set(this.shiftInfoDelList)) this.shiftInfoDelList = Array.from(new Set(this.shiftInfoDelList))
uni.setStorageSync("delSwmIds",this.shiftDelList)
} }
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',