Commit c1a37ed0f70db74d7248439d099cd5e419782ccb
1 parent
97effe71
只有盘点任务才显示实盘登记
Showing
1 changed file
with
2 additions
and
2 deletions
ant-design-vue-jeecg/src/views/system/task/TaskDetailList.vue
... | ... | @@ -70,8 +70,8 @@ |
70 | 70 | |
71 | 71 | <span slot="action" slot-scope="text, record"> |
72 | 72 | <adjustment-doc-modal ref="adjustmentModal" @ok="modalFormOk" :id="record.id" :taskHeaderId="record.taskHeaderId"/> |
73 | - <a @click="createMany(record)">实盘登记</a> | |
74 | - <a-divider type="vertical"/> | |
73 | + <a v-if="record.taskType==700" @click="createMany(record)">实盘登记</a> | |
74 | + <a-divider type="vertical" v-if="record.taskType==700" /> | |
75 | 75 | <a v-has="'taskDetail:edit'" @click="handleEdit(record)">编辑</a> |
76 | 76 | <a-divider type="vertical"/> |
77 | 77 | <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> |
... | ... |