2d7d3d57 by xiaomiao

--no commit message

1 parent 5a8b29e4
......@@ -189,11 +189,16 @@ export default {
* @author: renchao
*/
onSubmit() {
this.shows = true;
this.tableData.forEach((item, index) => {
item["bsmBusiness"] = this.propsParam.bsmBusiness;
item["czjg"] = "1";
});
var index = this.tableData.findIndex(
(item) => item.shyj === null||item.shyj === ""
);
if(index==-1){
this.shows = true;
saveSpyjBySlsq(this.tableData).then((res) => {
if (res.code === 200) {
this.$message.success("保存成功");
......@@ -203,6 +208,10 @@ export default {
this.$message.error(res.message);
}
});
}else{
this.$message.error("意见不能为空");
}
},
//打开常用意见列表弹窗
/**
......