修改bug

dev3
wuwx 2024-04-02 18:05:56 +08:00
parent 6e5a89f504
commit 35246b6010
18 changed files with 1615 additions and 1136 deletions

View File

@ -2697,9 +2697,9 @@
.line { .line {
position: absolute; position: absolute;
width: 850px; width: 850px;
height: 95%; height: 90%;
top: 5px; top: 10px;
left: 168px; left: 58px;
display: flex; display: flex;
overflow-y: auto; overflow-y: auto;
@ -2747,9 +2747,9 @@
} }
.leftTopImg { .leftTopImg {
transform: rotate(180deg); transform: rotate(90deg);
top: -15px; top: -8px;
right: -10px; left: -8px;
} }
.imgSize2 { .imgSize2 {
@ -2758,20 +2758,19 @@
} }
.leftBotImg { .leftBotImg {
transform: rotate(-90deg); bottom: -8px;
bottom: -10px; left: -3px;
right: -15px;
} }
.topImg { .topImg {
top: -10px; top: -10px;
left: 50%; left: 40%;
} }
.botImg { .botImg {
transform: rotate(180deg); transform: rotate(180deg);
bottom: -10px; bottom: -10px;
left: 50%; left: 40%;
} }
} }

View File

@ -10,7 +10,7 @@
<view class="blockBox"> <view class="blockBox">
<view class="formTitle"> <view class="formTitle">
<image src="../../static/images/goodsImg2.png"></image> <image src="../../static/images/goodsImg2.png"></image>
<p>质损发生环节</p> <p>质损发生环节<text class="required">*</text></p>
</view> </view>
<radio-group class="radioList" @change="radioChange"> <radio-group class="radioList" @change="radioChange">
<template v-for="(item, index) in radioList"> <template v-for="(item, index) in radioList">
@ -59,32 +59,32 @@
<template v-if="active == 1"> <template v-if="active == 1">
<view class="blockBox zsInfo"> <view class="blockBox zsInfo">
<view class="li"> <view class="li">
<p class="liTitle">车架号/条形码:</p> <p class="liTitle">车架号/条形码:<text class="required">*</text></p>
<uni-easyinput class="inputBox wInput" v-model="carValue" placeholder="请输入车架号/条形码" <uni-easyinput class="inputBox wInput" v-model="carValue" placeholder="请输入车架号/条形码"
@blur="carBlur" :disabled="vinDisabled"></uni-easyinput> @blur="carBlur" :disabled="vinDisabled"></uni-easyinput>
<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">船名/航次:</p> <p class="liTitle">船名/航次:<text class="required">*</text></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>
<view class="li"> <view class="li">
<p class="liTitle">车型:</p> <p class="liTitle">车型:<text class="required">*</text></p>
<uni-data-select v-model="carId" :localdata="carList" @change="carChange" <uni-data-select v-model="carId" :localdata="carList" @change="carChange"
:disabled="carDisabled" placeholder="请选择车型"></uni-data-select> :disabled="carDisabled" placeholder="请选择车型"></uni-data-select>
</view> </view>
<view class="li"> <view class="li">
<p class="liTitle">品牌:</p> <p class="liTitle">品牌:<text class="required">*</text></p>
<uni-data-select v-model="brandId" :localdata="brandList" @change="brandChange" <uni-data-select v-model="brandId" :localdata="brandList" @change="brandChange"
:disabled="brandDisabled" placeholder="请选择品牌"></uni-data-select> :disabled="brandDisabled" placeholder="请选择品牌"></uni-data-select>
</view> </view>
<view class="li"> <view class="li">
<p class="liTitle">质损时间:</p> <p class="liTitle">质损时间:<text class="required">*</text></p>
<uni-datetime-picker type="datetime" v-model="zsDate" @change="dateChange" /> <uni-datetime-picker type="datetime" v-model="zsDate" @change="dateChange" />
</view> </view>
<view class="li cwLi"> <view class="li cwLi">
<p class="liTitle">场位:</p> <p class="liTitle">场位:<text class="required">*</text></p>
<uni-data-select v-model="yardId" :localdata="yardColumns" @change="yardChange" <uni-data-select v-model="yardId" :localdata="yardColumns" @change="yardChange"
:disabled="yardDisabled" placeholder="堆场"></uni-data-select> :disabled="yardDisabled" placeholder="堆场"></uni-data-select>
<uni-data-select v-model="storeAreaId" :localdata="storeAreaColumns" <uni-data-select v-model="storeAreaId" :localdata="storeAreaColumns"
@ -100,7 +100,7 @@
</view> </view>
<view class="blockBox"> <view class="blockBox">
<view class="zsLi"> <view class="zsLi">
<p class="zsTitle">质损货物品类:</p> <p class="zsTitle">质损货物品类:<text class="required">*</text></p>
<radio-group @change="radioChange2" class="radioList2"> <radio-group @change="radioChange2" class="radioList2">
<label class="radioBox" v-for="(item, index) in radioList2" :key="item.value"> <label class="radioBox" v-for="(item, index) in radioList2" :key="item.value">
<view> <view>
@ -113,7 +113,7 @@
@focus="inputFocus" @blur="inputBlur"></uni-easyinput> @focus="inputFocus" @blur="inputBlur"></uni-easyinput>
</view> </view>
<view class="zsLi"> <view class="zsLi">
<p class="zsTitle">质损概况:</p> <p class="zsTitle">质损概况:<text class="required">*</text></p>
<checkbox-group class="radioList2" @change="checkboxChange"> <checkbox-group class="radioList2" @change="checkboxChange">
<label class="radioBox" v-for="item in checklist" :key="item.value"> <label class="radioBox" v-for="item in checklist" :key="item.value">
<view> <view>
@ -126,7 +126,7 @@
@focus="inputFocus" @blur="inputBlur"></uni-easyinput> @focus="inputFocus" @blur="inputBlur"></uni-easyinput>
</view> </view>
<view class="zsLi"> <view class="zsLi">
<p class="zsTitle">损伤情况:</p> <p class="zsTitle">损伤情况:<text class="required">*</text></p>
<checkbox-group class="radioList2" @change="checkboxChange2"> <checkbox-group class="radioList2" @change="checkboxChange2">
<label class="radioBox" v-for="item in checklist2" :key="item.value"> <label class="radioBox" v-for="item in checklist2" :key="item.value">
<view> <view>
@ -139,7 +139,7 @@
@focus="inputFocus" @blur="inputBlur"></uni-easyinput> @focus="inputFocus" @blur="inputBlur"></uni-easyinput>
</view> </view>
<view class="zsLi"> <view class="zsLi">
<p class="zsTitle">处置情况:</p> <p class="zsTitle">处置情况:<text class="required">*</text></p>
<checkbox-group class="radioList2" @change="checkboxChange3"> <checkbox-group class="radioList2" @change="checkboxChange3">
<label class="radioBox" v-for="item in checklist3" :key="item.value"> <label class="radioBox" v-for="item in checklist3" :key="item.value">
<view> <view>
@ -161,7 +161,7 @@
<view class="blockBox"> <view class="blockBox">
<view class="formTitle tpTitle"> <view class="formTitle tpTitle">
<image src="../../static/images/zsIcon.png"></image> <image src="../../static/images/zsIcon.png"></image>
<p>质损照片<text>最多9张</text></p> <p>质损照片<text class="required">*</text><text>最多9张</text></p>
</view> </view>
<view class="picture"> <view class="picture">
<uni-file-picker limit="9" v-model="zsPhoto2" @select="select3" <uni-file-picker limit="9" v-model="zsPhoto2" @select="select3"
@ -171,7 +171,7 @@
<view class="blockBox"> <view class="blockBox">
<view class="formTitle tpTitle"> <view class="formTitle tpTitle">
<image src="../../static/images/cjhIcon.png"></image> <image src="../../static/images/cjhIcon.png"></image>
<p>车架号图片上传<text>最多9张</text></p> <p>车架号图片上传<text class="required">*</text><text>最多9张</text></p>
</view> </view>
<view class="picture"> <view class="picture">
<uni-file-picker limit="9" v-model="carPhoto2" @select="select4" <uni-file-picker limit="9" v-model="carPhoto2" @select="select4"
@ -469,7 +469,6 @@
} else if (this.current == '其他') { } else if (this.current == '其他') {
this.isOther = true this.isOther = true
} }
console.log('this.radioList',this.radioList,this.infoData.qdLink);
this.radioList.forEach(v => { this.radioList.forEach(v => {
if (v.value == this.infoData.qdLink) { if (v.value == this.infoData.qdLink) {
this.currentValue = v.value this.currentValue = v.value
@ -626,8 +625,12 @@
this.radioData2 = evt.detail.value this.radioData2 = evt.detail.value
let currentIndex = 0 let currentIndex = 0
for (let i = 0; i < this.radioList2.length; i++) { for (let i = 0; i < this.radioList2.length; i++) {
const item = this.radioList2[i]
if (this.radioList2[i].value === evt.detail.value) { if (this.radioList2[i].value === evt.detail.value) {
currentIndex = i; currentIndex = i;
this.$set(item, 'checked', true)
} else {
this.$set(item, 'checked', false)
} }
} }
this.current2 = this.radioList2[currentIndex].name this.current2 = this.radioList2[currentIndex].name
@ -1356,6 +1359,143 @@
}, },
// //
save() { save() {
if(!this.current) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入质损发生环节!'
})
return
}
if(!this.carValue) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入车架号/条形码!'
})
return
}
if(!this.vvyShip) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入船名/航次!'
})
return
}
if(!this.carId) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入车型!'
})
return
}
if(!this.brandId) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入品牌!'
})
return
}
if(!this.zsDate) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入质损时间!'
})
return
}
if(!this.yardId) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入堆场!'
})
return
}
if(!this.storeAreaId) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入区域!'
})
return
}
if(!this.storeLineId) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入车道!'
})
return
}
if(!this.storeSeatId) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入车位!'
})
return
}
if(!this.current2) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入质损货物品类!'
})
return
}
if(!this.checkData) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入质损概况!'
})
return
}
if(!this.checkData2) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入损伤情况!'
})
return
}
if(!this.checkData3) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请输入处置情况!'
})
return
}
if(!this.zsPhoto2.length) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请上传质损照片!'
})
return
}
if(!this.carPhoto2.length) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请上传车架号图片!'
})
return
}
if(!this.signImg) {
uni.showModal({
title: '提示',
showCancel: false,
content: '请签名!'
})
return
}
if (this.current != '其他') { if (this.current != '其他') {
this.remark = "" this.remark = ""
} else if (this.current != '客户反馈') { } else if (this.current != '客户反馈') {
@ -1822,5 +1962,9 @@
color: #fff; color: #fff;
} }
} }
.required {
color: red;
margin-left: 5px;
}
} }
</style> </style>

