销售月评登记批量新增

This commit is contained in:
wuteng 2025-07-31 10:47:40 +08:00
parent 194a9cca53
commit 71b7278bcd

View File

@ -2,8 +2,8 @@
<XdPageContainer class="app-container">
<div slot="pageHeader"></div>
<XdTable slot="pageContent" slot-scope="slotProps" :height="(slotProps.contentHeight) + 'px'"
storageName="batchWaybillRecord_main" ref="multipleTable" :row-class-name="tableRowClassName"
v-loading="loading" border size="mini" :data="emisQuotePriceList" :showSearch.sync="showSearch"
storageName="draftSubmitReview_main" ref="multipleTable" :row-class-name="tableRowClassName"
v-loading="loading" border size="mini" :data="list" :showSearch.sync="showSearch"
:queryParams="queryParams" :total="total" @queryTable="getList" @selection-change="handleSelectionChange"
@sort-change="handleSortChange">
@ -69,7 +69,7 @@
href="/static/tpl/imp_trans_quote.xls">下载导入Excel模板</el-link>
<div v-if="uploadExcelDataInfo != ''"
style="color: black;font-size: 12px;font-weight: 800;">{{
fileName }} {{ uploadExcelDataInfo }}</div>
fileName }} {{ uploadExcelDataInfo }}</div>
</el-upload>
<el-alert title="注意" type="info" description="仅允许导入“xls”或“xlsx”格式文件!" close-text="知道了">
</el-alert>
@ -110,7 +110,7 @@ export default {
// 总条数
total: 0,
// 报价列表表格数据
emisQuotePriceList: [],
list: [],
tmpDataList: [],
selectionList: [],
selectionIndexList: [],
@ -211,7 +211,7 @@ export default {
let loadingInstance = this.$loading({
text: '正在解析 ' + _index + ' 数据...'
})
this.emisQuotePriceList = [];
this.list = [];
this.tmpDataList = [];
// 组装提交的数据
for (let index = 0; index < results.length; index++) {
@ -277,7 +277,7 @@ export default {
return;
}
this.emisQuotePriceList = this.emisQuotePriceList.concat(this.tmpDataList);
this.list = this.list.concat(this.tmpDataList);
this.tmpDataList = [];
@ -310,9 +310,9 @@ export default {
let that = this;
this.$modal.confirm('是否确认删除').then(function () {
that.selectionList.forEach((item, index) => {
that.emisQuotePriceList.forEach((v, i) => {
that.list.forEach((v, i) => {
if (item.index === v.index) {
that.emisQuotePriceList.splice(i, 1)
that.list.splice(i, 1)
}
})
})