Procházet zdrojové kódy

资金账户问题修改

jiangn před 1 rokem
rodič
revize
babeb2da36
1 změnil soubory, kde provedl 6 přidání a 5 odebrání
  1. 6 5
      src/view/fin/money-account/index.vue

+ 6 - 5
src/view/fin/money-account/index.vue

@@ -183,11 +183,12 @@ export default {
      * @date   : 2024/3/4 17:12
      */
     saveData() {
-      this.params.accDate = new Date(this.params.accDate).toDateStr();
-      // 部门
-      this.params.orgId = this.$store.state.user.orgId
-      // 员工
-      this.params.staffId = this.$store.state.user.staffId
+      this.params.accDate = this.params.accDate.format('yyyy-MM-dd');
+      // // 部门
+      // this.params.orgId = this.$store.state.user.orgId
+      // // 员工
+      // this.params.staffId = this.$store.state.user.staffId
+      console.log("this.params",this.params )
       if (this.modalParams.button === this.$config.formMode.add) {
         return this.excute(this.$service.moneyAccountService, this.$service.moneyAccountService.insert, this.params);
       } else {