View File

@ -9,7 +9,7 @@
<view class="container"> <view class="container">
<view class="head"> <view class="head">
<view class="leftHead"> <view class="leftHead">
<image id="HT-logo" src="../../static/images/theme/logo.png" mode="widthFix"> <image id="HT-logo" src="../../static/images/theme/logo.png" mode="widthFix" />
</view> </view>
<view class="rightHead"> <view class="rightHead">
<p>上海海通国际汽车码头有限公司</p> <p>上海海通国际汽车码头有限公司</p>
@ -32,7 +32,7 @@
<view class="ul"> <view class="ul">
<view class="li"> <view class="li">
<p>船名/Name of Ship:</p> <p>船名/Name of Ship:</p>
<p>{{shipInfo.vslCnname}}</p> <p>{{shipInfo.vslEnname}}</p>
</view> </view>
<view class="li"> <view class="li">
<p>航次/voy No:</p> <p>航次/voy No:</p>
@ -93,7 +93,7 @@
<view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.url"></image> <image :src="zdySign.url"></image>
</view> </view>
</view> </view>
@ -106,7 +106,7 @@
<view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.url"></image> <image :src="czSign.url"></image>
</view> </view>
</view> </view>

View File

@ -496,11 +496,12 @@
}) })
}) })
// //
this.downloadData.weatherForecastList.forEach(v => { // this.downloadData.weatherForecastList.forEach(v => {
this.downloadData.pubTypeWeather.forEach(v => {
this.optionData.push({ this.optionData.push({
dictionariesName: "weather", dictionariesName: "weather",
ptrCode: v.weatherType, ptrCode: v.ptrCode,
ptrDesc: v.weatherTypeDesc, ptrDesc: v.ptrDesc,
}) })
}) })
// //

