|
|
@@ -154,7 +154,7 @@
|
|
|
}
|
|
|
]"
|
|
|
>
|
|
|
- <fileMain v-model="form.files"></fileMain>
|
|
|
+ <fileMain v-model="form.files" @updateVal="getFiles"></fileMain>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -408,12 +408,24 @@
|
|
|
label: this.form.type == 1 ? '计划收款金额' : '计划付款金额',
|
|
|
align: 'center',
|
|
|
},
|
|
|
+ {
|
|
|
+ width: 150,
|
|
|
+ prop: 'unInvoiceAmount',
|
|
|
+ label: '未开票金额',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ width: 150,
|
|
|
+ prop: 'invoicedAmount',
|
|
|
+ label: '已开票金额',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
{
|
|
|
width: 160,
|
|
|
prop: 'invoiceAmount',
|
|
|
label: '开票金额',
|
|
|
align: 'center',
|
|
|
- slot: 'invoiceAmount',
|
|
|
+ // slot: 'invoiceAmount',
|
|
|
fixed: 'right'
|
|
|
}
|
|
|
];
|
|
|
@@ -469,7 +481,7 @@
|
|
|
accountingSubjectId: {
|
|
|
required: true,
|
|
|
message: '请选择',
|
|
|
- trigger: 'change'
|
|
|
+ trigger: ['change', 'blur']
|
|
|
},
|
|
|
feeTypeId: { required: true, message: '请选择', trigger: 'change' },
|
|
|
amount: { required: true, message: '请输入', trigger: 'blur' },
|
|
|
@@ -512,6 +524,12 @@
|
|
|
if (!val) return (this.form.accountingSubjectName = '');
|
|
|
let data = this.$refs.treeSelect?.$refs?.tree?.getCurrentNode() || {};
|
|
|
this.form.accountingSubjectName = data.name;
|
|
|
+ this.$refs.form.validateField('accountingSubjectId');
|
|
|
+ },
|
|
|
+ getFiles(val) {
|
|
|
+ // this.form.files = val;
|
|
|
+ console.log(val, 'val');
|
|
|
+ this.$refs.form.validateField('files');
|
|
|
},
|
|
|
// 获取部门数据
|
|
|
getDeptList() {
|