|
|
@@ -183,11 +183,7 @@ 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');
|
|
|
if (this.modalParams.button === this.$config.formMode.add) {
|
|
|
return this.excute(this.$service.moneyAccountService, this.$service.moneyAccountService.insert, this.params);
|
|
|
} else {
|