|
|
@@ -4,7 +4,7 @@
|
|
|
<headerTitle title="退货信息"></headerTitle>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="退货类型:" style="margin-bottom: 16px">
|
|
|
+ <el-form-item label="退货类型:" style="margin-bottom: 2px">
|
|
|
{{
|
|
|
form.returnSourceType == 2 ? '受托收货单退货' : '销售发货单退货'
|
|
|
}}
|
|
|
@@ -12,17 +12,17 @@
|
|
|
<el-form-item
|
|
|
label="客户名称:"
|
|
|
prop="contactName"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
{{ form.contactName }}
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="退货方式:" style="margin-bottom: 16px">
|
|
|
+ <el-form-item label="退货方式:" style="margin-bottom: 2px">
|
|
|
{{ form.typeName }}
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
label="赔偿金额:"
|
|
|
prop="redressAmount"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
v-show="['30', '50'].includes(form.type)"
|
|
|
>
|
|
|
{{ form.redressAmount }}元
|
|
|
@@ -30,28 +30,28 @@
|
|
|
<el-form-item
|
|
|
label="赔偿总金额:"
|
|
|
prop="totalAmount"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
{{ form.totalAmount }}元
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
label="备注:"
|
|
|
prop="remark"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
{{ form.remark }}
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
label="创建时间:"
|
|
|
prop="createTime"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
{{ form.createTime }}
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
label="制单人:"
|
|
|
prop="makerName"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
{{ form.makerName }}
|
|
|
</el-form-item>
|
|
|
@@ -60,7 +60,7 @@
|
|
|
<el-form-item
|
|
|
label="退货编码:"
|
|
|
prop="returnNo"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
{{ form.returnNo }}
|
|
|
</el-form-item>
|
|
|
@@ -68,7 +68,7 @@
|
|
|
v-if="form.returnSourceType == 2"
|
|
|
label="受托收货编码:"
|
|
|
prop="entrustedReceiveCode"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
{{ form.entrustedReceiveCode }}
|
|
|
</el-form-item>
|
|
|
@@ -76,7 +76,7 @@
|
|
|
v-else
|
|
|
label="发货编码:"
|
|
|
prop="sendNo"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
{{ form.sendNo }}
|
|
|
</el-form-item>
|
|
|
@@ -88,51 +88,25 @@
|
|
|
<el-form-item
|
|
|
label="审核状态:"
|
|
|
prop="reviewStatus"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
{{ reviewStatusEnum[form.reviewStatus]?.label }}
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
label="退货附件:"
|
|
|
prop="returnFiles"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
<fileMain v-model="form.returnFiles" type="view"></fileMain>
|
|
|
- <!-- <div-->
|
|
|
- <!-- v-if="detailData.returnFiles && detailData.returnFiles?.length"-->
|
|
|
- <!-- >-->
|
|
|
- <!-- <el-link-->
|
|
|
- <!-- v-for="link in detailData.returnFiles"-->
|
|
|
- <!-- :key="link.id"-->
|
|
|
- <!-- type="primary"-->
|
|
|
- <!-- :underline="false"-->
|
|
|
- <!-- @click="downloadFile(link)"-->
|
|
|
- <!-- >-->
|
|
|
- <!-- {{ link.name }}-->
|
|
|
- <!-- </el-link-->
|
|
|
- <!-- >-->
|
|
|
- <!-- </div>-->
|
|
|
+
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
label="回执附件:"
|
|
|
prop="repliedFiles"
|
|
|
- style="margin-bottom: 16px"
|
|
|
+ style="margin-bottom: 2px"
|
|
|
>
|
|
|
<fileMain v-model="form.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-col>
|
|
|
</el-row>
|
|
|
@@ -172,7 +146,7 @@
|
|
|
import { getFile } from '@/api/system/file';
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
import { reviewStatusEnum } from '@/enum/dict';
|
|
|
- // import fileMain from '@/components/addDoc/index.vue';
|
|
|
+
|
|
|
|
|
|
export default {
|
|
|
mixins: [dictMixins],
|
|
|
@@ -202,72 +176,162 @@
|
|
|
align: 'center',
|
|
|
fixed: 'left'
|
|
|
},
|
|
|
+ {
|
|
|
+ minWidth: 150,
|
|
|
+ prop: 'orderNo',
|
|
|
+ label: '订单编码',
|
|
|
+ align: 'center',
|
|
|
+ fixed: 'left'
|
|
|
+ },
|
|
|
{
|
|
|
width: 200,
|
|
|
prop: 'productName',
|
|
|
label: '名称',
|
|
|
- slot: 'productName'
|
|
|
+ slot: 'productName',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 120,
|
|
|
prop: 'productCode',
|
|
|
label: '编码',
|
|
|
- slot: 'productCode'
|
|
|
+ slot: 'productCode',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 200,
|
|
|
prop: 'productCategoryName',
|
|
|
label: '类型',
|
|
|
- slot: 'productCategoryName'
|
|
|
+ slot: 'productCategoryName',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 160,
|
|
|
+ prop: 'batchNo',
|
|
|
+ label: '批次号',
|
|
|
+ slot: 'batchNo',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 160,
|
|
|
prop: 'productBrand',
|
|
|
label: '牌号',
|
|
|
- slot: 'productBrand'
|
|
|
+ slot: 'productBrand',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 120,
|
|
|
prop: 'modelType',
|
|
|
label: '型号',
|
|
|
- slot: 'modelType'
|
|
|
+ slot: 'modelType',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 120,
|
|
|
prop: 'specification',
|
|
|
label: '规格',
|
|
|
- slot: 'specification'
|
|
|
+ slot: 'specification',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
- width: 200,
|
|
|
+ minWidth: 120,
|
|
|
+ prop: 'modelKey',
|
|
|
+ label: '机型',
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ align: 'center',
|
|
|
+
|
|
|
+ },
|
|
|
+ {
|
|
|
+ minWidth: 120,
|
|
|
+ prop: 'colorKey',
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ label: '颜色',
|
|
|
+ align: 'center',
|
|
|
+
|
|
|
+ },
|
|
|
+ {
|
|
|
+ minWidth: 160,
|
|
|
+ prop: 'productionCodes',
|
|
|
+ label: '生产编号',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'imgCode',
|
|
|
+ align: 'center',
|
|
|
+ label: '图号/件号',
|
|
|
+ showOverflowTooltip: true
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
prop: 'customerMark',
|
|
|
label: '客户代号',
|
|
|
- slot: 'customerMark'
|
|
|
+ slot: 'customerMark',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 200,
|
|
|
prop: 'warehouseName',
|
|
|
label: '仓库名称',
|
|
|
- slot: 'warehouseName'
|
|
|
+ slot: 'warehouseName',
|
|
|
+
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
- width: 120,
|
|
|
- prop: 'sendTotalCount',
|
|
|
+ width: 150,
|
|
|
+ prop: 'saleCount',
|
|
|
label: '发货数量',
|
|
|
- slot: 'sendTotalCount'
|
|
|
+ slot: 'saleCount',
|
|
|
+ headerSlot: 'headerTotalCount',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 150,
|
|
|
+ prop: 'saleUnit',
|
|
|
+ label: '单位',
|
|
|
+ slot: 'saleUnit',
|
|
|
+ headerSlot: 'headerTotalCount',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'packingSpecification',
|
|
|
+ align: 'center',
|
|
|
+ label: '包装规格',
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
|
-
|
|
|
{
|
|
|
width: 120,
|
|
|
prop: 'totalCount',
|
|
|
- label: '退货数量',
|
|
|
- slot: 'totalCount'
|
|
|
+ label: '计量数量',
|
|
|
+ // slot: 'totalCount',
|
|
|
+ // headerSlot: 'headerTotalCount',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'orderTotalCount',
|
|
|
+ label: '订单数量',
|
|
|
+ slot: 'orderTotalCount',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
+
|
|
|
{
|
|
|
width: 80,
|
|
|
prop: 'measuringUnit',
|
|
|
label: '计量单位',
|
|
|
- slot: 'measuringUnit'
|
|
|
+ slot: 'measuringUnit',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ width: 120,
|
|
|
+ prop: 'blockCount',
|
|
|
+ label: '发货块数',
|
|
|
+ slot: 'blockCount',
|
|
|
+ align: 'center',
|
|
|
+ show: false
|
|
|
},
|
|
|
{
|
|
|
width: 120,
|
|
|
@@ -282,15 +346,16 @@
|
|
|
label: '收货总重',
|
|
|
slot: 'receiveTotalWeight',
|
|
|
align: 'center',
|
|
|
- headerSlot: 'headerSendTotalWeight'
|
|
|
+ headerSlot: 'headerTotalCount'
|
|
|
},
|
|
|
{
|
|
|
- width: 200,
|
|
|
+ width: 100,
|
|
|
prop: 'sendTotalWeight',
|
|
|
label: '发货总重',
|
|
|
slot: 'sendTotalWeight',
|
|
|
align: 'center'
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
width: 100,
|
|
|
prop: 'increaseTotalWeight',
|
|
|
@@ -298,69 +363,135 @@
|
|
|
slot: 'increaseTotalWeight',
|
|
|
align: 'center'
|
|
|
},
|
|
|
+ {
|
|
|
+ width: 100,
|
|
|
+ prop: 'weightUnit',
|
|
|
+ label: '重量单位',
|
|
|
+ slot: 'weightUnit',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // width: 160,
|
|
|
+ // prop: 'pricingWay',
|
|
|
+ // label: '计价方式',
|
|
|
+ // slot: 'pricingWay',
|
|
|
+ // align: 'center',
|
|
|
+ // formatter: (row, column) => {
|
|
|
+ // return row.pricingWay == 1
|
|
|
+ // ? '按数量计费'
|
|
|
+ // : row.pricingWay == 2
|
|
|
+ // ? '按重量计费'
|
|
|
+ // : '';
|
|
|
+ // }
|
|
|
+ // },
|
|
|
{
|
|
|
width: 160,
|
|
|
prop: 'singlePrice',
|
|
|
label: '单价',
|
|
|
- slot: 'singlePrice'
|
|
|
+ slot: 'singlePrice',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 160,
|
|
|
+ prop: 'taxRate',
|
|
|
+ label: '税率',
|
|
|
+ formatter: (_row, _column, cellValue) => {
|
|
|
+ return _row.taxRate ? _row.taxRate + '%' : '';
|
|
|
+ },
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 160,
|
|
|
+ prop: 'notaxSinglePrice',
|
|
|
+ label: '不含税单价',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 160,
|
|
|
prop: 'discountSinglePrice',
|
|
|
- label: '折让单价',
|
|
|
- slot: 'discountSinglePrice'
|
|
|
+ label: '折后单价',
|
|
|
+ slot: 'discountSinglePrice',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 120,
|
|
|
prop: 'totalPrice',
|
|
|
label: '合计',
|
|
|
- slot: 'totalPrice'
|
|
|
+ slot: 'totalPrice',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
width: 120,
|
|
|
prop: 'discountTotalPrice',
|
|
|
- label: '折让合计',
|
|
|
- slot: 'discountTotalPrice'
|
|
|
+ label: '折后合计',
|
|
|
+ slot: 'discountTotalPrice',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
-
|
|
|
+ // {
|
|
|
+
|
|
|
{
|
|
|
width: 200,
|
|
|
- prop: 'returnReason',
|
|
|
- label: '退货原因',
|
|
|
- slot: 'returnReason'
|
|
|
+ prop: 'guaranteePeriod',
|
|
|
+ label: '有效期',
|
|
|
+ slot: 'guaranteePeriod',
|
|
|
+ formatter: (_row, _column, cellValue) => {
|
|
|
+ return (
|
|
|
+ (_row.guaranteePeriod || '') + _row.guaranteePeriodUnitName
|
|
|
+ );
|
|
|
+ },
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
- width: 120,
|
|
|
- prop: 'deliveryDays',
|
|
|
- label: '交期(天)',
|
|
|
- slot: 'deliveryDays'
|
|
|
+ width: 200,
|
|
|
+ prop: 'guaranteePeriodDeadline',
|
|
|
+ label: '有效期截止日期',
|
|
|
+ slot: 'guaranteePeriodDeadline',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
- width: 120,
|
|
|
+ prop: 'provenance',
|
|
|
+ label: '产地',
|
|
|
+ slot: 'provenance',
|
|
|
+ align: 'center',
|
|
|
+ // show:this.contractBookType==2,
|
|
|
+ minWidth: 200,
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ formatter: (row, column) => {
|
|
|
+ return row.provenance && row.provenance.length
|
|
|
+ ? row.provenance
|
|
|
+ .map((item) => this.getDictValue('产地', item))
|
|
|
+ .join(',')
|
|
|
+ : '';
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 130,
|
|
|
prop: 'technicalAnswerName',
|
|
|
label: '技术答疑人',
|
|
|
- slot: 'technicalAnswerName'
|
|
|
+ slot: 'technicalAnswerName',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 220,
|
|
|
prop: 'technicalParams',
|
|
|
label: '技术参数',
|
|
|
- slot: 'technicalParams'
|
|
|
+ slot: 'technicalParams',
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 240,
|
|
|
prop: 'technicalDrawings',
|
|
|
label: '技术图纸',
|
|
|
slot: 'technicalDrawings',
|
|
|
- formatter: (_row, _column, cellValue) => {
|
|
|
- return _row.guaranteePeriod + _row.guaranteePeriodUnitName;
|
|
|
- }
|
|
|
+ align: 'center'
|
|
|
},
|
|
|
{
|
|
|
width: 220,
|
|
|
prop: 'remark',
|
|
|
label: '备注',
|
|
|
- slot: 'remark'
|
|
|
+ slot: 'remark',
|
|
|
+ align: 'center'
|
|
|
}
|
|
|
],
|
|
|
competAnalysisListcolumns: [
|