|
@@ -71,7 +71,7 @@
|
|
|
<add
|
|
<add
|
|
|
ref="add"
|
|
ref="add"
|
|
|
:form="form"
|
|
:form="form"
|
|
|
- v-if="taskDefinitionKey == 'storemanApprove' && form.code"
|
|
|
|
|
|
|
+ v-if="taskDefinitionKey == 'storemanApprove' && form.code && !isView"
|
|
|
:sourceBizNo="form.code"
|
|
:sourceBizNo="form.code"
|
|
|
:detailList="
|
|
:detailList="
|
|
|
form.detailList
|
|
form.detailList
|
|
@@ -94,12 +94,14 @@
|
|
|
:bizType="3"
|
|
:bizType="3"
|
|
|
:isMoreProduct="true"
|
|
:isMoreProduct="true"
|
|
|
></add>
|
|
></add>
|
|
|
|
|
+ <detailDialog :businessId="form.code" v-if="isView&&form.code"></detailDialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import { getById } from '@/api/bpm/components/salesServiceManagement/return';
|
|
import { getById } from '@/api/bpm/components/salesServiceManagement/return';
|
|
|
import add from '@/views/bpm/stockManagement/storage.vue';
|
|
import add from '@/views/bpm/stockManagement/storage.vue';
|
|
|
|
|
+ import detailDialog from '@/views/bpm/stockManagement/details.vue';
|
|
|
|
|
|
|
|
const defForm = {
|
|
const defForm = {
|
|
|
code: '',
|
|
code: '',
|
|
@@ -113,7 +115,8 @@
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
- add
|
|
|
|
|
|
|
+ add,
|
|
|
|
|
+ detailDialog
|
|
|
},
|
|
},
|
|
|
props: {
|
|
props: {
|
|
|
businessId: {
|
|
businessId: {
|
|
@@ -121,7 +124,8 @@
|
|
|
},
|
|
},
|
|
|
taskDefinitionKey: {
|
|
taskDefinitionKey: {
|
|
|
default: ''
|
|
default: ''
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ isView: ''
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
data() {
|
|
data() {
|