@@ -915,7 +915,7 @@
-
+
@@ -961,7 +961,7 @@
返回
-
+
发送状态
@@ -1001,14 +1001,14 @@
+
+
+
@@ -156,8 +188,8 @@
portObj: {},
title: "",
shipInfo: {},
- totalObj: {},
- tableHead: ["提单号", "唛头", "品牌", "车辆数", "备件数", "原残具体情况"],
+ // totalObj: {},
+ tableHead: ["提单号", "唛头", "计划数","实际数","货名", "备注", "残损信息"],
tableData: [],
rowTableHead: ["序号", "车架号", "质损发生环节", "损伤情况"],
rowTableData: [],
@@ -169,6 +201,9 @@
shipSignUrl: "",
vvyId: "",
+ askValue:"",
+ splId:'',
+ oldRemark:''
}
},
onLoad(options) {
@@ -191,7 +226,6 @@
},
method: 'GET', //请求方式,必须为大写
success: (res) => {
- console.log(res)
if (res.statusCode == 200) {
this.shipInfo = res.data.data.records[0]
this.title = `船名:${this.shipInfo.spmName} / 航次:${this.shipInfo.vvyName} 装卸货物交接计数单`
@@ -212,8 +246,8 @@
method: 'GET', //请求方式,必须为大写
success: (res) => {
if (res.statusCode == 200) {
- if(res.data.data.plan.records) this.tableData = res.data.data.plan.records
- if(res.data.data.count) this.totalObj = res.data.data.count
+ if(res.data.data.plan) this.tableData = res.data.data.plan
+ // if(res.data.data.count) this.totalObj = res.data.data.count
}
}
})
@@ -288,6 +322,45 @@
url: '/pages/receipt/sign?params=' + params
})
},
+ // 打开备注弹框
+ openRemark(e) {
+ if(e.handoverRemark) {
+ this.askValue = e.handoverRemark
+ } else {
+ this.askValue = e.handoverNativeRemark
+ }
+ this.oldRemark = e.handoverNativeRemark
+ this.splId = e.splId
+ this.$refs.popup2.open('center')
+ },
+ // 备注确认
+ zcConfirm() {
+ let obj = {
+ vvyId:this.shipInfo.vvyId,
+ splId:this.splId,
+ oldRemark:this.oldRemark,
+ remark:this.askValue
+ }
+ uni.request({
+ url: `${this.$local}/shp/iEDeliverySlipController/saveRemak`,
+ data: obj,
+ header: {
+ 'Content-Type': 'application/json', //自定义请求头信息
+ 'Authorization': `Bearer ${this.loginObj.access_token}`
+ },
+ method: 'POST', //请求方式,必须为大写
+ success: (res) => {
+ if (res.statusCode == 200) {
+ this.getInfo()
+ }
+ }
+ })
+ this.$refs.popup2.close()
+ },
+ // 备注取消
+ zcCancel() {
+ this.$refs.popup2.close()
+ },
},
}
@@ -362,11 +435,11 @@
.infoList {
display: flex;
justify-content: space-around;
- flex-wrap: wrap;
+ // flex-wrap: wrap;
font-size: 14px;
color: #23262E;
margin-top: 16px;
- padding: 0 60px;
+ padding: 0 15px;
.li {
display: flex;
@@ -545,6 +618,90 @@
height: 400px;
overflow: scroll;
}
+ .popupBox {
+ width: 400px;
+ background-color: #fff;
+ border-radius: 8px;
+
+ .popupTitle {
+ font-size: 20px;
+ font-weight: bold;
+ border-bottom: 1px solid #ccc;
+ padding: 5px 0;
+ text-align: center;
+ }
+
+ .popupInfo {
+ display: flex;
+ margin-top: 20px;
+ line-height: 35px;
+ margin-left: 20px;
+
+ /deep/.superwei-combox {
+ border: none;
+ padding: 0;
+ }
+
+ /deep/.componentW100 {
+ width: 300px;
+ }
+
+ /deep/.uni-icons {
+ margin-right: 12px;
+ }
+ }
+
+ /deep/.uni-easyinput {
+ // margin-top: 20px;
+ width: 460px;
+ margin-left: 20px;
+ }
+
+ /deep/.uni-select__input-placeholder {
+ text-align: left;
+ }
+
+ /deep/.uni-select__input-text {
+ text-align: left;
+ }
+ /deep/.is-textarea {
+ width: 57vw;
+ height: 10vh;
+ }
+ /deep/.uni-easyinput__content-textarea {
+ height: 10vh;
+ }
+
+ .popupBtn {
+ margin-top: 20px;
+ padding: 14px 0;
+ display: flex;
+ justify-content: center;
+
+ .btnList {
+ display: flex;
+
+ .button {
+ width: 125px;
+ height: 36px;
+ line-height: 36px;
+ margin-left: 15px;
+ border-radius: 4px;
+ }
+
+ .button:first-child {
+ background-color: #fff;
+ border: 1px solid #0067CF;
+ color: #0067CF;
+ }
+ }
+
+ }
+ }
+ .popupBox2 {
+ width: 60vw;
+ height: 17vh;
+ }
}
}
\ No newline at end of file
diff --git a/pages/shipWork/mixWork.vue b/pages/shipWork/mixWork.vue
index 073e72b..ab1d8b0 100644
--- a/pages/shipWork/mixWork.vue
+++ b/pages/shipWork/mixWork.vue
@@ -18,7 +18,7 @@
航次:{{item.vvyName}}
- 贸易类型:{{shipInfo.spmTradeName}}
+ 贸易类型:{{shipInfo[0].tradeTypeName}}
进出口:{{item.importExportFlagName}}
作业组数:{{item.workSuite}}
单船人数:{{item.shipPerson}}
@@ -105,7 +105,7 @@
data() {
return {
title: "船只 - 杂项作业单",
- shipInfo: {},
+ shipInfo: [],
vtpId: "",
tabsValue: 0,
// 人员信息列表
@@ -124,7 +124,7 @@
this.vtpId = uni.getStorageSync('vtpId')
let title = uni.getStorageSync('shipWorkTitle')
this.title = `${title} / 杂项作业单 `
- this.executeSql1('shipInfoTable')
+ this.executeSql1('voyageScheduleDataDetailRespDTOList')
if (this.tabsValue == 0) {
this.executeSql1('messageRespList')
} else {
@@ -139,8 +139,8 @@
executeSql1(tableName) {
let sql = `select * from ${tableName} WHERE vtpId = '${this.vtpId}'`
sqlite.executeSqlCeshi(sql).then((value) => {
- if (tableName == 'shipInfoTable') {
- this.shipInfo = value[0]
+ if (tableName == 'voyageScheduleDataDetailRespDTOList') {
+ this.shipInfo = value
} else if (tableName == 'messageRespList') {
this.peopleInfo = value
} else if (tableName == 'workMessageRespList' && value.length > 0) {
diff --git a/pages/shipWork/notice.vue b/pages/shipWork/notice.vue
index 5c31eb1..fbacbb5 100644
--- a/pages/shipWork/notice.vue
+++ b/pages/shipWork/notice.vue
@@ -14,7 +14,7 @@
进出口:{{item.importExportFlagName}}
- 贸易类型:{{shipInfo.spmTradeName}}
+ 贸易类型:{{shipInfo[0].tradeTypeName}}
作业日期:{{item.workDate}}
@@ -32,7 +32,7 @@
data() {
return {
title: "船名 - 船舶装卸通知书",
- shipInfo: {},
+ shipInfo: [],
infoList: [],
vtpId: "",
}
@@ -42,7 +42,7 @@
let title = uni.getStorageSync('shipWorkTitle')
this.title = `${title} / 船舶装卸通知书 `
this.executeSql1('shipmentLoadUnloadNoticeRespList')
- this.executeSql1('shipInfoTable')
+ this.executeSql1('voyageScheduleDataDetailRespDTOList')
},
methods: {
// 查
@@ -50,8 +50,8 @@
let sql = `select * from ${tableName} WHERE vtpId = '${this.vtpId}'`
sqlite.executeSqlCeshi(sql).then((value) => {
// 在resolve时执行的回调函数
- if (tableName == 'shipInfoTable') {
- this.shipInfo = value[0]
+ if (tableName == 'voyageScheduleDataDetailRespDTOList') {
+ this.shipInfo = value
} else {
this.infoList = value
}
diff --git a/pages/shipWork/supply.vue b/pages/shipWork/supply.vue
index 44cd165..c30fb78 100644
--- a/pages/shipWork/supply.vue
+++ b/pages/shipWork/supply.vue
@@ -15,7 +15,7 @@
类型:{{item.supplyType}}
进出口:{{item.importExportFlagName}}
- 贸易类型:{{shipInfo.spmTradeName}}
+ 贸易类型:{{shipInfo[0].tradeTypeName}}
日期:{{item.supplyDate}}
@@ -51,7 +51,7 @@
data() {
return {
title: "船只 - 供给",
- shipInfo: {},
+ shipInfo: [],
infoList: [],
vtpId: "",
}
@@ -61,7 +61,7 @@
let title = uni.getStorageSync('shipWorkTitle')
this.title = `${title} / 供给 `
this.executeSql1('shipmentShipSupplyRespList')
- this.executeSql1('shipInfoTable')
+ this.executeSql1('voyageScheduleDataDetailRespDTOList')
},
methods: {
// 查
@@ -69,8 +69,8 @@
let sql = `select * from ${tableName} WHERE vtpId = '${this.vtpId}'`
sqlite.executeSqlCeshi(sql).then((value) => {
// 在resolve时执行的回调函数
- if (tableName == 'shipInfoTable') {
- this.shipInfo = value[0]
+ if (tableName == 'voyageScheduleDataDetailRespDTOList') {
+ this.shipInfo = value
} else {
this.infoList = value
}
diff --git a/pages/shipWork/untieCord.vue b/pages/shipWork/untieCord.vue
index 3770b78..844c104 100644
--- a/pages/shipWork/untieCord.vue
+++ b/pages/shipWork/untieCord.vue
@@ -14,7 +14,7 @@
进出口:{{item.importExportFlagName}}
- 贸易类型:{{shipInfo.spmTradeName}}
+ 贸易类型:{{shipInfo[0].tradeTypeName}}
泊位:{{item.bthIdName}}
系缆时间:{{item.attachTime}}
@@ -51,7 +51,7 @@
data() {
return {
title: "船只 - 系解缆",
- shipInfo: {},
+ shipInfo: [],
infoList: [],
vtpId: "",
}
@@ -60,8 +60,8 @@
this.vtpId = uni.getStorageSync('vtpId')
let title = uni.getStorageSync('shipWorkTitle')
this.title = `${title} / 系解缆 `
+ this.executeSql1('voyageScheduleDataDetailRespDTOList')
this.executeSql1('attachUnmoorRespList')
- this.executeSql1('shipInfoTable')
},
methods: {
// 查
@@ -69,8 +69,8 @@
let sql = `select * from ${tableName} WHERE vtpId = '${this.vtpId}'`
sqlite.executeSqlCeshi(sql).then((value) => {
// 在resolve时执行的回调函数
- if (tableName == 'shipInfoTable') {
- this.shipInfo = value[0]
+ if (tableName == 'voyageScheduleDataDetailRespDTOList') {
+ this.shipInfo = value
} else {
this.infoList = value
}
diff --git a/pages/shipWork/workAssign.vue b/pages/shipWork/workAssign.vue
index fe56258..0397807 100644
--- a/pages/shipWork/workAssign.vue
+++ b/pages/shipWork/workAssign.vue
@@ -14,7 +14,7 @@
进出口:{{item.importExportFlagName}}
- 贸易类型:{{shipInfo.spmTradeName}}
+ 贸易类型:{{shipInfo[0].tradeTypeName}}
作业时间:{{item.startTime}} - {{item.endTime}}
@@ -32,7 +32,7 @@
data() {
return {
title: "船只 - 指导员作业布置",
- shipInfo: {},
+ shipInfo: [],
infoList: [],
vtpId: "",
}
@@ -42,7 +42,7 @@
let title = uni.getStorageSync('shipWorkTitle')
this.title = `${title} / 指导员作业布置 `
this.executeSql1('shipmentAdviserLayoutRespList')
- this.executeSql1('shipInfoTable')
+ this.executeSql1('voyageScheduleDataDetailRespDTOList')
},
methods: {
// 查
@@ -50,8 +50,8 @@
let sql = `select * from ${tableName} WHERE vtpId = '${this.vtpId}'`
sqlite.executeSqlCeshi(sql).then((value) => {
// 在resolve时执行的回调函数
- if (tableName == 'shipInfoTable') {
- this.shipInfo = value[0]
+ if (tableName == 'voyageScheduleDataDetailRespDTOList') {
+ this.shipInfo = value
} else {
this.infoList = value
}
diff --git a/uni_modules/custom-tabs/components/custom-tabs/custom-tabs.vue b/uni_modules/custom-tabs/components/custom-tabs/custom-tabs.vue
index d8fe48c..eeb2cee 100644
--- a/uni_modules/custom-tabs/components/custom-tabs/custom-tabs.vue
+++ b/uni_modules/custom-tabs/components/custom-tabs/custom-tabs.vue
@@ -2,7 +2,7 @@
- {{item.label}}
+ {{item.label}}