uat问题修改

dev3
wuwx 2024-05-31 16:53:04 +08:00
parent 2c5678a064
commit e5872f3c05
18 changed files with 382 additions and 238 deletions

View File

@ -2,7 +2,7 @@
"name" : "海通Pad", "name" : "海通Pad",
"appid" : "__UNI__F864E80", "appid" : "__UNI__F864E80",
"description" : "", "description" : "",
"versionName" : "1.0.5", "versionName" : "1.0.7",
"versionCode" : "100", "versionCode" : "100",
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */

View File

@ -64,7 +64,7 @@
contentColor2="#FC4F00" /> contentColor2="#FC4F00" />
<view class="bottomInfo"> <view class="bottomInfo">
<p>已发送<text>{{zTjList.totalSentCount}}</text></p> <p>已发送<text>{{zTjList.totalSentCount}}</text></p>
<p>(暂停<text>{{zTjList.totalPausedSentCount}}</text>)</p> <!-- <p>(暂停<text>{{zTjList.totalPausedSentCount}}</text>)</p> -->
<p>未发<text>{{zTjList.totalNotSentCount}}</text></p> <p>未发<text>{{zTjList.totalNotSentCount}}</text></p>
</view> </view>
<view class="imgBox" v-if="zTjType"> <view class="imgBox" v-if="zTjType">
@ -82,7 +82,7 @@
contentColor2="#FC4F00" backColor="#f2f2f2" /> contentColor2="#FC4F00" backColor="#f2f2f2" />
<view class="bottomInfo"> <view class="bottomInfo">
<p>已发送<text>{{item.totalSentCount}}</text></p> <p>已发送<text>{{item.totalSentCount}}</text></p>
<p>(暂停<text>{{item.totalPausedSentCount}}</text>)</p> <!-- <p>(暂停<text>{{item.totalPausedSentCount}}</text>)</p> -->
<p>未发<text>{{item.totalNotSentCount}}</text></p> <p>未发<text>{{item.totalNotSentCount}}</text></p>
</view> </view>
<view class="imgBox" v-if="zTjActive == index"> <view class="imgBox" v-if="zTjActive == index">
@ -324,7 +324,7 @@
contentColor="#0067CF" contentColor2="#FC4F00" /> contentColor="#0067CF" contentColor2="#FC4F00" />
<view class="bottomInfo"> <view class="bottomInfo">
<p>已发送<text>{{zTjList.branchSentCount}}</text></p> <p>已发送<text>{{zTjList.branchSentCount}}</text></p>
<p>(暂停<text>{{zTjList.branchPausedSentCount}}</text>)</p> <!-- <p>(暂停<text>{{zTjList.branchPausedSentCount}}</text>)</p> -->
<p>未发<text>{{zTjList.branchNotSentCount}}</text></p> <p>未发<text>{{zTjList.branchNotSentCount}}</text></p>
</view> </view>
<view class="imgBox" v-if="zTjType"> <view class="imgBox" v-if="zTjType">
@ -342,7 +342,7 @@
contentColor2="#FC4F00" backColor="#f2f2f2" /> contentColor2="#FC4F00" backColor="#f2f2f2" />
<view class="bottomInfo"> <view class="bottomInfo">
<p>已发送<text>{{item.branchSentCount}}</text></p> <p>已发送<text>{{item.branchSentCount}}</text></p>
<p>(暂停<text>{{item.branchPausedSentCount}}</text>)</p> <!-- <p>(暂停<text>{{item.branchPausedSentCount}}</text>)</p> -->
<p>未发<text>{{item.branchNotSentCount}}</text></p> <p>未发<text>{{item.branchNotSentCount}}</text></p>
</view> </view>
<view class="imgBox" v-if="zTjActive == index"> <view class="imgBox" v-if="zTjActive == index">
@ -739,18 +739,19 @@
<view class="testLine" v-for="item2 in item.shipSpace" :key="item2" <view class="testLine" v-for="item2 in item.shipSpace" :key="item2"
:style="{height:item.maxHeight+'px'}"> :style="{height:item.maxHeight+'px'}">
</view> </view>
<view class="myArrList"> <template v-if="goodsInfo.length && goodsInfo.length > 0">
<view class="arrItem" @click="showItemDialog(item3)" <view class="myArrList">
v-for="(item3, index3) in goodsInfo[index].stowageList" <view class="arrItem" @click="showItemDialog(item3)"
:key="index3" :style="getDynamicStyle(item3, item.shipSpace)"> v-for="(item3, index3) in goodsInfo[index].stowageList"
<zb-tooltip placement="bottom-start" color="white" :key="index3" :style="getDynamicStyle(item3, item.shipSpace)">
:visible.sync="item3.isShow"> <zb-tooltip placement="bottom-start" color="white"
<text style="margin-left: 5px;">{{item3.stowageNo}}</text> :visible.sync="item3.isShow">
<text style="margin-left: 5px;">{{item3.potName}}</text> <text style="margin-left: 5px;">{{item3.stowageNo}}</text>
<text <text style="margin-left: 5px;">{{item3.potName}}</text>
v-if="item3.transitPortName != null && item3.transitPortName != ''">({{item3.transitPortName}})</text> <text
<text style="margin-left: 5px;">{{item3.amount}}</text> v-if="item3.transitPortName != null && item3.transitPortName != ''">({{item3.transitPortName}})</text>
<view slot="content"> <text style="margin-left: 5px;">{{item3.amount}}</text>
<view slot="content">
<view class="tipBox"> <view class="tipBox">
<p style="color: #000;"> <p style="color: #000;">
<text <text
@ -763,10 +764,11 @@
{{item3.amount}}</text> {{item3.amount}}</text>
</p> </p>
</view> </view>
</view> </view>
</zb-tooltip> </zb-tooltip>
</view> </view>
</view> </view>
</template>
<!-- <canvas class="mycanvas" :canvas-id="'mycanvas' + index" @:data-id="index" <!-- <canvas class="mycanvas" :canvas-id="'mycanvas' + index" @:data-id="index"
@click="handleClick" :style="{height:item.maxHeight+'px'}"></canvas> --> @click="handleClick" :style="{height:item.maxHeight+'px'}"></canvas> -->
</view> </view>
@ -798,12 +800,13 @@
{{ item.shipSpace - index + 1 }} {{ item.shipSpace - index + 1 }}
</view> </view>
</view> </view>
<template v-if="goodsInfo.length && goodsInfo.length > 0">
<view class="tableHead" @click="clickShow(item)"> <view class="tableHead" @click="clickShow(item)">
<text>{{item.shipDecks}}层明细({{goodsInfo[index].stowageList.length}})</text> <text>{{item.shipDecks}}层明细({{goodsInfo[index].stowageList.length}})</text>
<p v-if="item.isShow"></p> <p v-if="item.isShow"></p>
<p v-if="!item.isShow"></p> <p v-if="!item.isShow"></p>
</view> </view>
</template>
<view class="tableBox"> <view class="tableBox">
<uni-table stripe emptyText="暂无更多数据" v-if="item.isShow"> <uni-table stripe emptyText="暂无更多数据" v-if="item.isShow">
<!-- 表头行 --> <!-- 表头行 -->
@ -1294,7 +1297,7 @@
}) })
} }
}) })
this.getQueryCheckRecord(0) // // this.getQueryCheckRecord(0) //
// if (this.tabsValue == 0) { // if (this.tabsValue == 0) {
// this.loadSumOrder() // // this.loadSumOrder() //
// this.askDisabled = false // this.askDisabled = false
@ -1308,16 +1311,20 @@
this.getPotList() this.getPotList()
this.getImgInfo() this.getImgInfo()
this.getGoodsInfo() this.getGoodsInfo()
this.getJobProgress() // // this.getJobProgress() //
this.getCheckReaDots() // // this.getCheckReaDots() //
this.getTotalProgress() // // this.getTotalProgress() //
}, },
mounted () { mounted () {
this.getQueryCheckRecord(0) //
if (this.tabsValue == 0) { if (this.tabsValue == 0) {
this.loadSumOrder() // this.loadSumOrder() //
this.askDisabled = false this.askDisabled = false
} }
this.getStatistics() // this.getStatistics() //
this.getJobProgress() //
this.getCheckReaDots() //
this.getTotalProgress() //
}, },
components: { components: {
HeadView, HeadView,
@ -1502,7 +1509,7 @@
let fsum = v.branchSentCount + v.branchNotSentCount let fsum = v.branchSentCount + v.branchNotSentCount
this.$set(v, "fsum", fsum) this.$set(v, "fsum", fsum)
}) })
console.log(this.zTjList) // console.log(this.zTjList)
} }
}) })
}, },
@ -1562,7 +1569,7 @@
v.flag = false v.flag = false
// this.getBottomInfo(v.lwpId, index) // this.getBottomInfo(v.lwpId, index)
}) })
console.log(this.itemList) // console.log(this.itemList)
} }
}) })
}, },
@ -1588,7 +1595,7 @@
}) })
}) })
this.$set(this.itemList[index], 'infoList', arr) this.$set(this.itemList[index], 'infoList', arr)
console.log('res.data.data',res.data.data); // console.log('res.data.data',res.data.data);
} }
}) })
}, },
@ -1684,7 +1691,7 @@
}, },
// //
zlConfirm() { zlConfirm() {
console.log(this.directorTrue) // console.log(this.directorTrue)
if (this.directorTrue.length > 0) { if (this.directorTrue.length > 0) {
let lwpIdList = [] let lwpIdList = []
if (this.tabsValue == 0) { if (this.tabsValue == 0) {
@ -1710,7 +1717,7 @@
method: 'POST', // method: 'POST', //
success: (res) => { success: (res) => {
this.$refs.popup.close() this.$refs.popup.close()
console.log('res',res); // console.log('res',res);
if (res.data.status == 200 || res.data.data) { if (res.data.status == 200 || res.data.data) {
this.itemList = [] this.itemList = []
this.current = 1 this.current = 1
@ -1784,7 +1791,7 @@
}, },
method: 'PUT', // method: 'PUT', //
success: (res) => { success: (res) => {
console.log(res) // console.log(res)
if (res.data.status == 200) { if (res.data.status == 200) {
this.itemList = [] this.itemList = []
this.current = 1 this.current = 1
@ -1888,7 +1895,7 @@
}, },
method: 'PUT', // method: 'PUT', //
success: (res) => { success: (res) => {
console.log(res) // console.log(res)
if (res.data.status == 200) { if (res.data.status == 200) {
this.initAsk() this.initAsk()
uni.showToast({ uni.showToast({
@ -2111,7 +2118,7 @@
success: (res) => { success: (res) => {
if (res.data.status == "200") { if (res.data.status == "200") {
this.goodsInfo = res.data.data this.goodsInfo = res.data.data
console.log(this.goodsInfo) // console.log(this.goodsInfo)
if (this.imgInfo.whetherNormal == "0") { if (this.imgInfo.whetherNormal == "0") {
this.goodsInfo.reverse() this.goodsInfo.reverse()
} }
@ -2169,7 +2176,7 @@
// ctx.draw(); // ctx.draw();
// }, // },
showItemDialog(item) { showItemDialog(item) {
console.log(item); // console.log(item);
}, },
getDynamicStyle(item, sum) { getDynamicStyle(item, sum) {
// \\ // \\
@ -2232,7 +2239,7 @@
method: 'GET', // method: 'GET', //
success: (res) => { success: (res) => {
if (res.statusCode == 200) { if (res.statusCode == 200) {
console.log(res) // console.log(res)
// this.qyList = res.data.data.records // this.qyList = res.data.data.records
// this.qyList.forEach(v => { // this.qyList.forEach(v => {
// if (v.remainSeatAmout == null) { // if (v.remainSeatAmout == null) {
@ -2261,7 +2268,7 @@
// }) // })
this.qyList = res.data.data this.qyList = res.data.data
console.log(this.qyList) // console.log(this.qyList)
} }
} }
}) })
@ -2444,7 +2451,7 @@
}, },
// //
openPOP(item) { openPOP(item) {
console.log(item); // console.log(item);
this.bzzPOPList = [] this.bzzPOPList = []
this.bzzPOPList.push(item) this.bzzPOPList.push(item)
this.$refs.bzzPOP.open() this.$refs.bzzPOP.open()

View File

@ -65,7 +65,8 @@
<image src="../../static/images/sys.png" mode="" @click="getInfo"></image> <image src="../../static/images/sys.png" mode="" @click="getInfo"></image>
</view> </view>
<view class="li textRight"> <view class="li textRight">
<p class="liTitle">船名/航次:<text class="required">*</text></p> <!-- <p class="liTitle">船名/航次:<text class="required">*</text></p> -->
<p class="liTitle">船名/航次:</p>
<superwei-combox class="select" :candidates="shipList" :isJSON="true" keyName="vvyShip" <superwei-combox class="select" :candidates="shipList" :isJSON="true" keyName="vvyShip"
placeholder="请选择船名/航次" v-model="vvyShip" @select="shipChange"></superwei-combox> placeholder="请选择船名/航次" v-model="vvyShip" @select="shipChange"></superwei-combox>
</view> </view>
@ -182,7 +183,10 @@
<template v-if="active == 3"> <template v-if="active == 3">
<view class="blockBox signBox"> <view class="blockBox signBox">
<view class="flexLi"> <view class="flexLi">
<p class="title">质损负责人:</p> <p class="title">质损责任方:</p>
<uni-data-select v-model="qdResponsibleParty" :localdata="qdResponsiblePartyList" @change="qdChange"
placeholder="请选择质损责任方"></uni-data-select>
<p class="title">责任人:</p>
<uni-easyinput class="inputBox" v-model="director" placeholder="请输入" @focus="inputFocus" <uni-easyinput class="inputBox" v-model="director" placeholder="请输入" @focus="inputFocus"
@blur="inputBlur"></uni-easyinput> @blur="inputBlur"></uni-easyinput>
</view> </view>
@ -359,7 +363,10 @@
lotusLoadingData: { lotusLoadingData: {
isShow: false //truefalse isShow: false //truefalse
} },
//
qdResponsiblePartyList:[],
qdResponsibleParty:'1'
} }
}, },
components: { components: {
@ -409,7 +416,7 @@
this.getCheck() this.getCheck()
this.getCheck2() this.getCheck2()
this.getCheck3() this.getCheck3()
let that = this this.getCheck4()
if (this.type == 'edit') { if (this.type == 'edit') {
this.getRowInfo() this.getRowInfo()
} }
@ -548,6 +555,7 @@
}) })
this.other3 = this.infoData.dpsOther // this.other3 = this.infoData.dpsOther //
this.director = this.infoData.qdLiablePerson // this.director = this.infoData.qdLiablePerson //
this.qdResponsibleParty = this.infoData.qdResponsibleParty //
this.ygqId = this.infoData.ygqId // id this.ygqId = this.infoData.ygqId // id
this.vinDisabled = true // this.vinDisabled = true //
} }
@ -1093,6 +1101,9 @@
} }
}) })
}, },
qdChange(e) {
this.qdResponsibleParty = e
},
// //
dateChange(e) { dateChange(e) {
this.zsDate = e this.zsDate = e
@ -1218,6 +1229,27 @@
} }
}) })
}, },
// ()
getCheck4 () {
uni.request({
url: this.$local + '/api/miniapp/typeRef/domain/QD_RESPONSIBLE_PARTY',
header: {
'Content-Type': 'application/json', //
'Authorization': `Bearer ${this.loginObj.access_token}`
},
method: 'GET', //
success: (res) => {
if (res.data.status == 200) {
res.data.data.forEach(v => {
this.qdResponsiblePartyList.push({
value: v.ptrCode,
text: v.ptrDesc
})
})
}
}
})
},
// //
select(e) { select(e) {
this.lotusLoadingData.isShow = true this.lotusLoadingData.isShow = true
@ -1375,14 +1407,14 @@
}) })
return return
} }
if(!this.vvyShip) { // if(!this.vvyShip) {
uni.showModal({ // uni.showModal({
title: '提示', // title: '',
showCancel: false, // showCancel: false,
content: '请输入船名/航次!' // content: '/'
}) // })
return // return
} // }
if(!this.carId) { if(!this.carId) {
uni.showModal({ uni.showModal({
title: '提示', title: '提示',
@ -1548,6 +1580,7 @@
"yardName": this.yardName, // "yardName": this.yardName, //
"ygqId": this.ygqId, // id "ygqId": this.ygqId, // id
"vinCode": this.carValue, // "vinCode": this.carValue, //
"qdResponsibleParty":this.qdResponsibleParty,//
} }
console.log(editReqDTO) console.log(editReqDTO)
uni.request({ uni.request({
@ -1732,7 +1765,9 @@
margin-bottom: 16px; margin-bottom: 16px;
padding-bottom: 12px; padding-bottom: 12px;
border-bottom: 1px solid #EEEEEE; border-bottom: 1px solid #EEEEEE;
/deep/ .uni-select {
width: 340px;
}
p { p {
line-height: 36px; line-height: 36px;
margin-right: 5px; margin-right: 5px;

View File

@ -84,7 +84,7 @@
<p>Yard staff:</p> <p>Yard staff:</p>
</view> </view>
<view class="signInfo" v-if="shipInfo.yardSignUrl == null" @click="toSign('0')"> <view class="signInfo" v-if="shipInfo.yardSignUrl == null" @click="toSign('0')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else>
<image :src="yardSignUrl" mode=""></image> <image :src="yardSignUrl" mode=""></image>
@ -97,7 +97,7 @@
<p>tally clerk:</p> <p>tally clerk:</p>
</view> </view>
<view class="signInfo" v-if="shipInfo.tallySignUrl == null" @click="toSign('1')"> <view class="signInfo" v-if="shipInfo.tallySignUrl == null" @click="toSign('1')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else>
<image :src="tallySignUrl" mode=""></image> <image :src="tallySignUrl" mode=""></image>
@ -109,7 +109,7 @@
<p>the ship:</p> <p>the ship:</p>
</view> </view>
<view class="signInfo" v-if="shipInfo.shipSignUrl == null" @click="toSign('2')"> <view class="signInfo" v-if="shipInfo.shipSignUrl == null" @click="toSign('2')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else>
<image :src="shipSignUrl" mode=""></image> <image :src="shipSignUrl" mode=""></image>

View File

@ -91,7 +91,7 @@
<p>Foreman:</p> <p>Foreman:</p>
</view> </view>
<view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('0')"> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.url"></image> <image :src="zdySign.url"></image>
@ -104,7 +104,7 @@
<p>Capt/Chief Mate:</p> <p>Capt/Chief Mate:</p>
</view> </view>
<view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('1')"> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.url"></image> <image :src="czSign.url"></image>

View File

@ -579,6 +579,15 @@
}) })
}) })
}) })
//
this.downloadData.vvyIdPlanNumber.forEach(v => {
this.optionData.push({
dictionariesName: "vvyIdPlanNumber",
ptrCode: '',
ptrDesc: v.planAmount, //
ptrEnDesc:v.planParts //
})
})
// //
this.xlData(item.vtpId) this.xlData(item.vtpId)
@ -1248,11 +1257,12 @@
.itemList { .itemList {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; // justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
padding: 16px; padding: 16px;
margin-top: 40px; margin-top: 40px;
padding-bottom: 50px; padding-bottom: 50px;
padding-right: 0px;
/deep/.o-empty { /deep/.o-empty {
width: 100%; width: 100%;
@ -1266,6 +1276,7 @@
border-radius: 8px; border-radius: 8px;
padding: 16px; padding: 16px;
position: relative; position: relative;
margin-right: 8px;
.title { .title {
display: flex; display: flex;

View File

@ -72,7 +72,7 @@
<p>Signature of Foreman:</p> <p>Signature of Foreman:</p>
</view> </view>
<view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('0')"> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.url"></image> <image :src="zdySign.url"></image>
@ -85,7 +85,7 @@
<p>Capt/Chief Mate:</p> <p>Capt/Chief Mate:</p>
</view> </view>
<view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('1')"> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.url"></image> <image :src="czSign.url"></image>

View File

@ -31,30 +31,57 @@
</view> </view>
<view class="ul"> <view class="ul">
<view class="li"> <view class="li">
<text>Name of ship:</text><text>{{ shipInfo.vslEnname }}</text> <text>Name of ship:</text>
<view class="lineBox">
<text>{{ shipInfo.vslEnname }}</text>
<view class="line"></view>
</view>
</view> </view>
<view class="li"> <view class="li">
<text>Voy No:</text><text>{{ vvyName }}</text> <text>Voy No:</text>
<view class="lineBox">
<text>{{ vvyName }}</text>
<view class="line"></view>
</view>
</view> </view>
<view class="li"> <view class="li">
<text>Weather:</text><text>{{ tqInfo }}</text> <text>Weather:</text>
<view class="lineBox">
<text>{{ tqInfo }}</text>
<view class="line"></view>
</view>
</view> </view>
<view class="li"> <view class="li">
<text>Date:</text><text>{{ dateId }}</text> <text>Date:</text>
<view class="lineBox">
<text>{{ dateId }}</text>
<view class="line"></view>
</view>
</view> </view>
<view class="li"> <view class="li">
<text>Gangs:</text><text>{{ zyzsInfo }}</text> <text>Gangs:</text>
<view class="lineBox">
<text>{{ zyzsInfo }}</text>
<view class="line"></view>
</view>
</view> </view>
<view class="li"> <view class="li">
<text>Foreman:</text><text>{{ dcrsInfo }}</text> <text>Foreman:</text>
<view class="lineBox">
<text>{{ dcrsInfo }}</text>
<view class="line"></view>
</view>
</view> </view>
<!-- <view class="li"> <!-- <view class="li">
<p>Berthed at Haitong:</p><text>{{bwInfo}}</text> <p>Berthed at Haitong:</p><text>{{bwInfo}}</text>
</view> --> </view> -->
<view class="li"> <view class="li">
<text>Foreman Working time:</text> <text>Foreman Working time:</text>
<text v-if="RYSJ.length > 0">{{ RYSJ[0].minStartTime | <view class="lineBox">
textFilter }}-{{ RYSJ[0].maxEndTime | textFilter }}</text> <text v-if="peopleList.length > 0">{{ peopleList[0].jobStartTime |
textFilter }}-{{ peopleList[0].jobEndTime | textFilter }}</text>
<view class="line"></view>
</view>
</view> </view>
<view class="li"> <view class="li">
<text>Berthed at {{ portInfo }}:</text><text> <text>Berthed at {{ portInfo }}:</text><text>
@ -663,7 +690,7 @@
<p>Foreman:</p> <p>Foreman:</p>
</view> </view>
<view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('0')"> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.url"></image> <image :src="zdySign.url"></image>
@ -677,7 +704,7 @@
<p>Capt/Chief Mate:</p> <p>Capt/Chief Mate:</p>
</view> </view>
<view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('1')"> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.url"></image> <image :src="czSign.url"></image>
@ -719,7 +746,7 @@ export default {
endTime: "", endTime: "",
// //
peopleList: [], peopleList: [],
peopleArr: [], // peopleArr: [],
tqInfo: "", tqInfo: "",
bwArr: [], bwArr: [],
bwInfo: "", bwInfo: "",
@ -755,7 +782,7 @@ export default {
delId: "", delId: "",
PTGR: [], PTGR: [],
JSGR: [], JSGR: [],
RYSJ: [], // RYSJ: [],
carList:[], carList:[],
weatherList:[], weatherList:[],
portInfo:'', portInfo:'',
@ -827,24 +854,27 @@ export default {
that.shiftInfo3.push(v) that.shiftInfo3.push(v)
} }
}) })
console.log('that.peopleList',that.peopleList);
that.peopleList.forEach(v => { that.peopleList.forEach(v => {
let endT = v.jobEndTime.slice(0, 10) // let endT = v.jobEndTime.slice(0, 10)
if (endT == that.dateId) { // if (endT == that.dateId) {
that.peopleArr.push(v) // that.peopleArr.push(v)
} // }
})
// that.tqInfo = that.peopleArr[0].weatherType
that.weatherList.forEach(item => {
if(that.peopleArr[0].weatherType == item.ptrDesc) {
that.tqInfo = item.ptrEnDesc
}
})
that.peopleArr.forEach(v => {
that.zyzsInfo += Number(v.workSuite) that.zyzsInfo += Number(v.workSuite)
that.dcrsInfo += Number(v.shipPerson) that.dcrsInfo += Number(v.shipPerson)
that.bwArr.push(v.bthIdName) that.bwArr.push(v.bthIdName)
}) })
// that.tqInfo = that.peopleArr[0].weatherType
that.weatherList.forEach(item => {
if(that.peopleList[0]?.weatherType == item.ptrDesc) {
that.tqInfo = item.ptrEnDesc
}
})
// that.peopleArr.forEach(v => {
// that.zyzsInfo += Number(v.workSuite)
// that.dcrsInfo += Number(v.shipPerson)
// that.bwArr.push(v.bthIdName)
// })
that.bwInfo = that.bwArr.join(",") that.bwInfo = that.bwArr.join(",")
}, 300) }, 300)
}, },
@ -913,6 +943,7 @@ export default {
ORDER BY start_time ASC;` ORDER BY start_time ASC;`
sqlite.executeSqlCeshi(sql).then((value) => { sqlite.executeSqlCeshi(sql).then((value) => {
this.timeArr = value this.timeArr = value
console.log('this.timeArr',this.timeArr);
value.forEach((v, index) => { value.forEach((v, index) => {
// console.log('v', v); // console.log('v', v);
// this.startTime = v.work_shift.split(",")[0] // this.startTime = v.work_shift.split(",")[0]
@ -934,21 +965,25 @@ export default {
let sql4 = `SELECT MIN(startTmPt) AS minStartTimePt,MAX(endTmPt) AS maxEndTimePt,SUM(genNum) AS totalGenNum,SUM(weightPt) AS totalWeightPt,SUM(volumePt) AS totalvolumePt,GROUP_CONCAT(waitRemark, ', ') AS allWaitRemark,GROUP_CONCAT(auxRemark, ', ') AS allAuxRemark let sql4 = `SELECT MIN(startTmPt) AS minStartTimePt,MAX(endTmPt) AS maxEndTimePt,SUM(genNum) AS totalGenNum,SUM(weightPt) AS totalWeightPt,SUM(volumePt) AS totalvolumePt,GROUP_CONCAT(waitRemark, ', ') AS allWaitRemark,GROUP_CONCAT(auxRemark, ', ') AS allAuxRemark
FROM infoRespList WHERE vtpId = '${this.vtpId}' AND startTmPt>='${this.startTime}' AND endTmPt<='${this.endTime}'` FROM infoRespList WHERE vtpId = '${this.vtpId}' AND startTmPt>='${this.startTime}' AND endTmPt<='${this.endTime}'`
this.executeSql4(sql4) this.executeSql4(sql4)
let sql5 = `SELECT * FROM messageRespList WHERE messageRespList.jobStartTime>='${this.startTime}' and // let sql5 = `SELECT * FROM messageRespList WHERE messageRespList.jobStartTime>='${this.startTime}' and
messageRespList.jobEndTime<'${this.endTime}' and vtpId = '${this.vtpId}'` // messageRespList.jobEndTime<'${this.endTime}' and vtpId = '${this.vtpId}'`
this.executeSql6(sql5) // this.executeSql6(sql5)
// //
let sql6 = `SELECT MIN(startTm) AS minStartTime,MAX(endTm) AS maxEndTime,SUM(tecNum) AS totalTecNum,SUM(weight) AS totalWeight,SUM(volume) AS totalvolume,GROUP_CONCAT(waitRemark, ', ') AS allWaitRemark,GROUP_CONCAT(auxRemark, ', ') AS allAuxRemark let sql6 = `SELECT MIN(startTm) AS minStartTime,MAX(endTm) AS maxEndTime,SUM(tecNum) AS totalTecNum,SUM(weight) AS totalWeight,SUM(volume) AS totalvolume,GROUP_CONCAT(waitRemark, ', ') AS allWaitRemark,GROUP_CONCAT(auxRemark, ', ') AS allAuxRemark
FROM infoRespList WHERE vtpId = '${this.vtpId}' AND startTm>='${this.startTime}'AND endTm<='${this.endTime}'` FROM infoRespList WHERE vtpId = '${this.vtpId}' AND startTm>='${this.startTime}'AND endTm<='${this.endTime}'`
this.executeSql7(sql6) this.executeSql7(sql6)
// //
let sql7 = `SELECT MIN(jobStartTime) AS minStartTime,MAX(jobEndTime) AS maxEndTime // let sql7 = `SELECT MIN(jobStartTime) AS minStartTime,MAX(jobEndTime) AS maxEndTime
FROM messageRespList // FROM messageRespList
WHERE vtpId = '${this.vtpId}' // WHERE vtpId = '${this.vtpId}'
AND jobStartTime>='${this.startTime}' // AND jobStartTime>='${this.startTime}'
AND jobEndTime<='${this.endTime}'` // AND jobEndTime<='${this.endTime}'`
this.executeSql8(sql7) // this.executeSql8(sql7)
}) })
//
let sql5 = `SELECT * FROM messageRespList WHERE vtpId = '${this.vtpId}'`
this.executeSql6(sql5)
let that = this let that = this
setTimeout(function () { setTimeout(function () {
if (type != 0) { if (type != 0) {
@ -1059,17 +1094,17 @@ export default {
}); });
}, },
// //
executeSql8(sql) { // executeSql8(sql) {
sqlite.executeSqlCeshi(sql).then((value) => { // sqlite.executeSqlCeshi(sql).then((value) => {
// resolve // // resolve
if (value.length > 0) { // if (value.length > 0) {
this.RYSJ.push(...value) // this.RYSJ.push(...value)
} // }
}).catch((error) => { // }).catch((error) => {
// reject // // reject
console.error(error); // console.error(error);
}); // });
}, // },
// //
executeSql6(sql) { executeSql6(sql) {
sqlite.executeSqlCeshi(sql).then((value) => { sqlite.executeSqlCeshi(sql).then((value) => {
@ -1157,11 +1192,11 @@ export default {
this.fcArr2 = [] this.fcArr2 = []
this.fcArr3 = [] this.fcArr3 = []
this.qtArr = [] this.qtArr = []
this.peopleArr = [] // this.peopleArr = []
this.tqInfo = "" // this.tqInfo = ""
this.zyzsInfo = 0 // this.zyzsInfo = 0
this.dcrsInfo = 0 // this.dcrsInfo = 0
this.bwArr = [] // this.bwArr = []
this.shiftInfo1 = [] this.shiftInfo1 = []
this.shiftInfo2 = [] this.shiftInfo2 = []
this.shiftInfo3 = [] this.shiftInfo3 = []
@ -1221,23 +1256,23 @@ export default {
if (this.qtArr.length == 0) { if (this.qtArr.length == 0) {
this.qtArr.push({}) this.qtArr.push({})
} }
this.peopleList.forEach(v => { // this.peopleList.forEach(v => {
let endT = v.jobEndTime.slice(0, 10) // let endT = v.jobEndTime.slice(0, 10)
if (endT == this.dateId) { // if (endT == this.dateId) {
this.peopleArr.push(v) // this.peopleArr.push(v)
} // }
}) // })
// this.tqInfo = this.peopleArr[0].weatherType // // this.tqInfo = this.peopleArr[0].weatherType
this.weatherList.forEach(item => { // this.weatherList.forEach(item => {
if(this.peopleArr[0].weatherType == item.ptrDesc) { // if(this.peopleArr[0].weatherType == item.ptrDesc) {
this.tqInfo = item.ptrEnDesc // this.tqInfo = item.ptrEnDesc
} // }
}) // })
this.peopleArr.forEach(v => { // this.peopleArr.forEach(v => {
this.zyzsInfo += Number(v.workSuite) // this.zyzsInfo += Number(v.workSuite)
this.dcrsInfo += Number(v.shipPerson) // this.dcrsInfo += Number(v.shipPerson)
this.bwArr.push(v.bthIdName) // this.bwArr.push(v.bthIdName)
}) // })
this.bwInfo = this.bwArr.join(",") this.bwInfo = this.bwArr.join(",")
}, },
// //
@ -1399,6 +1434,15 @@ export default {
text:first-child { text:first-child {
text-align: right; text-align: right;
} }
.lineBox {
width: 150px;
text-align: center;
.line {
height: 1px;
width: 150px;
background: black;
}
}
} }
.li:last-child { .li:last-child {

View File

@ -6,7 +6,7 @@
<custom-tab-pane label="人员信息" name="c1_1"> <custom-tab-pane label="人员信息" name="c1_1">
<view></view> <view></view>
<view class="signBox"> <view class="signBox">
<view class="addBtn" @click="add('add')"></view> <view class="addBtn" v-if="peopleInfo.length == 0" @click="add('add')"></view>
<p class="sign" @click="sign"></p> <p class="sign" @click="sign"></p>
</view> </view>
<view class="ul"> <view class="ul">
@ -56,35 +56,39 @@
</view> </view>
<view class="ul shiftUl"> <view class="ul shiftUl">
<template v-if="shiftInfo.length > 0"> <template v-if="shiftInfo.length > 0">
<view class="li" v-for="(item,index) in shiftInfo[0]" :key="index" <view class="li" v-for="(item,index) in shiftInfo" :key="index"
@click="lookShift(index)"> @click="lookShift(index)">
<view v-for="(item1,index1) in item" :key="index1">
<template v-if="index1 == 0">
<view class="title"> <view class="title">
<image src="../../static/images/shipWork/hc.png" mode="widthFix"></image> <image src="../../static/images/shipWork/hc.png" mode="widthFix"></image>
<text>航次{{item.vvyName}}</text> <text>航次{{item[index1].vvyName}}</text>
</view> </view>
<view class="shift" v-for="(item2,index2) in item.shiftArr" :key="index2"> <view class="shift" v-for="(item2,index2) in item1.shiftArr" :key="index2">
<text>{{item2.pwcTypeName}}</text> <text>{{item2.pwcTypeName}}</text>
<text class="text">开始时间</text><text class="time">{{item2.workStartTime}}</text> <text class="text">开始时间</text><text class="time">{{item2.workStartTime}}</text>
<text class="text">结束时间</text><text class="time">{{item2.workEndTime}}</text> <text class="text">结束时间</text><text class="time">{{item2.workEndTime}}</text>
</view> </view>
<view class="status didNot" v-if="item.status == 0 || item.status == 'null'"> <view class="status didNot" v-if="item1.status == 0 || item1.status == 'null'">
<p>待提交</p> <p>待提交</p>
</view> </view>
<view class="status didNot" v-if="item.status == 1"> <view class="status didNot" v-if="item1.status == 1">
<p>待审核</p> <p>待审核</p>
</view> </view>
<view class="status didNot" v-if="item.status == 2"> <view class="status didNot" v-if="item1.status == 2">
<p>审批中</p> <p>审批中</p>
</view> </view>
<view class="status success" v-if="item.status == 3"> <view class="status success" v-if="item1.status == 3">
<p>审核通过</p> <p>审核通过</p>
</view> </view>
<view class="status fail" v-if="item.status == 4"> <view class="status fail" v-if="item1.status == 4">
<p>审核驳回</p> <p>审核驳回</p>
</view> </view>
<view class="status success" v-if="item.status == 5"> <view class="status success" v-if="item1.status == 5">
<p>审核通过</p> <p>审核通过</p>
</view> </view>
</template>
</view>
</view> </view>
</template> </template>
<o-empty v-else height="70vh" bg="#f5f6fa" /> <o-empty v-else height="70vh" bg="#f5f6fa" />
@ -145,7 +149,6 @@
.aId] = [item]; .aId] = [item];
return res; return res;
}, {})); }, {}));
console.log(this.shiftInfo)
this.shiftInfo.forEach(v => { this.shiftInfo.forEach(v => {
v.forEach(i => { v.forEach(i => {
this.$set(i, "shiftArr", []) this.$set(i, "shiftArr", [])

View File

@ -211,7 +211,7 @@
<p>Signature of Foreman:</p> <p>Signature of Foreman:</p>
</view> </view>
<view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('0')"> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.url"></image> <image :src="zdySign.url"></image>
@ -224,7 +224,7 @@
<p>Captain/Chief officer:</p> <p>Captain/Chief officer:</p>
</view> </view>
<view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('1')"> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.url"></image> <image :src="czSign.url"></image>

View File

@ -188,6 +188,14 @@
if (v.dictionariesName == 'handTypeList') { if (v.dictionariesName == 'handTypeList') {
zxOption.push(v) zxOption.push(v)
} }
if (v.dictionariesName == 'vvyIdPlanNumber') {
if(this.obj.state == 'add') {
this.vehiclesNumber0 = v.ptrDesc
this.vehiclesNumber1 = v.ptrDesc
this.spareNumber0 = v.ptrEnDesc
this.spareNumber1 = v.ptrEnDesc
}
}
}) })
zxOption.forEach((v, index) => { zxOption.forEach((v, index) => {
this.zxList.push({ this.zxList.push({

View File

@ -169,7 +169,7 @@
<p>Captain/Chief Officer:</p> <p>Captain/Chief Officer:</p>
</view> </view>
<view class="signInfo" v-if="cfSign.url == ''" @click="togoSign('2')"> <view class="signInfo" v-if="cfSign.url == ''" @click="togoSign('2')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('2')"> <view class="signImg" v-else @click="togoSign('2')">
<image :src="cfSign.url"></image> <image :src="cfSign.url"></image>
@ -182,7 +182,7 @@
<p>Signature of Foreman:</p> <p>Signature of Foreman:</p>
</view> </view>
<view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('0')"> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.url"></image> <image :src="zdySign.url"></image>
@ -195,7 +195,7 @@
<p>Signature of Duty manger:</p> <p>Signature of Duty manger:</p>
</view> </view>
<view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('1')"> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.url"></image> <image :src="czSign.url"></image>

View File

@ -305,65 +305,68 @@
}, },
// //
changeLog(e) { changeLog(e) {
this.lotusLoadingData.isShow = true this.datetime = e
// this.startTime = e[0]
let sTime = e[0].slice(e[0].length - 5) this.endTime = e[1]
let eTime = e[1].slice(e[1].length - 5) // this.lotusLoadingData.isShow = true
// // //
let sYMD = e[0].split(' ')[0] // let sTime = e[0].slice(e[0].length - 5)
let eYMD = e[1].split(' ')[0] // let eTime = e[1].slice(e[1].length - 5)
// // //
let nsTime = Number((sTime.split(':')).join('')) // let sYMD = e[0].split(' ')[0]
let neTime = Number((eTime.split(':')).join('')) // let eYMD = e[1].split(' ')[0]
// // //
let xsTime = Number((this.beginDate.split(':')).join('')) // let nsTime = Number((sTime.split(':')).join(''))
let xeTime = Number((this.endDate.split(':')).join('')) // let neTime = Number((eTime.split(':')).join(''))
// //
// let xsTime = Number((this.beginDate.split(':')).join(''))
// let xeTime = Number((this.endDate.split(':')).join(''))
let that = this // let that = this
if (sYMD != eYMD) { // if (sYMD != eYMD) {
if (nsTime >= xsTime && neTime <= xeTime) { // if (nsTime >= xsTime && neTime <= xeTime) {
that.datetime = e // that.datetime = e
that.startTime = e[0] // that.startTime = e[0]
that.endTime = e[1] // that.endTime = e[1]
} else { // } else {
that.datetime = ["", ""] // that.datetime = ["", ""]
that.startTime = "" // that.startTime = ""
that.endTime = "" // that.endTime = ""
that.flag = false // that.flag = false
setTimeout(function() { // setTimeout(function() {
that.flag = true // that.flag = true
that.lotusLoadingData.isShow = false // that.lotusLoadingData.isShow = false
}, 200) // }, 200)
uni.showToast({ // uni.showToast({
title: `请输入正确的作业时间范围`, // title: ``,
icon: 'none', // icon: 'none',
duration: 2000 // duration: 2000
}) // })
} // }
} else { // } else {
if (neTime <= xeTime) { // if (neTime <= xeTime) {
that.flag = true // that.flag = true
that.datetime = e // that.datetime = e
that.startTime = e[0] // that.startTime = e[0]
that.endTime = e[1] // that.endTime = e[1]
that.lotusLoadingData.isShow = false // that.lotusLoadingData.isShow = false
} else { // } else {
that.datetime = ["", ""] // that.datetime = ["", ""]
that.startTime = "" // that.startTime = ""
that.endTime = "" // that.endTime = ""
that.flag = false // that.flag = false
setTimeout(function() { // setTimeout(function() {
that.flag = true // that.flag = true
that.lotusLoadingData.isShow = false // that.lotusLoadingData.isShow = false
}, 200) // }, 200)
uni.showToast({ // uni.showToast({
title: `请输入正确的作业时间范围`, // title: ``,
icon: 'none', // icon: 'none',
duration: 2000 // duration: 2000
}) // })
} // }
} // }
}, },
// //
cancel() { cancel() {

View File

@ -52,7 +52,7 @@
<view class="li widthLi"> <view class="li widthLi">
<p class="liTitle"><text class="required">*</text>工班</p> <p class="liTitle"><text class="required">*</text>工班</p>
<uni-data-select v-model="item.gbValue" :localdata="gbList" <uni-data-select v-model="item.gbValue" :localdata="gbList"
@change="gbChange(item,index,'left')" placeholder="请选择工班"></uni-data-select> @change="gbChange(item,index,'left')" placeholder="请选择工班" :disabled="true"></uni-data-select>
</view> </view>
<view class="li widthLi"> <view class="li widthLi">
<p class="liTitle"><text class="required">*</text>作业时间 </p> <p class="liTitle"><text class="required">*</text>作业时间 </p>
@ -135,7 +135,7 @@
<p class="liTitle"><text class="required">*</text>工班</p> <p class="liTitle"><text class="required">*</text>工班</p>
<uni-data-select v-model="item.gbValue" :localdata="gbList" <uni-data-select v-model="item.gbValue" :localdata="gbList"
@change="gbChange(item,index,'right')" @change="gbChange(item,index,'right')"
placeholder="请选择工班"></uni-data-select> placeholder="请选择工班" :disabled="true"></uni-data-select>
</view> </view>
<view class="li widthLi"> <view class="li widthLi">
<p class="liTitle"><text class="required">*</text>作业时间 </p> <p class="liTitle"><text class="required">*</text>作业时间 </p>
@ -991,16 +991,25 @@
let sT = Date.parse(item.datetime[0]) let sT = Date.parse(item.datetime[0])
let eT = Date.parse(item.datetime[1]) let eT = Date.parse(item.datetime[1])
let sYM = item.datetime[0].split(' ')[1].split(':')[0]
let eYM = item.datetime[1].split(' ')[1].split(':')[0]
// //
if (this.active == 0) { if (this.active == 0) {
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) {
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]
item.endTime = item.datetime[1] item.endTime = item.datetime[1]
item.gbTextValue = '一工班'
this.gbList.forEach(v => {
if (v.text == item.gbTextValue) {
item.gbValue = v.value
}
})
that.lotusLoadingData.isShow = false that.lotusLoadingData.isShow = false
} else { } else {
item.datetime = ["", ""] item.datetime = ["", ""]
@ -1018,13 +1027,30 @@
}) })
} }
} else { } else {
if (item.gbTextValue == "一工班") { // if (item.gbTextValue == "") {
if (sresDate >= 0 && eresDate >= 0) { if (sYM <= 14 && sYM >= 6 && eYM <= 14 && eYM >= 6 && eT - sT <= 28800000) {
that.flag = true that.flag = true
item.startTime = item.datetime[0] item.startTime = item.datetime[0]
item.endTime = item.datetime[1] item.endTime = item.datetime[1]
item.gbTextValue = '二工班'
this.gbList.forEach(v => {
if (v.text == item.gbTextValue) {
item.gbValue = v.value
}
})
that.lotusLoadingData.isShow = false that.lotusLoadingData.isShow = false
} else { } else if (sYM <= 22 && sYM >= 14 && eYM <= 22 && eYM >= 14 && eT - sT <= 28800000) {
that.flag = true
item.startTime = item.datetime[0]
item.endTime = item.datetime[1]
item.gbTextValue = '三工班'
this.gbList.forEach(v => {
if (v.text == item.gbTextValue) {
item.gbValue = v.value
}
})
that.lotusLoadingData.isShow = false
} else {
item.datetime = ["", ""] item.datetime = ["", ""]
item.startTime = "" item.startTime = ""
item.endTime = "" item.endTime = ""
@ -1039,37 +1065,38 @@
duration: 2000 duration: 2000
}) })
} }
} else { // } else {
if (sresDate <= 0 && eresDate >= 0) { // if (sresDate <= 800 && eresDate >= -1600 && eT - sT <= 28800000) {
that.flag = true // that.flag = true
item.startTime = item.datetime[0] // console.log('222');
item.endTime = item.datetime[1] // item.startTime = item.datetime[0]
that.lotusLoadingData.isShow = false // item.endTime = item.datetime[1]
} else { // that.lotusLoadingData.isShow = false
item.datetime = ["", ""] // } else {
item.startTime = "" // item.datetime = ["", ""]
item.endTime = "" // item.startTime = ""
that.flag = false // item.endTime = ""
setTimeout(function() { // that.flag = false
that.flag = true // setTimeout(function() {
that.lotusLoadingData.isShow = false // that.flag = true
}, 200) // that.lotusLoadingData.isShow = false
uni.showToast({ // }, 200)
title: `请输入正确的工班作业时间范围`, // uni.showToast({
icon: 'none', // title: ``,
duration: 2000 // icon: 'none',
}) // duration: 2000
} // })
} // }
// }
} }
} else { // } else {
this.lotusLoadingData.isShow = false // this.lotusLoadingData.isShow = false
uni.showToast({ // uni.showToast({
title: `请先选择工班`, // title: ``,
icon: 'none', // icon: 'none',
duration: 2000 // duration: 2000
}) // })
} // }
} }
// //

View File

@ -61,7 +61,7 @@
<p>Captain/Chief Officer:</p> <p>Captain/Chief Officer:</p>
</view> </view>
<view class="signInfo" v-if="czSign.signFile == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.signFile == ''" @click="togoSign('1')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('1')"> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.signFile"></image> <image :src="czSign.signFile"></image>

View File

@ -88,7 +88,7 @@
<p>Captain/Chief Officer:</p> <p>Captain/Chief Officer:</p>
</view> </view>
<view class="signInfo" v-if="czSign.signFile == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.signFile == ''" @click="togoSign('1')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('1')"> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.signFile"></image> <image :src="czSign.signFile"></image>

View File

@ -189,6 +189,12 @@
if (v.dictionariesName == 'bthList') { if (v.dictionariesName == 'bthList') {
bwOption.push(v) bwOption.push(v)
} }
if (v.dictionariesName == 'vvyIdPlanNumber') {
if(this.obj.state == 'add') {
this.vehicleSize = v.ptrDesc
this.sparePart = v.ptrEnDesc
}
}
}) })
bwOption.forEach((v, index) => { bwOption.forEach((v, index) => {
this.bwList.push({ this.bwList.push({

View File

@ -91,7 +91,7 @@
<p>Signature of Foreman:</p> <p>Signature of Foreman:</p>
</view> </view>
<view class="signInfo" v-if="zdySign.signFile == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.signFile == ''" @click="togoSign('0')">
去签名 去签名/Signature
</view> </view>
<view class="signImg" v-else @click="togoSign('0')"> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.signFile"></image> <image :src="zdySign.signFile"></image>