From 215c4ed5d7b9a529ea03c40562c45c7e9067c41d Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Wed, 26 Jul 2023 17:26:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../moneycarriedforwardAdd.vue | 65 +++++++++---------- .../moneycarriedforwardEdit.vue | 65 +++++++++---------- 2 files changed, 64 insertions(+), 66 deletions(-) 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) {