Commit bb5bc95e authored by 何远江's avatar 何远江

bug 修改

parent 2043a7f8
......@@ -49,7 +49,9 @@
<vxe-column field="productName" title="产品名称" width="240"></vxe-column>
<vxe-column title="解析" width="100">
<template #default="{ row }">
<el-button v-if="!!row.varOrderFileId" type="text" size="small" @click="toRun(row)">执行解析</el-button>
<el-button v-if="!!row.varOrderFileId" type="text" size="small" @click="toRun(row)"
>执行解析</el-button
>
</template>
</vxe-column>
<vxe-column title="操作" width="240">
......@@ -210,7 +212,7 @@ const toRun = async (row) => {
})
try {
const { data } = await apiOrderVarRun(row.orderItemId)
loading.close()
if (data?.code == '200') {
ElMessage.success(data.message || '解析成功!')
importVisible.value = false
......@@ -219,7 +221,6 @@ const toRun = async (row) => {
handleShowVarRun(row)
})
} else {
loading.close()
ElMessage.error(data.message || '解析失败!')
}
} catch {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment