|
@@ -65,6 +65,9 @@
|
|
|
<DkFormItem prop="initBalance">
|
|
<DkFormItem prop="initBalance">
|
|
|
<InputNumberPop v-model="formData.initBalance"/>
|
|
<InputNumberPop v-model="formData.initBalance"/>
|
|
|
</DkFormItem>
|
|
</DkFormItem>
|
|
|
|
|
+ <DkFormItem prop="balance" v-if="modalParams.button === $config.formMode.edit">
|
|
|
|
|
+ <InputNumberPop v-model="formData.balance" :disabled="true"/>
|
|
|
|
|
+ </DkFormItem>
|
|
|
<!--开户日期-->
|
|
<!--开户日期-->
|
|
|
<DkFormItem prop="accDate" :label="$t('initDate')" :data-type="$config.dataType.date">
|
|
<DkFormItem prop="accDate" :label="$t('initDate')" :data-type="$config.dataType.date">
|
|
|
<DatePickerPop v-model="formData.accDate" :short-cut-flag="true"/>
|
|
<DatePickerPop v-model="formData.accDate" :short-cut-flag="true"/>
|
|
@@ -76,6 +79,9 @@
|
|
|
<InputPop v-model="formData.remarks" textareaFlag/>
|
|
<InputPop v-model="formData.remarks" textareaFlag/>
|
|
|
</DkFormItem>
|
|
</DkFormItem>
|
|
|
</DkForm>
|
|
</DkForm>
|
|
|
|
|
+ <!--附件-->
|
|
|
|
|
+ <DkPicWall v-model="formData.annexPaths"
|
|
|
|
|
+ :table="$config.tables.moneyAccount" :accept="$config.uploadFileConfig.acceptPicType"></DkPicWall>
|
|
|
</DkModal>
|
|
</DkModal>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -92,6 +98,7 @@ export default {
|
|
|
// 资金类别
|
|
// 资金类别
|
|
|
macTypeList: [],
|
|
macTypeList: [],
|
|
|
formData: {
|
|
formData: {
|
|
|
|
|
+ macId:null,
|
|
|
macName: null,
|
|
macName: null,
|
|
|
macType: null,
|
|
macType: null,
|
|
|
initBalance: null,
|
|
initBalance: null,
|
|
@@ -102,6 +109,7 @@ export default {
|
|
|
orgId: self.$store.state.user.orgId,
|
|
orgId: self.$store.state.user.orgId,
|
|
|
staffId: self.$store.state.user.id,
|
|
staffId: self.$store.state.user.id,
|
|
|
makeStaff: self.$store.state.user.id,
|
|
makeStaff: self.$store.state.user.id,
|
|
|
|
|
+ annexPaths:null,
|
|
|
},
|
|
},
|
|
|
//查询
|
|
//查询
|
|
|
searchContent: [
|
|
searchContent: [
|
|
@@ -176,6 +184,10 @@ export default {
|
|
|
*/
|
|
*/
|
|
|
saveData() {
|
|
saveData() {
|
|
|
this.params.accDate = new Date(this.params.accDate).toDateStr();
|
|
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
|
|
|
if (this.modalParams.button === this.$config.formMode.add) {
|
|
if (this.modalParams.button === this.$config.formMode.add) {
|
|
|
return this.excute(this.$service.moneyAccountService, this.$service.moneyAccountService.insert, this.params);
|
|
return this.excute(this.$service.moneyAccountService, this.$service.moneyAccountService.insert, this.params);
|
|
|
} else {
|
|
} else {
|