|
|
|
@ -161,15 +161,19 @@ export default {
|
|
|
|
|
methods: {
|
|
|
|
|
onSubmit() {
|
|
|
|
|
let ids = [];
|
|
|
|
|
let isSubmit = true;
|
|
|
|
|
var isSubmit = true;
|
|
|
|
|
|
|
|
|
|
for (var i = 0; i < this.enterpriseList.length; i++) {
|
|
|
|
|
ids.push(this.enterpriseList[i].id);
|
|
|
|
|
if (this.enterpriseList[i].plannedMonth == "") {
|
|
|
|
|
if (
|
|
|
|
|
this.enterpriseList[i].plannedMonth == "" ||
|
|
|
|
|
this.enterpriseList[i].plannedMonth == null ||
|
|
|
|
|
!this.enterpriseList[i].plannedMonth
|
|
|
|
|
) {
|
|
|
|
|
this.$modal.msgError(`请填写月份后,提交数据!`);
|
|
|
|
|
isSubmit = false;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
ids.push(this.enterpriseList[i].id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (isSubmit) {
|
|
|
|
|