|
@@ -264,8 +264,8 @@
|
|
|
import { mapState, mapMutations } from 'vuex'
|
|
|
import authorize from '@/common/config/authorize.js'
|
|
|
import { uploadFileImage, uploadFilePdfDocDocxXlsx } from '@/services/public.js'
|
|
|
-import cmGoodspopup from '@/components/cm-module/cm-seller/cm-goods-popup'
|
|
|
-import cmReportpopup from '@/components/cm-module/cm-seller/cm-report-popup'
|
|
|
+import cmGoodspopup from '../components/cm-goods-popup'
|
|
|
+import cmReportpopup from '../components/cm-report-popup'
|
|
|
|
|
|
var isPreviewImg
|
|
|
export default {
|
|
@@ -332,6 +332,7 @@ export default {
|
|
|
assActionList: [],
|
|
|
isGoodspopup: false,
|
|
|
isReportpopup: false,
|
|
|
+ isHashReport:false,
|
|
|
handleGoods: [],
|
|
|
reportInfo: {
|
|
|
clubId: 0,
|
|
@@ -393,8 +394,11 @@ export default {
|
|
|
this.remarksParams.fileList = data.fileList
|
|
|
this.remarksParams.imageList = data.imageList
|
|
|
this.remarksParams.productId = data.productId
|
|
|
- this.remarksParams.reportId = data.reportId
|
|
|
if (this.handleType == 'edit') {
|
|
|
+ if(data.reportId){
|
|
|
+ this.isHashReport = true
|
|
|
+ this.remarksParams.reportId = data.reportId
|
|
|
+ }
|
|
|
this.remarksParams.questionMan = data.questionMan
|
|
|
this.remarksParams.consult = data.consult
|
|
|
this.checkedCategorysList = data.consult.split(',').map(i => parseInt(i, 0))
|
|
@@ -566,7 +570,7 @@ export default {
|
|
|
},
|
|
|
handleShowReportPopup() {
|
|
|
// 显示报备弹窗
|
|
|
- if (this.remarksParams.reportId) {
|
|
|
+ if (this.isHashReport) {
|
|
|
this.$util.msg('请取消已有关联后再重新关联报备', 2000)
|
|
|
return
|
|
|
}
|