|
@@ -1518,6 +1518,14 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
startForm(callback) {
|
|
|
+ const invalidItem = this.$refs.invoiceReimbursementUpLoadComponent.getDataList().find(
|
|
|
+ item => !item.number || item.number.toString().trim() === ''
|
|
|
+ );
|
|
|
+
|
|
|
+ if (invalidItem) {
|
|
|
+ this.$message.warning({ message: `数电发票: ${invalidItem.name} 格式错误` });
|
|
|
+ return;
|
|
|
+ }
|
|
|
this.loading = true
|
|
|
if (this.commonJS.isNotEmpty(this.inputForm.id)) {
|
|
|
this.reimbursementApprovalService.findById(this.inputForm.id).then((data) => {
|