diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/moneycarriedforwardAdd.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/moneycarriedforwardAdd.vue index 2a33c719af..ce625a3b44 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/moneycarriedforwardAdd.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/moneycarriedforwardAdd.vue @@ -488,40 +488,39 @@ export default { return } } - } else { - var nowDate = new Date() - var date = { - year: nowDate.getFullYear(), - month: nowDate.getMonth() + 1, - day: nowDate.getDate() - } - var dayDate = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) - this.formobj.yxysFinFundsCarriedForwardYXYSKXVos.push({ - createByName: window.sessionStorage.getItem('name'), - contractSid: row.contractSid, - contractId: row.contractNo, - customerSid: row.customerSid, - name: row.customerName, - vin: row.VIN, - useOrgSid: '', - mobile: row.customerPhone, - projectName: row.receivablesName, - receivable: row.currentReceivableMoney, - lastSubscriptionMoney: '', - confirmMoney: '', - surplusReceivable: '', - subscribedOf: row.subscribedOf, - confirmDate: dayDate, - collSid: '', - receivablesSid: row.receivablesSid, - payType: row.payType, - payTypeKey: row.payTypeKey, - sid: row.sid - }) - this.listQuery.sids.push(row.sid) - this.balaceCount() - this.getlist() } + var nowDate = new Date() + var date = { + year: nowDate.getFullYear(), + month: nowDate.getMonth() + 1, + day: nowDate.getDate() + } + var dayDate = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) + this.formobj.yxysFinFundsCarriedForwardYXYSKXVos.push({ + createByName: window.sessionStorage.getItem('name'), + contractSid: row.contractSid, + contractId: row.contractNo, + customerSid: row.customerSid, + name: row.customerName, + vin: row.VIN, + useOrgSid: '', + mobile: row.customerPhone, + projectName: row.receivablesName, + receivable: row.currentReceivableMoney, + lastSubscriptionMoney: '', + confirmMoney: '', + surplusReceivable: '', + subscribedOf: row.subscribedOf, + confirmDate: dayDate, + collSid: '', + receivablesSid: row.receivablesSid, + payType: row.payType, + payTypeKey: row.payTypeKey, + sid: row.sid + }) + this.listQuery.sids.push(row.sid) + this.balaceCount() + this.getlist() }, // 已选应收明细表移除 handDelete(row) { diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/kuanxiangjiezhuanFlow/moneycarriedforwardEdit.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/kuanxiangjiezhuanFlow/moneycarriedforwardEdit.vue index f28c408426..d73940fe3a 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/kuanxiangjiezhuanFlow/moneycarriedforwardEdit.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/kuanxiangjiezhuanFlow/moneycarriedforwardEdit.vue @@ -492,40 +492,39 @@ export default { return } } - } else { - var nowDate = new Date() - var date = { - year: nowDate.getFullYear(), - month: nowDate.getMonth() + 1, - day: nowDate.getDate() - } - var dayDate = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) - this.formobj.yxysFinFundsCarriedForwardYXYSKXVos.push({ - createByName: window.sessionStorage.getItem('name'), - contractSid: row.contractSid, - contractId: row.contractNo, - customerSid: row.customerSid, - name: row.customerName, - vin: row.VIN, - useOrgSid: '', - mobile: row.customerPhone, - projectName: row.receivablesName, - receivable: row.currentReceivableMoney, - lastSubscriptionMoney: '', - confirmMoney: '', - surplusReceivable: '', - subscribedOf: row.subscribedOf, - confirmDate: dayDate, - collSid: '', - receivablesSid: row.receivablesSid, - payType: row.payType, - payTypeKey: row.payTypeKey, - sid: row.sid - }) - this.listQuery.sids.push(row.sid) - this.balaceCount() - this.getlist() } + var nowDate = new Date() + var date = { + year: nowDate.getFullYear(), + month: nowDate.getMonth() + 1, + day: nowDate.getDate() + } + var dayDate = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) + this.formobj.yxysFinFundsCarriedForwardYXYSKXVos.push({ + createByName: window.sessionStorage.getItem('name'), + contractSid: row.contractSid, + contractId: row.contractNo, + customerSid: row.customerSid, + name: row.customerName, + vin: row.VIN, + useOrgSid: '', + mobile: row.customerPhone, + projectName: row.receivablesName, + receivable: row.currentReceivableMoney, + lastSubscriptionMoney: '', + confirmMoney: '', + surplusReceivable: '', + subscribedOf: row.subscribedOf, + confirmDate: dayDate, + collSid: '', + receivablesSid: row.receivablesSid, + payType: row.payType, + payTypeKey: row.payTypeKey, + sid: row.sid + }) + this.listQuery.sids.push(row.sid) + this.balaceCount() + this.getlist() }, // 已选应收明细表移除 handDelete(row) {