zxz 2 年之前
父節點
當前提交
d35af190a5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/statisticalReport/autoSettlementList.vue

+ 2 - 2
src/views/statisticalReport/autoSettlementList.vue

@@ -778,7 +778,7 @@ export default {
         }
         }
       }
       }
     },
     },
-    date() {
+    getDate() {
       var date = new Date();
       var date = new Date();
       var y = date.getFullYear();
       var y = date.getFullYear();
       var m = date.getMonth() + 1;
       var m = date.getMonth() + 1;
@@ -832,7 +832,7 @@ export default {
       // this.money = this.money
       // this.money = this.money
       this.tranSettlementReportList = this.warehouseList.records[0].tranSettlementReportList
       this.tranSettlementReportList = this.warehouseList.records[0].tranSettlementReportList
       this.amountEdPayable = this.warehouseList.records[0].amountEdPayable
       this.amountEdPayable = this.warehouseList.records[0].amountEdPayable
-      this.paymentDate = this.date()
+      this.paymentDate = this.getDate()
       if (this.modification.length == 0) {
       if (this.modification.length == 0) {
         this.$message.warning('请选择一条要付款的条目')
         this.$message.warning('请选择一条要付款的条目')
       } else {
       } else {