Browse Source

[fix]

销售管理 客户资料
修改添加客户资料页面第一收货人相关字段、开票公司名为选填;
修改添加客户资料后端接口,设置录入日期为当前时间;
dev
王晓迪 4 months ago
parent
commit
03d19026ce
  1. 2
      ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysCustomerController.java
  2. 12
      ruoyi-admin/src/main/resources/templates/system/customer/add.html

2
ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysCustomerController.java

@ -178,7 +178,7 @@ public class SysCustomerController extends BaseController
sysCustomerOper.setOper("新建");
sysCustomerOper.setOperPeople(operPeople);
sysCustomerOper.setOperStatus(sysCustomer.getAuditStatus());
sysCustomerOper.setCreateTime(new Date());
sysCustomerOper.setCreateTime(DateUtils.getNowDate());
//根据是否有流程实例,判断是否新增成功
ProcessInstance processInstance = sysCustomerService.submitApply(sysCustomer);
if(processInstance != null){

12
ruoyi-admin/src/main/resources/templates/system/customer/add.html

@ -93,7 +93,7 @@
<div class="form-group">
<label class="col-sm-6 control-label is-required">开票公司名称:</label>
<div class="col-sm-6">
<input required name="invoicingCompanyName" class="form-control" type="text">
<input name="invoicingCompanyName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
@ -210,21 +210,21 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-6 control-label is-required">客户第一收货人:</label>
<label class="col-sm-6 control-label">客户第一收货人:</label>
<div class="col-sm-6">
<input name="deliveryCustomerPerson" class="form-control" type="text" />
</div>
</div>
<div class="form-group">
<label class="col-sm-6 control-label is-required">第一收货人电话:</label>
<label class="col-sm-6 control-label">第一收货人电话:</label>
<div class="col-sm-6">
<input name="deliveryCustomerPhone" class="form-control" type="text" required>
<input name="deliveryCustomerPhone" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-6 control-label is-required">第一收货人地址:</label>
<label class="col-sm-6 control-label">第一收货人地址:</label>
<div class="col-sm-6">
<input required name="deliveryAddress" class="form-control" type="text">
<input name="deliveryAddress" class="form-control" type="text">
</div>
</div>
<div class="form-group">

Loading…
Cancel
Save