diff --git a/src/views/main/BookingLedger/detail/modules/ediMore.vue b/src/views/main/BookingLedger/detail/modules/ediMore.vue index 0ba81eb..bf24471 100644 --- a/src/views/main/BookingLedger/detail/modules/ediMore.vue +++ b/src/views/main/BookingLedger/detail/modules/ediMore.vue @@ -325,6 +325,8 @@ /> + + - + @@ -349,20 +349,34 @@ @@ -764,23 +778,6 @@ - -
- - -
- -
@@ -848,7 +845,6 @@ export default { spinning: false, isUpload: false, markFlag: false, - markLoading: false, marktitle: '', refshYZloading: false, nowFirst: false, @@ -2012,6 +2008,10 @@ export default { item.bookstatus = bookstatus item.refshYzitemLoad = false item.atdLoading = false + item.rowDzMark = false + item.rowCzMark = false + item.czmarkLoading = false + item.dzmarkLoading = false let hasGoods = 0 item.goodsStatusList.map((gitem, gindex) => { if (gitem.finishTime || gitem.remark) { @@ -2104,23 +2104,26 @@ export default { addCancel() { this.addVisible = false }, - handleSaveMark(row) { + handleSaveMark(row, type) { const data = { id: row.id, czRemark: row.czRemark, dzRemark: row.dzRemark } - this.markLoading = true + if (type === 1) { + row.dzmarkLoading = true + } else { + row.czmarkLoading = true + } SaveInList(data).then(res => { if (res.success) { this.$message.success('修改成功') - this.markFlag = false - this.editRow.czRemark = row.czRemark - this.editRow.dzRemark = row.dzRemark - this.markLoading = false + row.dzmarkLoading = false + row.czmarkLoading = false } else { this.$message.error(res.message) - this.markLoading = false + row.dzmarkLoading = false + row.czmarkLoading = false } }) }, @@ -2200,6 +2203,20 @@ export default { pressEnterFun() { this.tableRefresh() }, + getFocusMark(row, type) { + if (type === 1) { + row.rowDzMark = true + } else { + row.rowCzMark = true + } + }, + getBlurMark(row, type) { + if (type === 1) { + row.rowDzMark = false + } else { + row.rowCzMark = false + } + }, remarkhover(e, data) { if (data.bookremark.length > 0) { const maxWidth = window.innerWidth diff --git a/src/views/main/Customer/addForm.vue b/src/views/main/Customer/addForm.vue index bc02c54..913419f 100644 --- a/src/views/main/Customer/addForm.vue +++ b/src/views/main/Customer/addForm.vue @@ -251,16 +251,26 @@ + + + + + + - + -