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