diff --git a/ruoyi-admin/src/main/resources/templates/layout/product-list.html b/ruoyi-admin/src/main/resources/templates/layout/product-list.html index 8e13f427..70d8db36 100644 --- a/ruoyi-admin/src/main/resources/templates/layout/product-list.html +++ b/ruoyi-admin/src/main/resources/templates/layout/product-list.html @@ -387,7 +387,7 @@ $('.productTable .price-formmat').change('input', function () { let val = $(this).val() let num = $(this).parent().parent().find('.quantity').val() - $(this).parent().parent().find('.price').val(val) + $(this).parent().parent().find('.price').val(val.toFixed(2)) let allPriceNumber = val * num // if (getFlag()) { // allPriceNumber *= FOLD_ON_FOLD @@ -398,7 +398,7 @@ let cataloguePrice = $(this).parent().parent().find('.cataloguePrice').val() let discount = (val*1.0000/cataloguePrice).toFixed(4); $(this).parent().parent().find('.discount').val(discount) - $(this).parent().parent().find('.discount-format').val(discount * 100) + $(this).parent().parent().find('.discount-format').val((discount * 100).toFixed(2)) setOrderPriceData() // $(this).val(formatAmountNumber(val)) }) diff --git a/ruoyi-admin/src/main/resources/templates/manage/order/order.html b/ruoyi-admin/src/main/resources/templates/manage/order/order.html index edad408e..3816940c 100644 --- a/ruoyi-admin/src/main/resources/templates/manage/order/order.html +++ b/ruoyi-admin/src/main/resources/templates/manage/order/order.html @@ -41,6 +41,16 @@ +
  • + + +
  • +
  • + + +
  • + +
  •  搜索  重置 diff --git a/ruoyi-admin/src/main/resources/templates/project/order/edit.html b/ruoyi-admin/src/main/resources/templates/project/order/edit.html index 133ad44c..53727a4d 100644 --- a/ruoyi-admin/src/main/resources/templates/project/order/edit.html +++ b/ruoyi-admin/src/main/resources/templates/project/order/edit.html @@ -204,7 +204,7 @@ 执行单有效截止时间* - @@ -217,7 +217,7 @@ 要求到货时间* - diff --git a/ruoyi-admin/src/main/resources/templates/system/product/product.html b/ruoyi-admin/src/main/resources/templates/system/product/product.html index 3934c9b1..688289b4 100644 --- a/ruoyi-admin/src/main/resources/templates/system/product/product.html +++ b/ruoyi-admin/src/main/resources/templates/system/product/product.html @@ -85,7 +85,7 @@ }, {width:100, field: 'hzCode', - title: '上架编码' + title: '华智编码' }, { width:100, diff --git a/ruoyi-sip/src/main/java/com/ruoyi/sip/domain/ProductInfo.java b/ruoyi-sip/src/main/java/com/ruoyi/sip/domain/ProductInfo.java index f60cb93b..8a15fd36 100644 --- a/ruoyi-sip/src/main/java/com/ruoyi/sip/domain/ProductInfo.java +++ b/ruoyi-sip/src/main/java/com/ruoyi/sip/domain/ProductInfo.java @@ -28,7 +28,7 @@ public class ProductInfo extends BaseEntity /** 产品编码 */ @Excel(name = "产品编码") private String productCode; - @Excel(name = "上架编码") + @Excel(name = "华智编码") private String hzCode; private String type; private String value; diff --git a/ruoyi-sip/src/main/resources/mapper/manage/OrderInfoMapper.xml b/ruoyi-sip/src/main/resources/mapper/manage/OrderInfoMapper.xml index 6f4bf278..2c2d33f5 100644 --- a/ruoyi-sip/src/main/resources/mapper/manage/OrderInfoMapper.xml +++ b/ruoyi-sip/src/main/resources/mapper/manage/OrderInfoMapper.xml @@ -142,6 +142,8 @@ and t1.order_code like concat('%', #{orderCode}, '%') + and t1.order_agent_code in (select agent_code from agent_info where agent_name like concat('%', #{orderAgentName}, '%')) + and t1.order_partner_code in (select partner_code from partner_info where partner_name like concat('%', #{orderPartnerName}, '%')) and t1.order_name like concat('%', #{orderName}, '%') and t1.project_code like concat('%', #{projectCode}, '%') diff --git a/ruoyi-sip/src/main/resources/mapper/sip/ProjectInfoMapper.xml b/ruoyi-sip/src/main/resources/mapper/sip/ProjectInfoMapper.xml index 6d89ce22..edf6a972 100644 --- a/ruoyi-sip/src/main/resources/mapper/sip/ProjectInfoMapper.xml +++ b/ruoyi-sip/src/main/resources/mapper/sip/ProjectInfoMapper.xml @@ -178,7 +178,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where t1.id = #{id}