|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<a-modal
|
|
|
+ v-drag
|
|
|
centered
|
|
|
class="priceDifference-modal"
|
|
|
:footer="null"
|
|
@@ -152,7 +153,9 @@ export default {
|
|
|
// 差价归属变更
|
|
|
cjgsgChange (val) {
|
|
|
if (val.indexOf('1') >= 0) {
|
|
|
- this.zdDealearList.push({ id: new Date().getTime(), dealerSn: '', percent: '' })
|
|
|
+ if (this.zdDealearList.length == 0) {
|
|
|
+ this.zdDealearList.push({ id: new Date().getTime(), dealerSn: '', percent: '' })
|
|
|
+ }
|
|
|
} else {
|
|
|
this.zdDealearList = []
|
|
|
}
|