注释和修改细节

product
bawei 1 year ago
parent f585b8e139
commit d218c77586

@ -344,7 +344,7 @@ public class AccountingController {
/**
*
*
*
* @param id
* @return
@ -357,7 +357,7 @@ public class AccountingController {
QueryWrapper<AccountingEntity> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(AccountingEntity::getId,entity.getId());
if(entity!=null){
entity.setStatus("1");
entity.setStatus("0");
accountingService.update(id, entity);
return ActionResult.success("更新成功");
}else{
@ -366,7 +366,7 @@ public class AccountingController {
}
/**
*
*
*
* @param id
* @return
@ -379,7 +379,7 @@ public class AccountingController {
QueryWrapper<AccountingEntity> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(AccountingEntity::getId,entity.getId());
if(entity!=null){
entity.setStatus("0");
entity.setStatus("1");
accountingService.update(id, entity);
return ActionResult.success("更新成功");
}else{

@ -660,6 +660,7 @@ public class PaymentController {
paymentdocEntity.setIsSubmit("0");
}
//删除修改付款申请单状态
paymentdocService.updateBatchById(paymentdocList);
paymentService.delete(entity);

@ -490,7 +490,7 @@ public class TradeuploadController {
customerQueryWrapper.lambda().eq(CustomerEntity::getSupplierNm, tradeuploadCrForm.getCustomerId());
CustomerEntity customerEntity = customerService.getOne(customerQueryWrapper);
tradeuploadCrForm.setClientId(customerEntity.getId());
//查询合同
QueryWrapper<ContractFileEntity> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(ContractFileEntity::getCode, customerEntity.getId());
queryWrapper.lambda().eq(ContractFileEntity::getContractType, "1");
@ -509,7 +509,7 @@ public class TradeuploadController {
detpartment = userProvider.getDepartmentId(userId);
vehicleQueryWrapper.lambda().eq(VehicleEntity::getDepartmentId, detpartment);
}
//查询车辆然后获取净重等
VehicleEntity vehicleEntity = vehicleService.getOne(vehicleQueryWrapper);
if (vehicleEntity != null) {
tradeuploadCrForm.setVehiclePictures(vehicleEntity.getVehiclephotos());
@ -978,6 +978,7 @@ public class TradeuploadController {
PurchaseorderqueryWrapper.lambda().eq(PurchaseorderEntity::getId, entity.getPurchaseorderId());
PurchaseorderqueryWrapper.lambda().eq(PurchaseorderEntity::getDeleteMark, 0);
List<PurchaseorderEntity> Pur = purchaseorderService.list(PurchaseorderqueryWrapper);
//查询有无付款申请,有不能修改
if (Pur.size() > 0) {
int paymenttime = Integer.valueOf(Pur.get(0).getPaymentTime());
if (list != null && list.get(0).getPurchaseorderId() != null && paymenttime > 0) {
@ -993,7 +994,6 @@ public class TradeuploadController {
}
}
tradeuploadService.update(id, subentity);
return ActionResult.success("更新成功");
} else {

@ -145,6 +145,7 @@ public class VehicleController {
detpartment = userProvider.getDepartmentId(userId);
vehicleQueryWrapper.lambda().eq(VehicleEntity::getDepartmentId,detpartment);
}
//查询车辆和司机
List<VehicleEntity> vehicleEntityList = vehicleService.list(vehicleQueryWrapper);
if (vehicleEntityList.size()>0){
return ActionResult.fail("已经存在该车辆信息");

@ -347,15 +347,15 @@
statusOptions: [
{
fullName: "进行中",
id: "0",
id: "1",
},
{
fullName: "审批中",
id: "1",
id: "2",
},
{
fullName: "审批结束",
id: "2",
id: "3",
},
],
classificationOptions: [

@ -445,15 +445,15 @@ export default {
statusOptions: [
{
fullName: "进行中",
id: "0",
id: "1",
},
{
fullName: "审批中",
id: "1",
id: "2",
},
{
fullName: "审批结束",
id: "2",
id: "3",
},
],

@ -108,7 +108,7 @@
</el-col>
<el-col :span="6">
<el-form-item label="磅单时间" prop="poundDate">
<el-date-picker disabled v-model="dataForm.poundDate" placeholder="请选择" clearable :style='{"width":"100%"}'
<el-date-picker v-model="dataForm.poundDate" placeholder="请选择" clearable :style='{"width":"100%"}'
type="date" format="yyyy-MM-dd" value-format="timestamp">
</el-date-picker>
</el-form-item>

Loading…
Cancel
Save