|
@@ -623,7 +623,20 @@ export default {
|
|
|
break
|
|
|
}
|
|
|
case '业绩变更': {
|
|
|
- this.$refs.backRef.performanceShow = true
|
|
|
+ const errorTip = ['原因:']
|
|
|
+
|
|
|
+ if (!this.orderDetail?.saleDataRes?.saleRecord?.length) {
|
|
|
+ errorTip.push('尚未产生业绩数据,不支持变更。')
|
|
|
+ }
|
|
|
+
|
|
|
+ if (errorTip.length > 1) {
|
|
|
+ this.$alert(errorTip.join('<br>'), '不支持新增业绩变更', {
|
|
|
+ confirmButtonText: '我知道了',
|
|
|
+ dangerouslyUseHTMLString: true
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.$refs.backRef.performanceShow = true
|
|
|
+ }
|
|
|
break
|
|
|
}
|
|
|
case '红冲': {
|