diff --git a/src/views/modules/base/smartImport/cpts/completeTask.vue b/src/views/modules/base/smartImport/cpts/completeTask.vue
index 39224b978..3a5844321 100644
--- a/src/views/modules/base/smartImport/cpts/completeTask.vue
+++ b/src/views/modules/base/smartImport/cpts/completeTask.vue
@@ -114,7 +114,7 @@ export default {
type: String,
default: "",
},
- fileCodeP: {
+ fileCodeRow: {
type: String,
default: "",
},
@@ -174,7 +174,7 @@ export default {
async getTaskInfo() {
let url = "/actual/base/intelligentImportData/getTaskInfo";
let parm = {
- fileCode: this.fileCodeP || this.fileCode,
+ fileCode: this.fileCodeRow || this.fileCode,
};
let { data, code, msg } = await requestPost(url, parm);
if (code == 0) {
diff --git a/src/views/modules/base/smartImport/cpts/executeTask.vue b/src/views/modules/base/smartImport/cpts/executeTask.vue
index 1a5fe1402..a2373209e 100644
--- a/src/views/modules/base/smartImport/cpts/executeTask.vue
+++ b/src/views/modules/base/smartImport/cpts/executeTask.vue
@@ -128,14 +128,14 @@ export default {
};
},
props: {
- fileCode: {
- type: String,
- default: "",
- },
- fileCodeP: {
+ fileCodeRow: {
type: String,
default: "",
},
+ fileCode:{
+ type:String,
+ default:""
+ }
},
async created() {
await this.getTaskInfo();
@@ -164,7 +164,7 @@ export default {
async getProcessRate() {
let url = "/actual/base/intelligentImportData/processRate";
let parm = {
- fileCode: this.fileCode,
+ fileCode: this.fileCodeRow|| this.fileCode,
};
let res = await requestPost(url, parm);
if (res.code == 0) {
@@ -181,7 +181,7 @@ export default {
async getTaskInfo() {
let url = "/actual/base/intelligentImportData/getTaskInfo";
let parm = {
- fileCode: this.fileCodeP || this.fileCode,
+ fileCode: this.fileCodeRow || this.fileCode,
};
let { data, code, msg } = await requestPost(url, parm);
if (code == 0) {
diff --git a/src/views/modules/base/smartImport/cpts/smartImportInfo.vue b/src/views/modules/base/smartImport/cpts/smartImportInfo.vue
index cfea89b20..ef596f07f 100644
--- a/src/views/modules/base/smartImport/cpts/smartImportInfo.vue
+++ b/src/views/modules/base/smartImport/cpts/smartImportInfo.vue
@@ -30,13 +30,13 @@
@handelClickBack="handelClickBack"
@updateProgress="updateProgress"
:fileCode="fileCode"
- :fileCodeP="fileCodeP"
+ :fileCodeRow="fileCodeRow"
@updateoperatorName="updateoperatorName"
>