no message

This commit is contained in:
wangh 2024-03-04 16:47:16 +08:00
parent 873cf444e8
commit a504720e4c
4 changed files with 17 additions and 8 deletions

View File

@ -857,6 +857,8 @@ export default {
},
//
submitForms(formName) {
console.log("timeFrame ",this.timeFrame)
console.log("this.ruleForm ",this.ruleForm)
this.$refs[formName].validate((valid) => {
if (valid) {
console.log("timeFrame",this.timeFrame)
@ -923,6 +925,7 @@ export default {
this.cleanRuleForm()
this.activeName = 'info'
this.pdinfo = 1
this.timeFrame = []
this.addNode(data.id,data.label)
// console.log(this.pdinfo)

View File

@ -277,8 +277,7 @@ public class CardFuelRecordServiceImpl implements CardFuelRecordService {
@Autowired
private RedisLock redisLock;
@Autowired
private StaffCommissionService staffCommissionService;
private static String beforeLitres = new String("0");
/**
* 查询支付状态 修改相关关联表

View File

@ -434,7 +434,7 @@ public class CardValueRecordServiceImpl extends ServiceImpl<CardValueRecordMappe
private static AllOrderInfo getAllOrderInfo(CardValueRecordDTO cardValueRecordDTO) {
AllOrderInfo allOrderInfo = new AllOrderInfo();
allOrderInfo.setOrderNo(cardValueRecordDTO.getPaymentNo());
allOrderInfo.setType("2");
allOrderInfo.setType("3");
allOrderInfo.setStoreId(cardValueRecordDTO.getStoreId());
allOrderInfo.setGoodsMoney(cardValueRecordDTO.getGiftBalance());
allOrderInfo.setPayMoney(cardValueRecordDTO.getRealyPayBills());

View File

@ -288,6 +288,9 @@ public class AccountServiceImpl extends ServiceImpl<TAccountMapper, TAccount> im
staff.setRoleId(roleId);
staff.setMobile(param.get("mobile").toString());
// if ("3".equals(deptType)) {
//
// }
// 查询手机号是否存在
LambdaQueryWrapper<LJStaff> lambdaQueryWrapper = Wrappers.lambdaQuery();
// 查询手机号是否存在
@ -300,11 +303,13 @@ public class AccountServiceImpl extends ServiceImpl<TAccountMapper, TAccount> im
}
ljStaffMapper.insert(staff);
// 添加员工码信息
QueryWrapper queryWrapper = new QueryWrapper<>();
queryWrapper.eq("mobile",param.get("mobile").toString());
queryWrapper.eq("store_id",mtStore.getId());
queryWrapper.eq("if_delete","0");
staff = ljStaffMapper.selectOne(queryWrapper);
if (ObjectUtil.isNotEmpty(staff)) {
staff.setStaffCode("https://www.tuofeng.cc/oilRefuel?storeId="+storeId+"&staffId="+staff.getId());
ljStaffMapper.updateById(staff);
@ -313,6 +318,8 @@ public class AccountServiceImpl extends ServiceImpl<TAccountMapper, TAccount> im
editTAccount.setStaffId(staff.getId());
updateAccount(editTAccount);
}
}
return true;
}