浏览代码

提交代码

zyf 2 年之前
父节点
当前提交
81db29fa05
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/views/RMS/components/oilPrice.vue

+ 4 - 1
src/views/RMS/components/oilPrice.vue

@@ -1,5 +1,6 @@
 //资源管理油价管理
 <template>
+  <!-- -->
   <div class="steel_inbound">
     <div class="sache">
       <el-input
@@ -82,7 +83,9 @@ export default {
       this.isKuang = true;
       this.selectLoading = true;
       this.tableLoading = true;
-      if(this.textInput){
+      if(this.textInput!=null){
+        this.textInput=this.textInput.replace('#','%23')
+        this.textInput=this.textInput.replace('%','%25')
         this.options.requestUrl = "/api/v1/rms/getOilPriceResultList?apiId=380&con=" +this.textInput+"&i="+ new Date();
       }else{
         this.options.requestUrl = "/api/v1/rms/getOilPriceResultList?apiId=380&i="+ new Date();