|
@@ -6,6 +6,9 @@
|
|
|
<template slot="subTitle">
|
|
|
<a id="custConfirm-back-btn" href="javascript:;" @click="handleBack"><a-icon type="left" /> 返回列表</a>
|
|
|
<span style="margin: 0 15px;color: #666;">客户名称:{{ ordeDetail&&ordeDetail.buyerName || '--' }}</span>
|
|
|
+ <span style="margin: 0 10px;color: #666;">
|
|
|
+ 退货类别:{{ordeDetail&&ordeDetail.goodFlagDictValue}}
|
|
|
+ </span>
|
|
|
</template>
|
|
|
</a-page-header>
|
|
|
<a-card size="small" :bordered="false" class="custConfirm-cont">
|
|
@@ -27,7 +30,7 @@
|
|
|
<a-button style="margin-left:5px;" :loading="loading" @click="openPlSetReason">批量设置退货原因</a-button>
|
|
|
<span style="margin-left:10px;" v-if="selNums">已选{{ selNums }}项</span>
|
|
|
<a-button type="primary" :loading="loading" class="button-info" @click="setNewSalesRetrunOrder">生成新销退单</a-button>
|
|
|
- <div style="float:right;color:#999;margin-top:8px;">说明:红色行表示收货时新增的产品;黄色表示客服确认时新增的产品;退货原因文字显示红色表示有修改</div>
|
|
|
+ <div style="float:right;color:#999;margin-top:8px;">说明:红色行表示收货时新增的产品;黄色表示客服确认时新增的产品;退货原因文字显示红色表示退货原因和退货类别不一致;</div>
|
|
|
</div>
|
|
|
<!-- 已选配件列表 -->
|
|
|
<s-table
|
|
@@ -315,10 +318,14 @@ export default {
|
|
|
methods: {
|
|
|
// 生成新销退单
|
|
|
setNewSalesRetrunOrder () {
|
|
|
+ if (!this.selNums) {
|
|
|
+ this.$message.warning('请先选择产品!')
|
|
|
+ return
|
|
|
+ }
|
|
|
const _this = this
|
|
|
this.$confirm({
|
|
|
title: '提示',
|
|
|
- content: '选择的产品将生成新的销退单?',
|
|
|
+ content: '选择的产品将生成新的销退单,并且从当前列表中删除!是否确认生成?',
|
|
|
centered: true,
|
|
|
closable: true,
|
|
|
onOk () {
|