View File

@ -15,8 +15,12 @@
<view class="liInfo"> <view class="liInfo">
<p>马菲板号<text>{{item.mafiBarcode}}</text></p> <p>马菲板号<text>{{item.mafiBarcode}}</text></p>
<p>尺码<text>{{item.size}}</text></p> <p>尺码<text>{{item.size}}</text></p>
<p>类型<text>{{item.type}}</text></p> <p>类型
<p>装卸方式<text>{{item.loadType}}</text></p> <text>{{item.type == 'FULL' ? '重板' : '空板'}}</text>
</p>
<p>装卸方式
<text>{{item.loadType == 'LOAD' ? '装货' : '卸货'}}</text>
</p>
</view> </view>
<view class="status didNot" v-if="item.status == 0 || item.status == 'null'"> <view class="status didNot" v-if="item.status == 0 || item.status == 'null'">
<p>待提交</p> <p>待提交</p>

View File

@ -228,7 +228,7 @@
if (v.vvyId == e) { if (v.vvyId == e) {
this.importExportFlagName = v.importExportFlagName this.importExportFlagName = v.importExportFlagName
this.spmTradeName = v.tradeTypeName this.spmTradeName = v.tradeTypeName
if (this.importExportFlagName = "进口") { if (this.importExportFlagName == "进口") {
this.loadType = "卸货" this.loadType = "卸货"
this.loaderTypeId = "DISC" this.loaderTypeId = "DISC"
} else { } else {

View File

@ -6,7 +6,7 @@
<view class="container"> <view class="container">
<view class="head"> <view class="head">
<view class="leftHead"> <view class="leftHead">
<image id="HT-logo" src="../../static/images/theme/logo.png" mode="widthFix"> <image id="HT-logo" src="../../static/images/theme/logo.png" mode="widthFix" />
</view> </view>
<view class="rightHead"> <view class="rightHead">
<p>上海海通国际汽车码头有限公司</p> <p>上海海通国际汽车码头有限公司</p>
@ -29,7 +29,7 @@
<view class="ul"> <view class="ul">
<view class="li"> <view class="li">
<p>船名/Name of Ship:</p> <p>船名/Name of Ship:</p>
<p>{{shipInfo.vslCnname}}</p> <p>{{shipInfo.vslEnname}}</p>
</view> </view>
<view class="li"> <view class="li">
<p>航次/voy No:</p> <p>航次/voy No:</p>
@ -74,7 +74,7 @@
<view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.url"></image> <image :src="zdySign.url"></image>
</view> </view>
</view> </view>
@ -87,7 +87,7 @@
<view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.url"></image> <image :src="czSign.url"></image>
</view> </view>
</view> </view>

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,7 @@
</view> </view>
<view class="ul"> <view class="ul">
<view class="li"> <view class="li">
<p>船名(M/V):</p><text>{{shipInfo.vslCnname}}</text> <p>船名(M/V):</p><text>{{shipInfo.vslEnname}}</text>
</view> </view>
<view class="li"> <view class="li">
<p>航次(Voy):</p><text>{{tableInfo.vvyName}}</text> <p>航次(Voy):</p><text>{{tableInfo.vvyName}}</text>
@ -213,7 +213,7 @@
<view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.url"></image> <image :src="zdySign.url"></image>
</view> </view>
</view> </view>
@ -226,7 +226,7 @@
<view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.url"></image> <image :src="czSign.url"></image>
</view> </view>
</view> </view>

View File

@ -33,7 +33,7 @@
<view class="ul"> <view class="ul">
<view class="li"> <view class="li">
<p>船名/Name of Ship:</p> <p>船名/Name of Ship:</p>
<p>{{shipInfo.vslCnname}}</p> <p>{{shipInfo.vslEnname}}</p>
</view> </view>
<view class="li"> <view class="li">
<p>航次/Voyage No.:</p> <p>航次/Voyage No.:</p>
@ -171,7 +171,7 @@
<view class="signInfo" v-if="cfSign.url == ''" @click="togoSign('2')"> <view class="signInfo" v-if="cfSign.url == ''" @click="togoSign('2')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('2')">
<image :src="cfSign.url"></image> <image :src="cfSign.url"></image>
</view> </view>
</view> </view>
@ -184,7 +184,7 @@
<view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.url == ''" @click="togoSign('0')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.url"></image> <image :src="zdySign.url"></image>
</view> </view>
</view> </view>
@ -197,7 +197,7 @@
<view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.url == ''" @click="togoSign('1')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.url"></image> <image :src="czSign.url"></image>
</view> </view>
</view> </view>

View File

@ -24,12 +24,12 @@
</view> </view>
<view class="li"> <view class="li">
<p><text class="required" v-if="obj.state != 'look'">*</text></p> <p><text class="required" v-if="obj.state != 'look'">*</text></p>
<!-- <uni-data-select v-model="tqValue" :localdata="tqList" @change="tqChange" <uni-data-select v-model="tqValue" :localdata="tqList" @change="tqChange"
v-if="obj.state != 'look'"></uni-data-select> --> v-if="obj.state != 'look'"></uni-data-select>
<!-- <uni-easyinput v-if="obj.state != 'look'" v-model="tqTextValue" <!-- <uni-easyinput v-if="obj.state != 'look'" v-model="tqTextValue"
placeholder="请输入"></uni-easyinput> --> placeholder="请输入"></uni-easyinput> -->
<!-- <text v-else>{{peopleRow.weatherType}}</text> --> <text v-else>{{peopleRow.weatherType}}</text>
<text>{{ tqTextValue }}</text> <!-- <text>{{ tqTextValue }}</text> -->
</view> </view>
<view class="li"> <view class="li">
<p><text class="required" v-if="obj.state != 'look'">*</text></p> <p><text class="required" v-if="obj.state != 'look'">*</text></p>
@ -187,8 +187,15 @@
} else if (tableName == "shipmentBasicShiftList") { } else if (tableName == "shipmentBasicShiftList") {
this.beginDate = value[0].beginTime this.beginDate = value[0].beginTime
this.endDate = value[2].endTime this.endDate = value[2].endTime
} else if(tableName == "messageRespList") { } else if(tableName == 'messageRespList') {
console.log('value',value); if(value[0].weatherType) {
this.tqTextValue = value[0].weatherType
this.tqList.forEach(v => {
if (v.text == this.tqTextValue) {
this.tqValue = v.value
}
})
}
} }
}).catch((error) => { }).catch((error) => {
// reject // reject
@ -210,31 +217,36 @@
value: v.ptrCode value: v.ptrCode
}) })
}) })
// // //
// let tqOption = [] let tqOption = []
// this.optionData.forEach((v, index) => { this.optionData.forEach((v, index) => {
// if (v.dictionariesName == 'weather') { if (v.dictionariesName == 'weather') {
// tqOption.push(v) tqOption.push(v)
// } }
// }) })
// tqOption.forEach((v, index) => { tqOption.forEach((v, index) => {
// this.tqList.push({ this.tqList.push({
// text: v.weatherType, text: v.ptrDesc,
// value: v.weatherTypeDesc value: v.ptrCode
// }) })
// }) })
}, },
// //
getRow() { getRow() {
this.peopleRow = uni.getStorageSync('peopleRow'); this.peopleRow = uni.getStorageSync('peopleRow');
this.hcValue = this.peopleRow.vvyId this.hcValue = this.peopleRow.vvyId
this.hcTextValue = this.peopleRow.vvyName this.hcTextValue = this.peopleRow.vvyName
if (this.peopleRow.weatherId != undefined) { if (this.peopleRow.weatherType) {
this.tqValue = this.peopleRow.weatherId this.tqTextValue = this.peopleRow.weatherType
this.tqList.forEach(v => {
if (v.text == this.tqTextValue) {
this.tqValue = v.value
}
})
} else { } else {
this.tqValue = "" this.tqTextValue = ""
} }
this.tqTextValue = this.peopleRow.weatherType // this.tqTextValue = this.peopleRow.weatherType
this.bwValue = this.peopleRow.bthId this.bwValue = this.peopleRow.bthId
this.bwTextValue = this.peopleRow.bthIdName this.bwTextValue = this.peopleRow.bthIdName
this.workValue = this.peopleRow.workSuite this.workValue = this.peopleRow.workSuite
@ -274,15 +286,15 @@
} }
}) })
}, },
// // //
// tqChange(e) { tqChange(e) {
// this.tqValue = e; this.tqValue = e;
// this.tqList.forEach(v => { this.tqList.forEach(v => {
// if (v.value == e) { if (v.value == e) {
// this.tqTextValue = v.text this.tqTextValue = v.text
// } }
// }) })
// }, },
// //
workChange(val) { workChange(val) {
this.workValue = val; this.workValue = val;
@ -419,14 +431,14 @@
`UPDATE messageRespList SET bthId = '${this.bwValue}',bthIdName = '${this.bwTextValue}', `UPDATE messageRespList SET bthId = '${this.bwValue}',bthIdName = '${this.bwTextValue}',
jobStartTime = '${this.startTime}',jobEndTime = '${this.endTime}',shipPerson = '${this.shipValue}', jobStartTime = '${this.startTime}',jobEndTime = '${this.endTime}',shipPerson = '${this.shipValue}',
vvyId = '${this.hcValue}',vvyName = '${this.hcTextValue}',weatherType = '${this.tqTextValue}', vvyId = '${this.hcValue}',vvyName = '${this.hcTextValue}',weatherType = '${this.tqTextValue}',
weatherTypeDesc = '${this.tqTextValue}',workSuite = '${this.workValue}',webStatus = '${webStatus}', weatherTypeDesc = '${this.tqValue}',workSuite = '${this.workValue}',webStatus = '${webStatus}',
importExportFlagName = '${this.importExportFlagName}',webDate = '${webDate}' WHERE pmeId = '${this.peopleRow.pmeId}';` importExportFlagName = '${this.importExportFlagName}',webDate = '${webDate}' WHERE pmeId = '${this.peopleRow.pmeId}';`
this.executeSql(sql) this.executeSql(sql)
} else if (this.obj.state == "add") { } else if (this.obj.state == "add") {
let sql = let sql =
`insert into messageRespList values('${pmeId}','${this.vtpId}','${this.bwValue}','${this.bwTextValue}', `insert into messageRespList values('${pmeId}','${this.vtpId}','${this.bwValue}','${this.bwTextValue}',
'${this.startTime}','${this.endTime}','${this.shipValue}','${this.hcValue}','${this.hcTextValue}','${this.tqTextValue}', '${this.startTime}','${this.endTime}','${this.shipValue}','${this.hcValue}','${this.hcTextValue}','${this.tqTextValue}','${this.tqValue}',
'${this.tqTextValue}','${this.workValue}','${this.importExportFlagName}','${0}','${webStatus}','${webDate}')` '${this.workValue}','${this.importExportFlagName}','${0}','${webStatus}','${webDate}')`
this.executeSql(sql) this.executeSql(sql)
} }
uni.navigateTo({ uni.navigateTo({

View File

@ -746,7 +746,7 @@
if (v.vvyId == e) { if (v.vvyId == e) {
this.importExportFlagName = v.importExportFlagName this.importExportFlagName = v.importExportFlagName
this.spmTradeName = v.tradeTypeName this.spmTradeName = v.tradeTypeName
if (this.importExportFlagName = "进口") { if (this.importExportFlagName == "进口") {
this.zxTextValue = "卸货" this.zxTextValue = "卸货"
this.zxValue = "2" this.zxValue = "2"
} else { } else {

View File

@ -55,7 +55,7 @@
</view> </view>
<view class="li wLi"> <view class="li wLi">
<p>备注</p> <p>备注</p>
<text>{{item2.remark}}</text> <text class="remark">{{item2.remark}}</text>
</view> </view>
</view> </view>
</view> </view>
@ -85,7 +85,7 @@
</view> </view>
<view class="li wLi"> <view class="li wLi">
<p>备注</p> <p>备注</p>
<text>{{item2.remark}}</text> <text class="remark">{{item2.remark}}</text>
</view> </view>
</view> </view>
</view> </view>
@ -432,6 +432,7 @@
display: flex; display: flex;
.smasonry { .smasonry {
width: 49%;
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -439,6 +440,9 @@
background-color: #F6F7F9; background-color: #F6F7F9;
padding: 16px 16px 100px; padding: 16px 16px 100px;
align-items: baseline; align-items: baseline;
.remark{
word-break: break-all;
}
} }
} }
@ -462,22 +466,18 @@
flex-wrap: wrap; flex-wrap: wrap;
padding: 0 16px 16px; padding: 0 16px 16px;
margin-bottom: 16px; margin-bottom: 16px;
width: 49%;
.li { .li {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
height: 50px; min-height: 50px;
line-height: 50px; line-height: 50px;
font-size: 16px; font-size: 16px;
} }
// .wLi {
.wLi { // width: 100%;
min-height: 50px; // min-height: 50px;
width: 49%; // }
display:flex;
flex-wrap: wrap;
}
} }
.aUl { .aUl {

View File

@ -197,8 +197,8 @@
this.importExportFlagName = this.supplyRow.importExportFlagName this.importExportFlagName = this.supplyRow.importExportFlagName
this.stopBerthage = this.supplyRow.stopBerthage this.stopBerthage = this.supplyRow.stopBerthage
this.stopBerthageName = this.supplyRow.stopBerthageName this.stopBerthageName = this.supplyRow.stopBerthageName
this.supplyTypeId = this.supplyRow.supplyType this.supplyTypeId = this.supplyRow.supplyTypeNm
this.supplyType = this.supplyRow.supplyTypeNm this.supplyType = this.supplyRow.supplyType
this.supplyAmount = this.supplyRow.supplyAmount this.supplyAmount = this.supplyRow.supplyAmount
this.supplyDate = (this.supplyRow.supplyDate[0] ? this.supplyRow.supplyDate : '') this.supplyDate = (this.supplyRow.supplyDate[0] ? this.supplyRow.supplyDate : '')
this.status = this.supplyRow.status this.status = this.supplyRow.status
@ -277,15 +277,15 @@
if (this.obj.state == "edit") { if (this.obj.state == "edit") {
let sql = let sql =
`UPDATE shipmentShipSupplyRespList SET vvyId = '${this.vvyId}',vvyName = '${this.vvyName}',importExportFlagName = '${this.importExportFlagName}', `UPDATE shipmentShipSupplyRespList SET vvyId = '${this.vvyId}',vvyName = '${this.vvyName}',importExportFlagName = '${this.importExportFlagName}',
stopBerthage = '${this.stopBerthage}',stopBerthageName = '${this.stopBerthageName}',supplyType = '${this.supplyTypeId}', stopBerthage = '${this.stopBerthage}',stopBerthageName = '${this.stopBerthageName}',supplyType = '${this.supplyType}',
supplyTypeNm = '${this.supplyType}',supplyAmount = '${this.supplyAmount}',supplyDate = '${this.supplyDate}',webStatus = '${webStatus}', supplyTypeNm = '${this.supplyTypeId}',supplyAmount = '${this.supplyAmount}',supplyDate = '${this.supplyDate}',webStatus = '${webStatus}',
webDate = '${webDate}' WHERE sssId = '${this.supplyRow.sssId}';` webDate = '${webDate}' WHERE sssId = '${this.supplyRow.sssId}';`
this.executeSql(sql) this.executeSql(sql)
} else if (this.obj.state == "add") { } else if (this.obj.state == "add") {
let sql = let sql =
`insert into shipmentShipSupplyRespList values('${sssId}','${this.vtpId}','${this.vvyId}','${this.vvyName}', `insert into shipmentShipSupplyRespList values('${sssId}','${this.vtpId}','${this.vvyId}','${this.vvyName}',
'${this.importExportFlagName}','${this.stopBerthage}','${this.stopBerthageName}','${this.supplyTypeId}', '${this.importExportFlagName}','${this.stopBerthage}','${this.stopBerthageName}','${this.supplyType}','${this.supplyTypeId}',
'${this.supplyType}','${this.supplyAmount}','${this.supplyDate}','${0}', '${this.supplyAmount}','${this.supplyDate}','${0}',
'${webStatus}','${webDate}')` '${webStatus}','${webDate}')`
this.executeSql(sql) this.executeSql(sql)
} }

View File

@ -9,7 +9,7 @@
<view class="container"> <view class="container">
<view class="head"> <view class="head">
<view class="leftHead"> <view class="leftHead">
<image id="HT-logo" src="../../static/images/theme/logo.png" mode="widthFix"> <image id="HT-logo" src="../../static/images/theme/logo.png" mode="widthFix" />
</view> </view>
<view class="rightHead"> <view class="rightHead">
<p>上海海通国际汽车码头有限公司</p> <p>上海海通国际汽车码头有限公司</p>
@ -32,7 +32,7 @@
<view class="ul"> <view class="ul">
<view class="li"> <view class="li">
<p>船名/Name of Ship:</p> <p>船名/Name of Ship:</p>
<p>{{shipInfo.vslCnname}}</p> <p>{{shipInfo.vslEnname}}</p>
</view> </view>
<view class="li"> <view class="li">
<p>{{tableInfo.supplyType}}/Fresh Supply:</p> <p>{{tableInfo.supplyType}}/Fresh Supply:</p>
@ -63,7 +63,7 @@
<view class="signInfo" v-if="czSign.signFile == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.signFile == ''" @click="togoSign('1')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.signFile"></image> <image :src="czSign.signFile"></image>
<!-- <text class="del" @click="delSign(czSign.id)"></text> --> <!-- <text class="del" @click="delSign(czSign.id)"></text> -->
</view> </view>

View File

@ -9,7 +9,7 @@
<view class="container"> <view class="container">
<view class="head"> <view class="head">
<view class="leftHead"> <view class="leftHead">
<image id="HT-logo" src="../../static/images/theme/logo.png" mode="widthFix"> <image id="HT-logo" src="../../static/images/theme/logo.png" mode="widthFix" />
</view> </view>
<view class="rightHead"> <view class="rightHead">
<p>上海海通国际汽车码头有限公司</p> <p>上海海通国际汽车码头有限公司</p>
@ -32,7 +32,7 @@
<view class="ul"> <view class="ul">
<view class="li"> <view class="li">
<p>船名/Name of Ship:</p> <p>船名/Name of Ship:</p>
<p>{{shipInfo.vslCnname}}</p> <p>{{shipInfo.vslEnname}}</p>
</view> </view>
<view class="li"> <view class="li">
<p>船舶净吨/Net tonnage:</p> <p>船舶净吨/Net tonnage:</p>
@ -90,7 +90,7 @@
<view class="signInfo" v-if="czSign.signFile == ''" @click="togoSign('1')"> <view class="signInfo" v-if="czSign.signFile == ''" @click="togoSign('1')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('1')">
<image :src="czSign.signFile"></image> <image :src="czSign.signFile"></image>
<!-- <text class="del" @click="delSign(czSign.id)"></text> --> <!-- <text class="del" @click="delSign(czSign.id)"></text> -->
</view> </view>

View File

@ -260,7 +260,7 @@
if (v.vvyId == e) { if (v.vvyId == e) {
this.importExportFlagName = v.importExportFlagName this.importExportFlagName = v.importExportFlagName
this.spmTradeName = v.tradeTypeName this.spmTradeName = v.tradeTypeName
if (this.importExportFlagName = "进口") { if (this.importExportFlagName == "进口") {
this.loaderTypeName = "卸货" this.loaderTypeName = "卸货"
this.loaderType = "2" this.loaderType = "2"
} else { } else {

View File

@ -9,7 +9,7 @@
<view class="container"> <view class="container">
<view class="head"> <view class="head">
<view class="leftHead"> <view class="leftHead">
<image id="HT-logo" src="../../static/images/theme/logo.png" mode="widthFix"> <image id="HT-logo" src="../../static/images/theme/logo.png" mode="widthFix" />
</view> </view>
<view class="rightHead"> <view class="rightHead">
<p>上海海通国际汽车码头有限公司</p> <p>上海海通国际汽车码头有限公司</p>
@ -30,7 +30,7 @@
</view> </view>
<view class="ul"> <view class="ul">
<view class="li"> <view class="li">
<p>船名:</p><text>{{shipInfo.vslCnname}}</text> <p>船名:</p><text>{{shipInfo.vslEnname}}</text>
</view> </view>
<view class="li"> <view class="li">
<p>航次:</p><text>{{tableInfo.vvyName}}</text> <p>航次:</p><text>{{tableInfo.vvyName}}</text>
@ -42,7 +42,9 @@
<p>人数:</p><text>{{tableInfo.personNumber}}</text> <p>人数:</p><text>{{tableInfo.personNumber}}</text>
</view> </view>
<view class="li"> <view class="li">
<p>/卸货辆/:</p><text>{{tableInfo.vehicleSize}}/{{tableInfo.sparePart}}</text> <p>/卸货辆/:</p>
<text v-if="tableInfo.loaderTypeName == '卸货'">discharge{{tableInfo.vehicleSize}}+{{tableInfo.sparePart}}</text>
<text v-else>load{{tableInfo.vehicleSize}}+{{tableInfo.sparePart}}</text>
</view> </view>
<view class="li"> <view class="li">
<p>工班:</p><text>{{tableInfo.pwcTypeName}}</text> <p>工班:</p><text>{{tableInfo.pwcTypeName}}</text>
@ -64,8 +66,8 @@
<tbody v-for="(item,index) in items" :key="index"> <tbody v-for="(item,index) in items" :key="index">
<tr class="trTitle"> <tr class="trTitle">
<td class="td1h">{{item.itemTitle}}</td> <td class="td1h">{{item.itemTitle}}</td>
<td class="center">YES</td> <td class="center" v-show="index == 0">YES</td>
<td class="td3">NO</td> <td class="td3" v-show="index == 0">NO</td>
</tr> </tr>
<tr class="content" v-for="(item2,index2) in item.list" :key="index2"> <tr class="content" v-for="(item2,index2) in item.list" :key="index2">
<td class="td1"> <td class="td1">
@ -91,7 +93,7 @@
<view class="signInfo" v-if="zdySign.signFile == ''" @click="togoSign('0')"> <view class="signInfo" v-if="zdySign.signFile == ''" @click="togoSign('0')">
去签名 去签名
</view> </view>
<view class="signImg" v-else> <view class="signImg" v-else @click="togoSign('0')">
<image :src="zdySign.signFile"></image> <image :src="zdySign.signFile"></image>
</view> </view>
</view> </view>