销售月评登记批量新增
This commit is contained in:
parent
194a9cca53
commit
71b7278bcd
@ -2,8 +2,8 @@
|
|||||||
<XdPageContainer class="app-container">
|
<XdPageContainer class="app-container">
|
||||||
<div slot="pageHeader"></div>
|
<div slot="pageHeader"></div>
|
||||||
<XdTable slot="pageContent" slot-scope="slotProps" :height="(slotProps.contentHeight) + 'px'"
|
<XdTable slot="pageContent" slot-scope="slotProps" :height="(slotProps.contentHeight) + 'px'"
|
||||||
storageName="batchWaybillRecord_main" ref="multipleTable" :row-class-name="tableRowClassName"
|
storageName="draftSubmitReview_main" ref="multipleTable" :row-class-name="tableRowClassName"
|
||||||
v-loading="loading" border size="mini" :data="emisQuotePriceList" :showSearch.sync="showSearch"
|
v-loading="loading" border size="mini" :data="list" :showSearch.sync="showSearch"
|
||||||
:queryParams="queryParams" :total="total" @queryTable="getList" @selection-change="handleSelectionChange"
|
:queryParams="queryParams" :total="total" @queryTable="getList" @selection-change="handleSelectionChange"
|
||||||
@sort-change="handleSortChange">
|
@sort-change="handleSortChange">
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ export default {
|
|||||||
// 总条数
|
// 总条数
|
||||||
total: 0,
|
total: 0,
|
||||||
// 报价列表表格数据
|
// 报价列表表格数据
|
||||||
emisQuotePriceList: [],
|
list: [],
|
||||||
tmpDataList: [],
|
tmpDataList: [],
|
||||||
selectionList: [],
|
selectionList: [],
|
||||||
selectionIndexList: [],
|
selectionIndexList: [],
|
||||||
@ -211,7 +211,7 @@ export default {
|
|||||||
let loadingInstance = this.$loading({
|
let loadingInstance = this.$loading({
|
||||||
text: '正在解析 ' + _index + ' 数据...'
|
text: '正在解析 ' + _index + ' 数据...'
|
||||||
})
|
})
|
||||||
this.emisQuotePriceList = [];
|
this.list = [];
|
||||||
this.tmpDataList = [];
|
this.tmpDataList = [];
|
||||||
// 组装提交的数据
|
// 组装提交的数据
|
||||||
for (let index = 0; index < results.length; index++) {
|
for (let index = 0; index < results.length; index++) {
|
||||||
@ -277,7 +277,7 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.emisQuotePriceList = this.emisQuotePriceList.concat(this.tmpDataList);
|
this.list = this.list.concat(this.tmpDataList);
|
||||||
|
|
||||||
this.tmpDataList = [];
|
this.tmpDataList = [];
|
||||||
|
|
||||||
@ -310,9 +310,9 @@ export default {
|
|||||||
let that = this;
|
let that = this;
|
||||||
this.$modal.confirm('是否确认删除').then(function () {
|
this.$modal.confirm('是否确认删除').then(function () {
|
||||||
that.selectionList.forEach((item, index) => {
|
that.selectionList.forEach((item, index) => {
|
||||||
that.emisQuotePriceList.forEach((v, i) => {
|
that.list.forEach((v, i) => {
|
||||||
if (item.index === v.index) {
|
if (item.index === v.index) {
|
||||||
that.emisQuotePriceList.splice(i, 1)
|
that.list.splice(i, 1)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user