liusw 8 лет назад
Родитель
Сommit
fc3b43e557

+ 1 - 1
src/main/java/com/uas/platform/b2c/trade/seek/service/impl/SeekPurchaseBomServiceImpl.java

@@ -466,7 +466,7 @@ public class SeekPurchaseBomServiceImpl implements SeekPurchaseBomService {
                 inquiryItem.setNeedquantity(batch.getAmount());
                 inquiryItem.setInbrand(batch.getBrand());
                 inquiryItem.setCurrency(batch.getCurrency());
-                inquiryItem.setCmpCode(batch.getCode());
+                inquiryItem.setCmpCode(batch.getCode().toUpperCase());
                 inquiryItem.setUnitPrice(batch.getUnitPrice());
                 inquiryItem.setProduceDate(batch.getProduceDate());
                 inquiryItem.setDate(new Date());

+ 1 - 1
src/main/webapp/resources/js/usercenter/controllers/forstore/seek_purchase_ctrl.js

@@ -337,7 +337,7 @@ define(['app/app'], function (app) {
               inquiryItem.needquantity = $scope.applyObj.amount;
               inquiryItem.inbrand = $scope.applyObj.brand;
               inquiryItem.currency = $scope.applyObj.currency;
-              inquiryItem.cmpCode = $scope.applyObj.code;
+              inquiryItem.cmpCode = ($scope.applyObj.code).toUpperCase();
               inquiryItem.unitPrice = $scope.applyObj.unitPrice;
               inquiryItem.produceDate = $scope.applyObj.produceDate;
               inquiryItem.date = new Date();