|
@ -158,9 +158,9 @@ |
|
|
@click="handleImportSap()" |
|
|
@click="handleImportSap()" |
|
|
>同步到SAP |
|
|
>同步到SAP |
|
|
</el-button> |
|
|
</el-button> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item> |
|
|
<div v-if="this.resultData && this.resultData.errSize > 0"> |
|
|
<div v-if="this.resultData && this.resultData.errSize > 0"> |
|
|
<el-card shadow="always"> |
|
|
|
|
|
<!-- <i class="el-icon-error" /> --> |
|
|
|
|
|
<p> |
|
|
<p> |
|
|
<span style="color: red" |
|
|
<span style="color: red" |
|
|
>{{ this.resultData.successMessage }} |
|
|
>{{ this.resultData.successMessage }} |
|
@ -169,7 +169,6 @@ |
|
|
>下载错误数据</el-button |
|
|
>下载错误数据</el-button |
|
|
> |
|
|
> |
|
|
</p> |
|
|
</p> |
|
|
</el-card> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div v-else-if="this.resultData.errSize === 0"> |
|
|
<div v-else-if="this.resultData.errSize === 0"> |
|
|
<p> |
|
|
<p> |
|
@ -789,7 +788,7 @@ export default { |
|
|
} else { |
|
|
} else { |
|
|
this.resultData.errTemplate = res; //指定错误模板名称,作为参数,用于错误模板下载 |
|
|
this.resultData.errTemplate = res; //指定错误模板名称,作为参数,用于错误模板下载 |
|
|
this.resultData.errSize = 1; //保持大于0,用于控制错误数据下载按钮的可不可见 |
|
|
this.resultData.errSize = 1; //保持大于0,用于控制错误数据下载按钮的可不可见 |
|
|
this.resultData.successMessage = "同步SAP失败,单击下载!"; |
|
|
this.resultData.successMessage = "同步SAP失败!"; |
|
|
} |
|
|
} |
|
|
this.formLoading = false; |
|
|
this.formLoading = false; |
|
|
this.dialogAccounDateVisible = false; |
|
|
this.dialogAccounDateVisible = false; |
|
@ -990,7 +989,7 @@ export default { |
|
|
this.listQuery.type = undefined; |
|
|
this.listQuery.type = undefined; |
|
|
this.listQuery.client = undefined; |
|
|
this.listQuery.client = undefined; |
|
|
this.listQuery.state = undefined; |
|
|
this.listQuery.state = undefined; |
|
|
|
|
|
this.resultData = {}; //提示信息去掉 |
|
|
this.getList(); |
|
|
this.getList(); |
|
|
}, |
|
|
}, |
|
|
sortChange(data) { |
|
|
sortChange(data) { |
|
|