'首次提交'
parent
fef5854a56
commit
2c637fb0cf
|
@ -92,7 +92,7 @@ module.exports = {
|
||||||
// 创建工班信息详细 workMessageRespInfoList
|
// 创建工班信息详细 workMessageRespInfoList
|
||||||
createWorkMessageRespInfoList() {
|
createWorkMessageRespInfoList() {
|
||||||
let sql =
|
let sql =
|
||||||
'CREATE TABLE if not exists workMessageRespInfoList ("webId" text NOT NULL,"vtpId" text,"contactId" text,"carType" text,"carTypeName" text,"goodsNumber" text,"loadingType" text,"loadingTypeName" text,"remark" text,"webStatus" text,"webDate" text, PRIMARY KEY("webId"));'
|
'CREATE TABLE if not exists workMessageRespInfoList ("webId" text NOT NULL,"vtpId" text,"contactId" text,"carType" text,"carTypeName" text,"goodsNumber" text,"loadingType" text,"loadingTypeName" text,"remark" text,"mnfBl" text,"weight" text,"volume" text,"lengthType" text,"pmtType" text,"webStatus" text,"webDate" text, PRIMARY KEY("webId"));'
|
||||||
this.executeSql(sql)
|
this.executeSql(sql)
|
||||||
},
|
},
|
||||||
// 创建工班信息翻仓 retallyMessageRespList
|
// 创建工班信息翻仓 retallyMessageRespList
|
||||||
|
|
|
@ -109,11 +109,11 @@
|
||||||
this.outVvyId = ""
|
this.outVvyId = ""
|
||||||
this.outVvyName = ""
|
this.outVvyName = ""
|
||||||
if (v.importExportFlagName == '出口') {
|
if (v.importExportFlagName == '出口') {
|
||||||
this.inVvyId = v.vvyId
|
|
||||||
this.inVvyName = v.vvyName
|
|
||||||
} else {
|
|
||||||
this.outVvyId = v.vvyId
|
this.outVvyId = v.vvyId
|
||||||
this.outVvyName = v.vvyName
|
this.outVvyName = v.vvyName
|
||||||
|
} else {
|
||||||
|
this.inVvyId = v.vvyId
|
||||||
|
this.inVvyName = v.vvyName
|
||||||
}
|
}
|
||||||
let obj = {
|
let obj = {
|
||||||
inVvyId: this.inVvyId,
|
inVvyId: this.inVvyId,
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
dcList:[
|
dcList:[
|
||||||
{
|
{
|
||||||
value: "0",
|
value: "0",
|
||||||
name: "待作业"
|
name: "未开始"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "1",
|
value: "1",
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
name: "已完成"
|
name: "已完成"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
vvyStatus:'待作业',
|
vvyStatus:'未开始',
|
||||||
operationDate:'',
|
operationDate:'',
|
||||||
startDate:'',
|
startDate:'',
|
||||||
endDate:'',
|
endDate:'',
|
||||||
|
|
|
@ -916,7 +916,7 @@
|
||||||
this.getBrand() // 获取品牌
|
this.getBrand() // 获取品牌
|
||||||
this.getBvm() // 获取车型
|
this.getBvm() // 获取车型
|
||||||
this.getRoleId() // 获取角色ID
|
this.getRoleId() // 获取角色ID
|
||||||
this.initAsk() // 获取装船要求
|
// this.initAsk() // 获取装船要求
|
||||||
this.getStatistics() // 获取统计数据
|
this.getStatistics() // 获取统计数据
|
||||||
this.getJobProgress() //获取卸船进度数据
|
this.getJobProgress() //获取卸船进度数据
|
||||||
|
|
||||||
|
@ -967,6 +967,8 @@
|
||||||
},
|
},
|
||||||
// 刷新
|
// 刷新
|
||||||
refresh() {
|
refresh() {
|
||||||
|
this.itemList = []
|
||||||
|
this.current = 1
|
||||||
if (this.tabsValue == 1 || this.tabsValue == 2) {
|
if (this.tabsValue == 1 || this.tabsValue == 2) {
|
||||||
this.loadOtherOrder()
|
this.loadOtherOrder()
|
||||||
} else if (this.tabsValue == 0) {
|
} else if (this.tabsValue == 0) {
|
||||||
|
@ -1114,7 +1116,7 @@
|
||||||
teamFlag = true
|
teamFlag = true
|
||||||
}
|
}
|
||||||
uni.request({
|
uni.request({
|
||||||
url: `${this.$local}/api/unload/command/pageCommandForBranch?vvyId=${this.shipInfo.vvyId}&brdId=${this.brdId}&mnfBl=${this.mnfBl}&bvmId=${this.bvmId}&sendStatus=${this.sendValue}&size=${this.pageSize}¤t=${this.current}&tradeType=${this.tradeType}`,
|
url: `${this.$local}/api/unload/command/pageCommandForBranch?vvyId=${this.shipInfo.vvyId}&brdId=${this.brdId}&mnfBl=${this.mnfBl}&bvmId=${this.bvmId}&sendStatus=${this.sendValue}&size=${this.pageSize}¤t=${this.current}&tradeType=${this.tradeType}&teamFlag=${teamFlag}`,
|
||||||
header: {
|
header: {
|
||||||
'Content-Type': 'application/json', //自定义请求头信息
|
'Content-Type': 'application/json', //自定义请求头信息
|
||||||
'Authorization': `Bearer ${this.loginObj.access_token}`
|
'Authorization': `Bearer ${this.loginObj.access_token}`
|
||||||
|
@ -1431,6 +1433,7 @@
|
||||||
},
|
},
|
||||||
// 点击卸船要求
|
// 点击卸船要求
|
||||||
ask(type) {
|
ask(type) {
|
||||||
|
this.initAsk() // 获取装船要求
|
||||||
this.$refs.popup2.open(type)
|
this.$refs.popup2.open(type)
|
||||||
},
|
},
|
||||||
// 卸船要求确认
|
// 卸船要求确认
|
||||||
|
@ -2728,6 +2731,13 @@
|
||||||
/deep/.uni-select__input-text {
|
/deep/.uni-select__input-text {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
/deep/.is-textarea {
|
||||||
|
width: 77vw;
|
||||||
|
height: 21vh;
|
||||||
|
}
|
||||||
|
/deep/.uni-easyinput__content-textarea {
|
||||||
|
height: 20vh;
|
||||||
|
}
|
||||||
|
|
||||||
.popupBtn {
|
.popupBtn {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
@ -2757,7 +2767,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.popupBox2 {
|
.popupBox2 {
|
||||||
width: 500px;
|
width: 80vw;
|
||||||
|
height: 38vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 右侧抽屉筛选
|
// 右侧抽屉筛选
|
||||||
|
|
|
@ -200,7 +200,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="cell">
|
<view class="cell">
|
||||||
<text>型号:</text>
|
<text>型号:</text>
|
||||||
<text>{{item2.bvdName}}</text>
|
<text>{{item2.model}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -283,7 +283,7 @@
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<view class="tjInfo" v-for="(item,index) in jobProgressList" :key="item.id" @click="jobProgress(item,index,'zzl')" :class="{active:jobActive == index || brdName == item.label || potName == item.label || mnfBl == item.label}">
|
<view class="tjInfo" v-for="(item,index) in jobProgressList" :key="item.id" @click="jobProgress(item,index,'fzl')" :class="{active:jobActive == index || brdName == item.label || potName == item.label || mnfBl == item.label}">
|
||||||
<view class="label">{{ item.label }}</view>
|
<view class="label">{{ item.label }}</view>
|
||||||
<lx-progress-bar title="" :total="item.totalProgress" :firstValue="item.progress"
|
<lx-progress-bar title="" :total="item.totalProgress" :firstValue="item.progress"
|
||||||
contentColor="#0067CF"
|
contentColor="#0067CF"
|
||||||
|
@ -422,7 +422,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="cell">
|
<view class="cell">
|
||||||
<text>型号:</text>
|
<text>型号:</text>
|
||||||
<text>{{item2.bvdName}}</text>
|
<text>{{item2.model}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -790,7 +790,7 @@
|
||||||
this.getBrand() // 获取品牌
|
this.getBrand() // 获取品牌
|
||||||
this.getBvm() // 获取车型
|
this.getBvm() // 获取车型
|
||||||
this.getRoleId() // 获取角色ID
|
this.getRoleId() // 获取角色ID
|
||||||
this.initAsk() // 获取装船要求
|
// this.initAsk() // 获取装船要求
|
||||||
this.getStatistics() // 获取统计数据
|
this.getStatistics() // 获取统计数据
|
||||||
this.getJobProgress() //获取卸船进度数据
|
this.getJobProgress() //获取卸船进度数据
|
||||||
},
|
},
|
||||||
|
@ -828,6 +828,8 @@
|
||||||
this.fzlFlag = true
|
this.fzlFlag = true
|
||||||
},
|
},
|
||||||
refresh() {
|
refresh() {
|
||||||
|
this.itemList = []
|
||||||
|
this.current = 1
|
||||||
if (this.tabsValue == 0 || this.tabsValue == 1) {
|
if (this.tabsValue == 0 || this.tabsValue == 1) {
|
||||||
this.domesticTrade()
|
this.domesticTrade()
|
||||||
}
|
}
|
||||||
|
@ -1253,6 +1255,7 @@
|
||||||
},
|
},
|
||||||
// 点击装船要求
|
// 点击装船要求
|
||||||
ask(type) {
|
ask(type) {
|
||||||
|
this.initAsk() // 获取装船要求
|
||||||
this.$refs.popup2.open(type)
|
this.$refs.popup2.open(type)
|
||||||
},
|
},
|
||||||
// 装船要求确认
|
// 装船要求确认
|
||||||
|
@ -2516,7 +2519,14 @@
|
||||||
/deep/.uni-select__input-text {
|
/deep/.uni-select__input-text {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
/deep/.is-textarea {
|
||||||
|
width: 77vw;
|
||||||
|
height: 21vh;
|
||||||
|
}
|
||||||
|
/deep/.uni-easyinput__content-textarea {
|
||||||
|
height: 20vh;
|
||||||
|
}
|
||||||
|
|
||||||
.popupBtn {
|
.popupBtn {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
padding: 14px 0;
|
padding: 14px 0;
|
||||||
|
@ -2545,7 +2555,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.popupBox2 {
|
.popupBox2 {
|
||||||
width: 500px;
|
width: 80vw;
|
||||||
|
height: 38vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 右侧抽屉筛选
|
// 右侧抽屉筛选
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
dcList:[
|
dcList:[
|
||||||
{
|
{
|
||||||
value: "0",
|
value: "0",
|
||||||
name: "待作业"
|
name: "未开始"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "1",
|
value: "1",
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
name: "已完成"
|
name: "已完成"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
vvyStatus:'待作业',
|
vvyStatus:'未开始',
|
||||||
operationDate:'',
|
operationDate:'',
|
||||||
startDate:'',
|
startDate:'',
|
||||||
endDate:'',
|
endDate:'',
|
||||||
|
|
|
@ -204,7 +204,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="cell">
|
<view class="cell">
|
||||||
<text>型号:</text>
|
<text>型号:</text>
|
||||||
<text>{{item2.bvdName}}</text>
|
<text>{{item2.model}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -287,7 +287,7 @@
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<view class="tjInfo" v-for="(item,index) in jobProgressList" :key="item.id" @click="jobProgress(item,index,'zzl')" :class="{active:jobActive == index || brdName == item.label || potName == item.label || mnfBl == item.label}">
|
<view class="tjInfo" v-for="(item,index) in jobProgressList" :key="item.id" @click="jobProgress(item,index,'fzl')" :class="{active:jobActive == index || brdName == item.label || potName == item.label || mnfBl == item.label}">
|
||||||
<view class="label">{{ item.label }}</view>
|
<view class="label">{{ item.label }}</view>
|
||||||
<lx-progress-bar title="" :total="item.totalProgress" :firstValue="item.progress"
|
<lx-progress-bar title="" :total="item.totalProgress" :firstValue="item.progress"
|
||||||
contentColor="#0067CF"
|
contentColor="#0067CF"
|
||||||
|
@ -427,7 +427,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="cell">
|
<view class="cell">
|
||||||
<text>型号:</text>
|
<text>型号:</text>
|
||||||
<text>{{item2.bvdName}}</text>
|
<text>{{item2.model}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -470,7 +470,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<template>
|
<template>
|
||||||
<view class="tjInfo" v-for="(item,index) in jobProgressList" :key="item.id" @click="jobProgress(item,index,'zzl')" :class="{active:jobActive == index || brdName == item.label || potName == item.label || mnfBl == item.label}">
|
<view class="tjInfo" v-for="(item,index) in jobProgressList" :key="item.id" @click="jobProgress(item,index,'bzz')" :class="{active:jobActive == index || brdName == item.label || potName == item.label || mnfBl == item.label}">
|
||||||
<view class="label">{{ item.label }}</view>
|
<view class="label">{{ item.label }}</view>
|
||||||
<lx-progress-bar title="" :total="item.totalProgress" :firstValue="item.progress"
|
<lx-progress-bar title="" :total="item.totalProgress" :firstValue="item.progress"
|
||||||
contentColor="#0067CF"
|
contentColor="#0067CF"
|
||||||
|
@ -587,7 +587,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="cell">
|
<view class="cell">
|
||||||
<text>型号:</text>
|
<text>型号:</text>
|
||||||
<text>{{item2.bvdName}}</text>
|
<text>{{item2.model}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -680,7 +680,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="heightBox">
|
<view class="heightBox">
|
||||||
{{item.tierHeight}}m
|
<view v-for="(itex,index) in item.tierHeightListCo" :key="index">{{ itex }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
@ -1096,7 +1096,7 @@
|
||||||
this.getBrand() // 获取品牌
|
this.getBrand() // 获取品牌
|
||||||
this.getBvm() // 获取车型
|
this.getBvm() // 获取车型
|
||||||
this.getRoleId() // 获取角色ID
|
this.getRoleId() // 获取角色ID
|
||||||
this.initAsk() // 获取装船要求
|
// this.initAsk() // 获取装船要求
|
||||||
this.getStatistics() // 获取统计数据
|
this.getStatistics() // 获取统计数据
|
||||||
this.getPotList()
|
this.getPotList()
|
||||||
this.getImgInfo()
|
this.getImgInfo()
|
||||||
|
@ -1146,6 +1146,8 @@
|
||||||
},
|
},
|
||||||
// 刷新
|
// 刷新
|
||||||
refresh() {
|
refresh() {
|
||||||
|
this.itemList = []
|
||||||
|
this.current = 1
|
||||||
if (this.tabsValue == 1 || this.tabsValue == 2) {
|
if (this.tabsValue == 1 || this.tabsValue == 2) {
|
||||||
this.loadOtherOrder()
|
this.loadOtherOrder()
|
||||||
} else if (this.tabsValue == 0) {
|
} else if (this.tabsValue == 0) {
|
||||||
|
@ -1279,9 +1281,7 @@
|
||||||
},
|
},
|
||||||
method: 'GET', //请求方式,必须为大写
|
method: 'GET', //请求方式,必须为大写
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
// this.itemList.push(...res.data.data.records)
|
this.itemList.push(...res.data.data.records)
|
||||||
this.itemList = []
|
|
||||||
this.itemList = res.data.data.records
|
|
||||||
if (res.data.data.records.length == 10) {
|
if (res.data.data.records.length == 10) {
|
||||||
this.current++
|
this.current++
|
||||||
this.loadSumOrder()
|
this.loadSumOrder()
|
||||||
|
@ -1459,7 +1459,8 @@
|
||||||
method: 'POST', //请求方式,必须为大写
|
method: 'POST', //请求方式,必须为大写
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
this.$refs.popup.close()
|
this.$refs.popup.close()
|
||||||
if (res.status == 200) {
|
console.log('res',res);
|
||||||
|
if (res.data.status == 200 || res.data.data) {
|
||||||
this.itemList = []
|
this.itemList = []
|
||||||
this.current = 1
|
this.current = 1
|
||||||
this.delValue = true
|
this.delValue = true
|
||||||
|
@ -1653,6 +1654,7 @@
|
||||||
},
|
},
|
||||||
// 点击装船要求
|
// 点击装船要求
|
||||||
ask(type) {
|
ask(type) {
|
||||||
|
this.initAsk() // 获取装船要求
|
||||||
this.$refs.popup2.open(type)
|
this.$refs.popup2.open(type)
|
||||||
},
|
},
|
||||||
// 装船要求确认
|
// 装船要求确认
|
||||||
|
@ -2818,6 +2820,7 @@
|
||||||
|
|
||||||
/deep/.uni-table-td {
|
/deep/.uni-table-td {
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3065,6 +3068,13 @@
|
||||||
/deep/.uni-select__input-text {
|
/deep/.uni-select__input-text {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
/deep/.is-textarea {
|
||||||
|
width: 77vw;
|
||||||
|
height: 21vh;
|
||||||
|
}
|
||||||
|
/deep/.uni-easyinput__content-textarea {
|
||||||
|
height: 20vh;
|
||||||
|
}
|
||||||
|
|
||||||
.popupBtn {
|
.popupBtn {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
@ -3094,7 +3104,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.popupBox2 {
|
.popupBox2 {
|
||||||
width: 500px;
|
width: 80vw;
|
||||||
|
height: 38vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 右侧抽屉筛选
|
// 右侧抽屉筛选
|
||||||
|
|
|
@ -245,7 +245,7 @@
|
||||||
},
|
},
|
||||||
dropTable() {
|
dropTable() {
|
||||||
console.log('删除表');
|
console.log('删除表');
|
||||||
let sql = 'DROP TABLE shipOption;'
|
let sql = 'DROP TABLE workMessageRespInfoList'
|
||||||
this.executeSql(sql)
|
this.executeSql(sql)
|
||||||
},
|
},
|
||||||
dropData() {
|
dropData() {
|
||||||
|
@ -541,6 +541,44 @@
|
||||||
ptrEnDesc:''
|
ptrEnDesc:''
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
// 机械类型
|
||||||
|
this.downloadData.pmtType.forEach(v => {
|
||||||
|
this.optionData.push({
|
||||||
|
dictionariesName: "pmtType",
|
||||||
|
ptrCode: v.ptrCode,
|
||||||
|
ptrDesc: v.ptrDesc,
|
||||||
|
ptrEnDesc:v.ptrEnDesc
|
||||||
|
})
|
||||||
|
})
|
||||||
|
// 超长类型
|
||||||
|
this.downloadData.pubTypeLengthType.forEach(v => {
|
||||||
|
this.optionData.push({
|
||||||
|
dictionariesName: "pubTypeLengthType",
|
||||||
|
ptrCode: v.ptrCode,
|
||||||
|
ptrDesc: v.ptrDesc,
|
||||||
|
ptrEnDesc:v.ptrEnDesc
|
||||||
|
})
|
||||||
|
})
|
||||||
|
// 港区类型
|
||||||
|
this.downloadData.portDetail.forEach(v => {
|
||||||
|
this.optionData.push({
|
||||||
|
dictionariesName: "portDetail",
|
||||||
|
ptrCode: v.ptrCode,
|
||||||
|
ptrDesc: v.ptrDesc,
|
||||||
|
ptrEnDesc:v.ptrEnDesc
|
||||||
|
})
|
||||||
|
})
|
||||||
|
// 提单号数据
|
||||||
|
this.downloadData.mnfBlByVvyId.forEach(item => {
|
||||||
|
item.mnfBls.forEach(v => {
|
||||||
|
this.optionData.push({
|
||||||
|
dictionariesName: "mnfBlByVvyId",
|
||||||
|
ptrCode: '',
|
||||||
|
ptrDesc: v,
|
||||||
|
ptrEnDesc:''
|
||||||
|
})
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
// 存下拉到数据库
|
// 存下拉到数据库
|
||||||
this.xlData(item.vtpId)
|
this.xlData(item.vtpId)
|
||||||
|
@ -576,8 +614,8 @@
|
||||||
if (v.workMessageDetailRespDTOS.length > 0) {
|
if (v.workMessageDetailRespDTOS.length > 0) {
|
||||||
v.workMessageDetailRespDTOS.forEach(v2 => {
|
v.workMessageDetailRespDTOS.forEach(v2 => {
|
||||||
let sql2 = `insert into workMessageRespInfoList values('${v2.wkdId}','${this.vtpId}','${v2.wkmId}','${v2.carType}',
|
let sql2 = `insert into workMessageRespInfoList values('${v2.wkdId}','${this.vtpId}','${v2.wkmId}','${v2.carType}',
|
||||||
'${v2.carTypeName}','${v2.goodsNumber}','${v2.loadingType}','${v2.loadingTypeName}','${v2.remark}',
|
'${v2.carTypeName}','${v2.goodsNumber}','${v2.loadingType}','${v2.loadingTypeName}','${v2.remark}','${v2.mnfBl}',
|
||||||
'${webStatus}','${v.createTime}')`
|
'${v2.weight}','${v2.volume}','${v2.lengthType}','${v2.pmtType}','${webStatus}','${v.createTime}')`
|
||||||
this.executeSql(sql2)
|
this.executeSql(sql2)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -1008,7 +1046,6 @@
|
||||||
})
|
})
|
||||||
} else if (tableName == "messageRespList") {
|
} else if (tableName == "messageRespList") {
|
||||||
that.messageRespList = value
|
that.messageRespList = value
|
||||||
console.log(value)
|
|
||||||
} else if (tableName == "workMessageRespList") {
|
} else if (tableName == "workMessageRespList") {
|
||||||
that.workMessageRespList = value
|
that.workMessageRespList = value
|
||||||
that.workMessageRespList.forEach(v => {
|
that.workMessageRespList.forEach(v => {
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
textFilter }}-{{ RYSJ[0].maxEndTime | textFilter }}</text>
|
textFilter }}-{{ RYSJ[0].maxEndTime | textFilter }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<text>Berthed at Haitong:</text><text>
|
<text>Berthed at {{ portInfo }}:</text><text>
|
||||||
<checkbox-group>
|
<checkbox-group>
|
||||||
<label>
|
<label>
|
||||||
1
|
1
|
||||||
|
@ -757,7 +757,9 @@ export default {
|
||||||
JSGR: [],
|
JSGR: [],
|
||||||
RYSJ: [],
|
RYSJ: [],
|
||||||
carList:[],
|
carList:[],
|
||||||
weatherList:[]
|
weatherList:[],
|
||||||
|
portInfo:'',
|
||||||
|
portObj:{}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
|
@ -767,6 +769,7 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.vtpId = uni.getStorageSync('vtpId')
|
this.vtpId = uni.getStorageSync('vtpId')
|
||||||
|
this.portObj = uni.getStorageSync('portObj')
|
||||||
let that = this
|
let that = this
|
||||||
that.executeSql2()
|
that.executeSql2()
|
||||||
that.executeSql('shipInfoTable')
|
that.executeSql('shipInfoTable')
|
||||||
|
@ -870,6 +873,10 @@ export default {
|
||||||
this.carList.push(item)
|
this.carList.push(item)
|
||||||
} else if(item.dictionariesName == 'weather') {
|
} else if(item.dictionariesName == 'weather') {
|
||||||
this.weatherList.push(item)
|
this.weatherList.push(item)
|
||||||
|
} else if(item.dictionariesName == 'portDetail') {
|
||||||
|
if(item.ptrDesc == this.portObj.portName) {
|
||||||
|
this.portInfo = item.ptrEnDesc
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,6 +91,32 @@
|
||||||
@change="fsChange(item,index,item2,index2,'left')"
|
@change="fsChange(item,index,item2,index2,'left')"
|
||||||
placeholder="请选择装卸方式"></uni-data-select>
|
placeholder="请选择装卸方式"></uni-data-select>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="li widthLi">
|
||||||
|
<p class="liTitle">提单号:</p>
|
||||||
|
<uni-data-select v-model="item2.mnfBl" :localdata="mnfBlList"
|
||||||
|
placeholder="请选择提单号"></uni-data-select>
|
||||||
|
</view>
|
||||||
|
<view class="li widthLi">
|
||||||
|
<p class="liTitle">重量:</p>
|
||||||
|
<uni-easyinput type="digit" v-model="item2.weight"
|
||||||
|
placeholder="请输入重量"></uni-easyinput>
|
||||||
|
</view>
|
||||||
|
<view class="li widthLi">
|
||||||
|
<p class="liTitle">体积:</p>
|
||||||
|
<uni-easyinput type="digit" v-model="item2.volume"
|
||||||
|
placeholder="请输入体积"></uni-easyinput>
|
||||||
|
</view>
|
||||||
|
<view class="li widthLi">
|
||||||
|
<p class="liTitle">超长类型:</p>
|
||||||
|
<uni-data-select v-model="item2.lengthType" :localdata="lengthTypeList"
|
||||||
|
placeholder="请选择超长类型"></uni-data-select>
|
||||||
|
</view>
|
||||||
|
<view class="li widthLi">
|
||||||
|
<p class="liTitle">使用机械:</p>
|
||||||
|
<uni-data-select v-model="item2.pmtType" :localdata="pmtTypeList"
|
||||||
|
placeholder="请选择使用机械"></uni-data-select>
|
||||||
|
</view>
|
||||||
|
|
||||||
<view class="li widthLi iLi">
|
<view class="li widthLi iLi">
|
||||||
<p class="liTitle">备注:</p>
|
<p class="liTitle">备注:</p>
|
||||||
<uni-easyinput type="textarea" v-model="item2.remark"
|
<uni-easyinput type="textarea" v-model="item2.remark"
|
||||||
|
@ -148,6 +174,32 @@
|
||||||
@change="fsChange(item,index,item2,index2,'right')"
|
@change="fsChange(item,index,item2,index2,'right')"
|
||||||
placeholder="请选择装卸方式"></uni-data-select>
|
placeholder="请选择装卸方式"></uni-data-select>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="li widthLi">
|
||||||
|
<p class="liTitle">提单号:</p>
|
||||||
|
<uni-data-select v-model="item2.mnfBl" :localdata="mnfBlList"
|
||||||
|
placeholder="请选择提单号"></uni-data-select>
|
||||||
|
</view>
|
||||||
|
<view class="li widthLi">
|
||||||
|
<p class="liTitle">重量:</p>
|
||||||
|
<uni-easyinput type="digit" v-model="item2.weight"
|
||||||
|
placeholder="请输入重量"></uni-easyinput>
|
||||||
|
</view>
|
||||||
|
<view class="li widthLi">
|
||||||
|
<p class="liTitle">体积:</p>
|
||||||
|
<uni-easyinput type="digit" v-model="item2.volume"
|
||||||
|
placeholder="请输入体积"></uni-easyinput>
|
||||||
|
</view>
|
||||||
|
<view class="li widthLi">
|
||||||
|
<p class="liTitle">超长类型:</p>
|
||||||
|
<uni-data-select v-model="item2.lengthType" :localdata="lengthTypeList"
|
||||||
|
placeholder="请选择超长类型"></uni-data-select>
|
||||||
|
</view>
|
||||||
|
<view class="li widthLi">
|
||||||
|
<p class="liTitle">使用机械:</p>
|
||||||
|
<uni-data-select v-model="item2.pmtType" :localdata="pmtTypeList"
|
||||||
|
placeholder="请选择使用机械"></uni-data-select>
|
||||||
|
</view>
|
||||||
|
|
||||||
<view class="li widthLi iLi">
|
<view class="li widthLi iLi">
|
||||||
<p class="liTitle">备注:</p>
|
<p class="liTitle">备注:</p>
|
||||||
<uni-easyinput type="textarea" v-model="item2.remark"
|
<uni-easyinput type="textarea" v-model="item2.remark"
|
||||||
|
@ -403,7 +455,10 @@
|
||||||
flag: true,
|
flag: true,
|
||||||
lotusLoadingData: {
|
lotusLoadingData: {
|
||||||
isShow: false //设置显示加载中组件true显示false隐藏
|
isShow: false //设置显示加载中组件true显示false隐藏
|
||||||
}
|
},
|
||||||
|
mnfBlList:[],
|
||||||
|
lengthTypeList:[],
|
||||||
|
pmtTypeList:[]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
@ -448,6 +503,11 @@
|
||||||
loadingType: "",
|
loadingType: "",
|
||||||
loadingTypeName: "",
|
loadingTypeName: "",
|
||||||
remark: "",
|
remark: "",
|
||||||
|
mnfBl:'',
|
||||||
|
weight:'',
|
||||||
|
volume:'',
|
||||||
|
lengthType:'',
|
||||||
|
pmtType:''
|
||||||
}]
|
}]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
@ -685,6 +745,25 @@
|
||||||
value: v.ptrCode
|
value: v.ptrCode
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
// 提单号数据
|
||||||
|
this.optionData.forEach((v, index) => {
|
||||||
|
if (v.dictionariesName == 'mnfBlByVvyId') {
|
||||||
|
this.mnfBlList.push({
|
||||||
|
text: v.ptrDesc,
|
||||||
|
value: v.ptrDesc
|
||||||
|
})
|
||||||
|
} else if(v.dictionariesName == 'pubTypeLengthType') {
|
||||||
|
this.lengthTypeList.push({
|
||||||
|
text: v.ptrDesc,
|
||||||
|
value: v.ptrCode
|
||||||
|
})
|
||||||
|
} else if(v.dictionariesName == 'pmtType') {
|
||||||
|
this.pmtTypeList.push({
|
||||||
|
text: v.ptrDesc,
|
||||||
|
value: v.ptrCode
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
//状态为编辑获取数据
|
//状态为编辑获取数据
|
||||||
editData() {
|
editData() {
|
||||||
|
@ -791,6 +870,11 @@
|
||||||
loadingType: "",
|
loadingType: "",
|
||||||
loadingTypeName: "",
|
loadingTypeName: "",
|
||||||
remark: "",
|
remark: "",
|
||||||
|
mnfBl:'',
|
||||||
|
weight:'',
|
||||||
|
volume:'',
|
||||||
|
lengthType:'',
|
||||||
|
pmtType:''
|
||||||
}],
|
}],
|
||||||
}
|
}
|
||||||
this.addItem(item)
|
this.addItem(item)
|
||||||
|
@ -807,6 +891,11 @@
|
||||||
loadingType: "",
|
loadingType: "",
|
||||||
loadingTypeName: "",
|
loadingTypeName: "",
|
||||||
remark: "",
|
remark: "",
|
||||||
|
mnfBl:'',
|
||||||
|
weight:'',
|
||||||
|
volume:'',
|
||||||
|
lengthType:'',
|
||||||
|
pmtType:''
|
||||||
})
|
})
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
@ -821,6 +910,11 @@
|
||||||
loadingType: "",
|
loadingType: "",
|
||||||
loadingTypeName: "",
|
loadingTypeName: "",
|
||||||
remark: "",
|
remark: "",
|
||||||
|
mnfBl:'',
|
||||||
|
weight:'',
|
||||||
|
volume:'',
|
||||||
|
lengthType:'',
|
||||||
|
pmtType:''
|
||||||
})
|
})
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
@ -1232,6 +1326,7 @@
|
||||||
},
|
},
|
||||||
// 工班信息删除
|
// 工班信息删除
|
||||||
delGb(item, index) {
|
delGb(item, index) {
|
||||||
|
console.log('item',item);
|
||||||
this.leftUlList1.splice(index, 1)
|
this.leftUlList1.splice(index, 1)
|
||||||
if (item.webId != null) {
|
if (item.webId != null) {
|
||||||
this.shiftDelList.push(item.webId)
|
this.shiftDelList.push(item.webId)
|
||||||
|
@ -1579,7 +1674,8 @@
|
||||||
let sql2 =
|
let sql2 =
|
||||||
`UPDATE workMessageRespInfoList SET carType = '${this.ulList1[i].ulList2[j].carType}',carTypeName = '${this.ulList1[i].ulList2[j].carTypeName}',
|
`UPDATE workMessageRespInfoList SET carType = '${this.ulList1[i].ulList2[j].carType}',carTypeName = '${this.ulList1[i].ulList2[j].carTypeName}',
|
||||||
goodsNumber = '${this.ulList1[i].ulList2[j].goodsNumber}', loadingType = '${this.ulList1[i].ulList2[j].loadingType}',
|
goodsNumber = '${this.ulList1[i].ulList2[j].goodsNumber}', loadingType = '${this.ulList1[i].ulList2[j].loadingType}',
|
||||||
loadingTypeName = '${this.ulList1[i].ulList2[j].loadingTypeName}', remark = '${this.ulList1[i].ulList2[j].remark}',
|
loadingTypeName = '${this.ulList1[i].ulList2[j].loadingTypeName}', remark = '${this.ulList1[i].ulList2[j].remark}', mnfBl = '${this.ulList1[i].ulList2[j].mnfBl}',
|
||||||
|
weight = '${this.ulList1[i].ulList2[j].weight}', volume = '${this.ulList1[i].ulList2[j].volume}', lengthType = '${this.ulList1[i].ulList2[j].lengthType}', pmtType = '${this.ulList1[i].ulList2[j].pmtType}',
|
||||||
webStatus = '${webStatus}', webDate = '${webDate}' WHERE webId = '${this.ulList1[i].ulList2[j].webId}';`
|
webStatus = '${webStatus}', webDate = '${webDate}' WHERE webId = '${this.ulList1[i].ulList2[j].webId}';`
|
||||||
this.executeSql(sql2)
|
this.executeSql(sql2)
|
||||||
} else {
|
} else {
|
||||||
|
@ -1588,7 +1684,8 @@
|
||||||
let sql2 =
|
let sql2 =
|
||||||
`insert into workMessageRespInfoList values('${webId2}','${this.vtpId}','${this.ulList1[i].webId}','${this.ulList1[i].ulList2[j].carType}',
|
`insert into workMessageRespInfoList values('${webId2}','${this.vtpId}','${this.ulList1[i].webId}','${this.ulList1[i].ulList2[j].carType}',
|
||||||
'${this.ulList1[i].ulList2[j].carTypeName}','${this.ulList1[i].ulList2[j].goodsNumber}','${this.ulList1[i].ulList2[j].loadingType}',
|
'${this.ulList1[i].ulList2[j].carTypeName}','${this.ulList1[i].ulList2[j].goodsNumber}','${this.ulList1[i].ulList2[j].loadingType}',
|
||||||
'${this.ulList1[i].ulList2[j].loadingTypeName}','${this.ulList1[i].ulList2[j].remark}','${webStatus}','${webDate}')`
|
'${this.ulList1[i].ulList2[j].loadingTypeName}','${this.ulList1[i].ulList2[j].remark}','${this.ulList1[i].ulList2[j].mnfBl}','${this.ulList1[i].ulList2[j].weight}',
|
||||||
|
'${this.ulList1[i].ulList2[j].volume}','${this.ulList1[i].ulList2[j].lengthType}','${this.ulList1[i].ulList2[j].pmtType}','${webStatus}','${webDate}')`
|
||||||
this.executeSql(sql2)
|
this.executeSql(sql2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1607,7 +1704,8 @@
|
||||||
let sql2 =
|
let sql2 =
|
||||||
`UPDATE workMessageRespInfoList SET carType = '${this.ulList1[i].ulList2[j].carType}',carTypeName = '${this.ulList1[i].ulList2[j].carTypeName}',
|
`UPDATE workMessageRespInfoList SET carType = '${this.ulList1[i].ulList2[j].carType}',carTypeName = '${this.ulList1[i].ulList2[j].carTypeName}',
|
||||||
goodsNumber = '${this.ulList1[i].ulList2[j].goodsNumber}', loadingType = '${this.ulList1[i].ulList2[j].loadingType}',
|
goodsNumber = '${this.ulList1[i].ulList2[j].goodsNumber}', loadingType = '${this.ulList1[i].ulList2[j].loadingType}',
|
||||||
loadingTypeName = '${this.ulList1[i].ulList2[j].loadingTypeName}', remark = '${this.ulList1[i].ulList2[j].remark}',
|
loadingTypeName = '${this.ulList1[i].ulList2[j].loadingTypeName}', remark = '${this.ulList1[i].ulList2[j].remark}', mnfBl = '${this.ulList1[i].ulList2[j].mnfBl}',
|
||||||
|
weight = '${this.ulList1[i].ulList2[j].weight}', volume = '${this.ulList1[i].ulList2[j].volume}', lengthType = '${this.ulList1[i].ulList2[j].lengthType}', pmtType = '${this.ulList1[i].ulList2[j].pmtType}',
|
||||||
webStatus = '${webStatus}', webDate = '${webDate}' WHERE webId = '${this.ulList1[i].ulList2[j].webId}';`
|
webStatus = '${webStatus}', webDate = '${webDate}' WHERE webId = '${this.ulList1[i].ulList2[j].webId}';`
|
||||||
this.executeSql(sql2)
|
this.executeSql(sql2)
|
||||||
} else {
|
} else {
|
||||||
|
@ -1616,7 +1714,8 @@
|
||||||
let sql2 =
|
let sql2 =
|
||||||
`insert into workMessageRespInfoList values('${webId2}','${this.vtpId}','${webId}','${this.ulList1[i].ulList2[j].carType}',
|
`insert into workMessageRespInfoList values('${webId2}','${this.vtpId}','${webId}','${this.ulList1[i].ulList2[j].carType}',
|
||||||
'${this.ulList1[i].ulList2[j].carTypeName}','${this.ulList1[i].ulList2[j].goodsNumber}','${this.ulList1[i].ulList2[j].loadingType}',
|
'${this.ulList1[i].ulList2[j].carTypeName}','${this.ulList1[i].ulList2[j].goodsNumber}','${this.ulList1[i].ulList2[j].loadingType}',
|
||||||
'${this.ulList1[i].ulList2[j].loadingTypeName}','${this.ulList1[i].ulList2[j].remark}','${webStatus}','${webDate}')`
|
'${this.ulList1[i].ulList2[j].loadingTypeName}','${this.ulList1[i].ulList2[j].remark}','${this.ulList1[i].ulList2[j].mnfBl}','${this.ulList1[i].ulList2[j].weight}',
|
||||||
|
'${this.ulList1[i].ulList2[j].volume}','${this.ulList1[i].ulList2[j].lengthType}','${this.ulList1[i].ulList2[j].pmtType}','${webStatus}','${webDate}')`
|
||||||
this.executeSql(sql2)
|
this.executeSql(sql2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1712,7 +1811,8 @@
|
||||||
let sql2 =
|
let sql2 =
|
||||||
`insert into workMessageRespInfoList values('${webId2}','${this.vtpId}','${webId}','${this.ulList1[i].ulList2[j].carType}',
|
`insert into workMessageRespInfoList values('${webId2}','${this.vtpId}','${webId}','${this.ulList1[i].ulList2[j].carType}',
|
||||||
'${this.ulList1[i].ulList2[j].carTypeName}','${this.ulList1[i].ulList2[j].goodsNumber}','${this.ulList1[i].ulList2[j].loadingType}',
|
'${this.ulList1[i].ulList2[j].carTypeName}','${this.ulList1[i].ulList2[j].goodsNumber}','${this.ulList1[i].ulList2[j].loadingType}',
|
||||||
'${this.ulList1[i].ulList2[j].loadingTypeName}','${this.ulList1[i].ulList2[j].remark}','${webStatus}','${webDate}')`
|
'${this.ulList1[i].ulList2[j].loadingTypeName}','${this.ulList1[i].ulList2[j].remark}','${this.ulList1[i].ulList2[j].mnfBl}','${this.ulList1[i].ulList2[j].weight}',
|
||||||
|
'${this.ulList1[i].ulList2[j].volume}','${this.ulList1[i].ulList2[j].lengthType}','${this.ulList1[i].ulList2[j].pmtType}','${webStatus}','${webDate}')`
|
||||||
this.executeSql(sql2)
|
this.executeSql(sql2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue