| | |
| | | </div> |
| | | <div class="collection-view"> |
| | | <div class="label">金额</div> |
| | | <div>{{ editConfig.infomation.amount }}</div> |
| | | <div>{{ editConfig.infomation.amountTotal }}</div> |
| | | </div> |
| | | <div class="collection-view"> |
| | | <div class="label">未计划金额</div> |
| | | <div>{{ editConfig.infomation.amount }}</div> |
| | | <div>{{ editConfig.infomation.amountTotal }}</div> |
| | | </div> |
| | | <div class="collection-view"> |
| | | <div class="label">收款计划负责人</div> |
| | |
| | | methods: { |
| | | // 设置初始值 |
| | | setData() { |
| | | this.amount = |
| | | typeof this.editCommonConfig.infomation.amountTotal == "string" |
| | | ? parseInt(this.editCommonConfig.infomation.amountTotal) |
| | | : this.editCommonConfig.infomation.amountTotal |
| | | this.editConfig.infomation = { |
| | | collectionType: this.collectionType, |
| | | moneyType: "人民币", |
| | | amount: this.amount.toFixed(2) |
| | | amountTotal: this.editCommonConfig.infomation.amountTotal |
| | | } |
| | | }, |
| | | getCommonData() { |
| | |
| | | amount: this.amount, |
| | | amountReceivable: this.amount * 0.3, |
| | | amountReceived: 0, |
| | | amountTotal: 0, |
| | | amountTotal: this.amount, |
| | | collectionDate: this.setDate(date, 0), |
| | | collectionType: this.editConfig.infomation.collectionType, |
| | | fileId: 0, |
| | |
| | | amount: this.amount, |
| | | amountReceivable: this.amount * 0.5, |
| | | amountReceived: 0, |
| | | amountTotal: 0, |
| | | amountTotal: this.amount, |
| | | collectionDate: this.setDate(date, 1), |
| | | collectionType: this.editConfig.infomation.collectionType, |
| | | fileId: 0, |
| | |
| | | amount: this.amount, |
| | | amountReceivable: this.amount * 0.2, |
| | | amountReceived: 0, |
| | | amountTotal: 0, |
| | | amountTotal: this.amount, |
| | | collectionDate: this.setDate(date, 2), |
| | | collectionType: this.editConfig.infomation.collectionType, |
| | | fileId: 0, |
| | |
| | | amount: this.amount, |
| | | amountReceivable: this.amount, |
| | | amountReceived: 0, |
| | | amountTotal: 0, |
| | | amountTotal: this.amount, |
| | | collectionDate: this.setDate(this.firstDate, 0), |
| | | collectionType: this.editConfig.infomation.collectionType, |
| | | fileId: 0, |
| | |
| | | amount: this.amount, |
| | | amountReceivable: this.amount * 0.5, |
| | | amountReceived: 0, |
| | | amountTotal: 0, |
| | | amountTotal: this.amount, |
| | | collectionDate: this.setDate(this.firstDate, 0), |
| | | collectionType: this.editConfig.infomation.collectionType, |
| | | fileId: 0, |
| | |
| | | amount: this.amount, |
| | | amountReceivable: this.amount * 0.5, |
| | | amountReceived: 0, |
| | | amountTotal: 0, |
| | | amountTotal: this.amount, |
| | | collectionDate: this.setDate(this.firstDate, 1), |
| | | collectionType: this.editConfig.infomation.collectionType, |
| | | fileId: 0, |