|
@@ -2081,11 +2081,11 @@ export default {
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
- let primary = camelCase(this.templateInfo.template?.primaryKey);
|
|
|
- let realyKey = camelCase(this.tableName + "_" + primary);
|
|
|
- if (this.ids.length > 0) {
|
|
|
+ let primary = "saleOrderId";
|
|
|
+ let realyKey = "saleOrderId";
|
|
|
+ if (this.myDelIds.length > 0) {
|
|
|
this.queryParams["execlMap"] = [];
|
|
|
- this.ids.forEach((item) => {
|
|
|
+ this.myDelIds.forEach((item) => {
|
|
|
this.queryParams.execlMap.push(
|
|
|
this.tableList.find((ttem) => {
|
|
|
return ttem[realyKey] === item;
|