|
@@ -54,39 +54,42 @@
|
|
|
style="margin-bottom: 16px"
|
|
style="margin-bottom: 16px"
|
|
|
>
|
|
>
|
|
|
<fileMain v-model="detailData.sendFiles" type="view"></fileMain>
|
|
<fileMain v-model="detailData.sendFiles" type="view"></fileMain>
|
|
|
-<!-- <div v-if="detailData.sendFiles && detailData.sendFiles?.length">-->
|
|
|
|
|
-<!-- <el-link-->
|
|
|
|
|
-<!-- v-for="link in detailData.sendFiles"-->
|
|
|
|
|
-<!-- :key="link.id"-->
|
|
|
|
|
-<!-- type="primary"-->
|
|
|
|
|
-<!-- :underline="false"-->
|
|
|
|
|
-<!-- @click="downloadFile(link)"-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- {{ link.name }}</el-link-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- </div>-->
|
|
|
|
|
|
|
+ <!-- <div v-if="detailData.sendFiles && detailData.sendFiles?.length">-->
|
|
|
|
|
+ <!-- <el-link-->
|
|
|
|
|
+ <!-- v-for="link in detailData.sendFiles"-->
|
|
|
|
|
+ <!-- :key="link.id"-->
|
|
|
|
|
+ <!-- type="primary"-->
|
|
|
|
|
+ <!-- :underline="false"-->
|
|
|
|
|
+ <!-- @click="downloadFile(link)"-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- {{ link.name }}</el-link-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- </div>-->
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
<el-form-item
|
|
|
label="回执附件:"
|
|
label="回执附件:"
|
|
|
prop="sendFiles"
|
|
prop="sendFiles"
|
|
|
style="margin-bottom: 16px"
|
|
style="margin-bottom: 16px"
|
|
|
>
|
|
>
|
|
|
- <fileMain v-model="detailData.repliedFiles" type="view"></fileMain>
|
|
|
|
|
-<!-- <div-->
|
|
|
|
|
-<!-- v-if="-->
|
|
|
|
|
-<!-- detailData.repliedFiles && detailData.repliedFiles?.length-->
|
|
|
|
|
-<!-- "-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- <el-link-->
|
|
|
|
|
-<!-- v-for="link in detailData.repliedFiles"-->
|
|
|
|
|
-<!-- :key="link.id"-->
|
|
|
|
|
-<!-- type="primary"-->
|
|
|
|
|
-<!-- :underline="false"-->
|
|
|
|
|
-<!-- @click="downloadFile(link)"-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- {{ link.name }}</el-link-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- </div>-->
|
|
|
|
|
|
|
+ <fileMain
|
|
|
|
|
+ v-model="detailData.repliedFiles"
|
|
|
|
|
+ type="view"
|
|
|
|
|
+ ></fileMain>
|
|
|
|
|
+ <!-- <div-->
|
|
|
|
|
+ <!-- v-if="-->
|
|
|
|
|
+ <!-- detailData.repliedFiles && detailData.repliedFiles?.length-->
|
|
|
|
|
+ <!-- "-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- <el-link-->
|
|
|
|
|
+ <!-- v-for="link in detailData.repliedFiles"-->
|
|
|
|
|
+ <!-- :key="link.id"-->
|
|
|
|
|
+ <!-- type="primary"-->
|
|
|
|
|
+ <!-- :underline="false"-->
|
|
|
|
|
+ <!-- @click="downloadFile(link)"-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- {{ link.name }}</el-link-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- </div>-->
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="计价方式:" style="margin-bottom: 22px">
|
|
<el-form-item label="计价方式:" style="margin-bottom: 22px">
|
|
|
{{ form.pricingWay == 1 ? '按数量计费' : '按重量计费' }}
|
|
{{ form.pricingWay == 1 ? '按数量计费' : '按重量计费' }}
|
|
@@ -171,17 +174,17 @@
|
|
|
:prop="'datasource.' + $index + '.industryArtFiles'"
|
|
:prop="'datasource.' + $index + '.industryArtFiles'"
|
|
|
>
|
|
>
|
|
|
<fileMain v-model="row.industryArtFiles" type="view"></fileMain>
|
|
<fileMain v-model="row.industryArtFiles" type="view"></fileMain>
|
|
|
-<!-- <div v-if="row.industryArtFiles && row.industryArtFiles?.length">-->
|
|
|
|
|
-<!-- <el-link-->
|
|
|
|
|
-<!-- v-for="link in row.industryArtFiles"-->
|
|
|
|
|
-<!-- :key="link.id"-->
|
|
|
|
|
-<!-- type="primary"-->
|
|
|
|
|
-<!-- :underline="false"-->
|
|
|
|
|
-<!-- @click="downloadFile(link)"-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- {{ link.name }}</el-link-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- </div>-->
|
|
|
|
|
|
|
+ <!-- <div v-if="row.industryArtFiles && row.industryArtFiles?.length">-->
|
|
|
|
|
+ <!-- <el-link-->
|
|
|
|
|
+ <!-- v-for="link in row.industryArtFiles"-->
|
|
|
|
|
+ <!-- :key="link.id"-->
|
|
|
|
|
+ <!-- type="primary"-->
|
|
|
|
|
+ <!-- :underline="false"-->
|
|
|
|
|
+ <!-- @click="downloadFile(link)"-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- {{ link.name }}</el-link-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- </div>-->
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-slot:otherFiles="{ row, $index }">
|
|
<template v-slot:otherFiles="{ row, $index }">
|
|
@@ -190,32 +193,32 @@
|
|
|
:prop="'datasource.' + $index + '.otherFiles'"
|
|
:prop="'datasource.' + $index + '.otherFiles'"
|
|
|
>
|
|
>
|
|
|
<fileMain v-model="row.otherFiles" type="view"></fileMain>
|
|
<fileMain v-model="row.otherFiles" type="view"></fileMain>
|
|
|
-<!-- <div v-if="row.otherFiles && row.otherFiles?.length">-->
|
|
|
|
|
-<!-- <el-link-->
|
|
|
|
|
-<!-- v-for="link in row.otherFiles"-->
|
|
|
|
|
-<!-- :key="link.id"-->
|
|
|
|
|
-<!-- type="primary"-->
|
|
|
|
|
-<!-- :underline="false"-->
|
|
|
|
|
-<!-- @click="downloadFile(link)"-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- {{ link.name }}</el-link-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- </div>-->
|
|
|
|
|
|
|
+ <!-- <div v-if="row.otherFiles && row.otherFiles?.length">-->
|
|
|
|
|
+ <!-- <el-link-->
|
|
|
|
|
+ <!-- v-for="link in row.otherFiles"-->
|
|
|
|
|
+ <!-- :key="link.id"-->
|
|
|
|
|
+ <!-- type="primary"-->
|
|
|
|
|
+ <!-- :underline="false"-->
|
|
|
|
|
+ <!-- @click="downloadFile(link)"-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- {{ link.name }}</el-link-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- </div>-->
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-slot:technicalDrawings="{ row }">
|
|
<template v-slot:technicalDrawings="{ row }">
|
|
|
<fileMain v-model="row.technicalDrawings" type="view"></fileMain>
|
|
<fileMain v-model="row.technicalDrawings" type="view"></fileMain>
|
|
|
-<!-- <div v-if="row.technicalDrawings && row.technicalDrawings?.length">-->
|
|
|
|
|
-<!-- <el-link-->
|
|
|
|
|
-<!-- v-for="link in row.technicalDrawings"-->
|
|
|
|
|
-<!-- :key="link.id"-->
|
|
|
|
|
-<!-- type="primary"-->
|
|
|
|
|
-<!-- :underline="false"-->
|
|
|
|
|
-<!-- @click="downloadFile(link)"-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- {{ link.name }}</el-link-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- </div>-->
|
|
|
|
|
|
|
+ <!-- <div v-if="row.technicalDrawings && row.technicalDrawings?.length">-->
|
|
|
|
|
+ <!-- <el-link-->
|
|
|
|
|
+ <!-- v-for="link in row.technicalDrawings"-->
|
|
|
|
|
+ <!-- :key="link.id"-->
|
|
|
|
|
+ <!-- type="primary"-->
|
|
|
|
|
+ <!-- :underline="false"-->
|
|
|
|
|
+ <!-- @click="downloadFile(link)"-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- {{ link.name }}</el-link-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- </div>-->
|
|
|
</template>
|
|
</template>
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
|
</div>
|
|
</div>
|
|
@@ -239,8 +242,8 @@
|
|
|
import { getSendSaleOrderrecordDetail } from '@/api/bpm/components/saleManage/saleorder';
|
|
import { getSendSaleOrderrecordDetail } from '@/api/bpm/components/saleManage/saleorder';
|
|
|
import { reviewStatusEnum } from '@/enum/dict';
|
|
import { reviewStatusEnum } from '@/enum/dict';
|
|
|
import { copyObj } from '@/utils/util';
|
|
import { copyObj } from '@/utils/util';
|
|
|
- import add from '@/views/bpm/outgoingManagement/outbound.vue';
|
|
|
|
|
- import fileMain from "@/components/addDoc/index.vue";
|
|
|
|
|
|
|
+ import add from '@/views/bpm/outgoingManagement/outbound2.vue';
|
|
|
|
|
+ import fileMain from '@/components/addDoc/index.vue';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
mixins: [dictMixins],
|
|
mixins: [dictMixins],
|
|
@@ -425,7 +428,7 @@
|
|
|
label: '销售总金额',
|
|
label: '销售总金额',
|
|
|
slot: 'totalPrice',
|
|
slot: 'totalPrice',
|
|
|
formatter: (_row, _column, cellValue) => {
|
|
formatter: (_row, _column, cellValue) => {
|
|
|
- return _row.totalPrice? _row.totalPrice+ '元' : '';
|
|
|
|
|
|
|
+ return _row.totalPrice ? _row.totalPrice + '元' : '';
|
|
|
},
|
|
},
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|