Commit 3ce07331 authored by jingnan's avatar jingnan 👀

采购入库申请环节编辑明细查询及展示按钮bug修改

parent 0bbca423
......@@ -27,7 +27,7 @@
@pagination-current-change="changePageNum"
>
<div slot="header" class="table-title-wrap">
<dee-tools :tools="tools" mode="normal" />
<dee-tools v-if="!isSignApproval" :tools="tools" mode="normal" />
</div>
</dee-up-table>
<span style="position: absolute;top: calc(100% - 70px);left: calc(50% - 70px);}">
......@@ -54,6 +54,7 @@ export default {
default: () => null
}
},
inject: ['InStoragePurchaseProcessInfo'], // 流程basicData的id
data() {
const that = this
return {
......@@ -494,6 +495,9 @@ export default {
'extDxSipplierId': this.form.extDxSipplierId
}
}
},
isSignApproval() {
return this.$route && this.$route.name === 'TaskCenterHome'
}
},
watch: {
......@@ -719,7 +723,13 @@ export default {
]
}
}
if (this.isSignApproval) {
param.rootCondition.searchItems.items.push({
'fieldName': 'id',
'operator': 'EQ',
'value': this.InStoragePurchaseProcessInfo.id || ''
})
}
post('InStorageRequestItem/treeSearch', param).then(res => {
const data = res.items.map(item => {
return {
......
......@@ -38,6 +38,11 @@ export default {
default: () => null
}
},
provide() {
return {
InStoragePurchaseProcessInfo: this.basicData
}
},
data() {
return {
tableData: [],
......
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