|
|
@@ -455,17 +455,6 @@
|
|
|
<uni-view data-v-0d059a6f="" class="result-container global_flex__colunm">
|
|
|
<uni-view data-v-0d059a6f="" class="result-header global_flex__colunm">
|
|
|
<uni-view data-v-0d059a6f="" class="global_flex__row">
|
|
|
- <uni-view data-v-a75f7a08="" data-v-05b1f4ea="" data-v-0d059a6f=""
|
|
|
- class="u-transition u-fade-enter-to u-fade-enter-active"
|
|
|
- style="transition-duration: 0ms; transition-timing-function: ease-out;">
|
|
|
- <uni-view data-v-05b1f4ea="" class="u-image"
|
|
|
- style="width: 20px; height: 20px; border-radius: 0px; overflow: visible; background-color: transparent;">
|
|
|
- <uni-image data-v-05b1f4ea="" show-menu-by-longpress="true" class="u-image__image"
|
|
|
- style="border-radius: 0px; width: 20px; height: 20px;">
|
|
|
- <div style="background-image: url("/trace/static/icon-normal.png"); background-position: center center; background-size: cover; background-repeat: no-repeat;"></div>
|
|
|
- <!----><img src="/trace/static/icon-normal.png" draggable="false"></uni-image>
|
|
|
- <!----><!----></uni-view>
|
|
|
- </uni-view>
|
|
|
<uni-text data-v-0d059a6f="" style="color: rgb(30, 188, 106);"><span id="status">正常销售</span></uni-text>
|
|
|
</uni-view><!----><!---->
|
|
|
<uni-view id="isLocation" data-v-0d059a6f="" style="font-size: 9px; color: rgb(245, 69, 49); margin-top: 10px;">
|
|
|
@@ -624,7 +613,7 @@
|
|
|
scanType: ["qrCode"], // 可以指定扫二维码还是一维码,默认二者都有
|
|
|
success: function (res) {
|
|
|
var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
|
|
|
- $("#code").val(result);
|
|
|
+ $("#code").val(result.toUpperCase());
|
|
|
search();
|
|
|
},fail:function(res){
|
|
|
// var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
|
|
|
@@ -664,15 +653,20 @@ function search(){
|
|
|
$("#sendTime").html(DeliveryTime);
|
|
|
|
|
|
$("#kehuName").html(CustomerName);
|
|
|
- }
|
|
|
- $("#saleLocation").html("["+res.saleLocation+"]");
|
|
|
- $("#curLocation").html(res.location)
|
|
|
- let cuan = res.cuan;
|
|
|
- if(cuan){
|
|
|
- $("#status").html("疑似窜货").css("color","rgb(245, 69, 49)");
|
|
|
+ let cuan = res.cuan;
|
|
|
+ $("#saleLocation").html("["+res.saleLocation+"]");
|
|
|
+ if(cuan){
|
|
|
+ $("#status").html("疑似窜货").css("color","rgb(245, 69, 49)");
|
|
|
+ }else{
|
|
|
+ $("#status").html("正常销售").css("color","rgb(30, 188, 106)");
|
|
|
+ }
|
|
|
}else{
|
|
|
- $("#status").html("正常销售").css("color","rgb(30, 188, 106)");
|
|
|
+ $("#status").html("未查到发货信息").css("color","rgb(245, 69, 49)");
|
|
|
+ $("#saleLocation").html("未发货");
|
|
|
}
|
|
|
+
|
|
|
+ $("#curLocation").html(res.location)
|
|
|
+
|
|
|
}else{
|
|
|
msg("未查询到码信息");
|
|
|
}
|