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

订单转换配置随时可改

parent 027da0f0
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
</vxe-column> </vxe-column>
<!-- 查看状态下直接显示 --> <!-- 查看状态下直接显示 -->
<template v-if="currentRow.status == 'un_confirm'"> <!-- <template v-if="currentRow.status == 'un_confirm'">
<vxe-column <vxe-column
v-for="item in tableTitle" v-for="item in tableTitle"
:key="item" :key="item"
...@@ -112,10 +112,10 @@ ...@@ -112,10 +112,10 @@
:field="item" :field="item"
width="200" width="200"
/> />
</template> </template> -->
<!-- 转换下使用 --> <!-- 转换下使用 -->
<template v-else> <template >
<vxe-colgroup v-for="item in tableTitle" :key="item" :title="item"> <vxe-colgroup v-for="item in tableTitle" :key="item" :title="item">
<vxe-column :title="item" :field="item" width="200"> <vxe-column :title="item" :field="item" width="200">
<template #header> <template #header>
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<span>{{ cf.orderFiled.fliedTitle }}</span> <span>{{ cf.orderFiled.fliedTitle }}</span>
</template> </template>
<!-- <span>{{ allMapConfigs[item]?.orderFiled.fliedTitle || '' }}</span> --> <!-- <span>{{ allMapConfigs[item]?.orderFiled.fliedTitle || '' }}</span> -->
<el-icon v-if="currentRow.status == 'un_convert'"><Setting /></el-icon> <el-icon ><Setting /></el-icon>
</div> </div>
</template> </template>
</vxe-column> </vxe-column>
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
<template #footer> <template #footer>
<!-- <el-button @click="confirmChange" v-if="currentRow.status == 'un_convert'">确认转换</el-button> --> <!-- <el-button @click="confirmChange" v-if="currentRow.status == 'un_convert'">确认转换</el-button> -->
<el-button @click="saveOrderField" v-if="currentRow.status == 'un_convert'" type="primary" <el-button @click="saveOrderField" type="primary"
>保存</el-button >保存</el-button
> >
</template> </template>
...@@ -294,9 +294,6 @@ const popoverRef = ref() ...@@ -294,9 +294,6 @@ const popoverRef = ref()
const buttonRef = ref() const buttonRef = ref()
const popoverVisible = ref(false) const popoverVisible = ref(false)
const showPopover = (e: any, title: string) => { const showPopover = (e: any, title: string) => {
if (currentRow.status != 'un_convert') {
return
}
buttonRef.value = e.target buttonRef.value = e.target
// 设置标题 // 设置标题
currentConfigTitle.value = title currentConfigTitle.value = title
......
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