结算单新增编辑修改

jg-waiwang-pro
XI_TENG\xixi_ 3 months ago
parent a795acf6c8
commit 0c7fbb8158

@ -887,6 +887,14 @@ public class CwsettlementServiceImpl extends ServiceImpl<CwsettlementMapper, Cws
entity.setId(mainId);
entity.setFlowId(cwsettlementForm.getFlowId());
entity.setVersion(0);
if (entity.getInvoiceNo()==null||entity.getInvoiceNo().equals("")){
entity.setInvoiceNo(generaterSwapUtil.getBillNumber("fpbm", false));
}
if (entity.getAttribute11()==null||entity.getAttribute11().equals("")){
entity.setAttribute11(generaterSwapUtil.getBillNumber("fpbm", false));
}
}else{
// entity.setCreatorUserId(userInfo.getUserId());
// entity.setCreatorTime(DateUtil.getNowDate());

@ -2968,6 +2968,8 @@ export default {
},
//
initDefaultData() {
this.dataForm.invoiceDate = new Date().getTime()
this.dataForm.glDate = new Date().getTime()
},
addcwsettlementsubjectList() {

Loading…
Cancel
Save