lilei 2 lat temu
rodzic
commit
5efb5ea905

+ 5 - 1
src/views/common/dealerSubareaScopeList.vue

@@ -4,7 +4,7 @@
     label-in-value
     :size="size"
     :value="dealerName"
-    placeholder="请输入名称搜索"
+    :placeholder="placeholder"
     style="width: 100%"
     :filter-option="false"
     :not-found-content="fetching ? undefined : null"
@@ -27,6 +27,10 @@ export default {
     size: {
       type: String,
       default: 'default'
+    },
+    placeholder: {
+      type: String,
+      default: '请输入名称搜索'
     }
   },
   data () {

+ 1 - 1
src/views/salesReturnManagement/billOfLading/add.vue

@@ -51,7 +51,7 @@
             </a-col>
             <a-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
               <a-form-model-item label="发货方">
-                <dealerSubareaScopeList ref="dealerSubareaScopeList" id="billOfLadingEdit-senderName" @change="custChange" />
+                <dealerSubareaScopeList placeholder="请输入经销商名称搜索" ref="dealerSubareaScopeList" id="billOfLadingEdit-senderName" @change="custChange" />
               </a-form-model-item>
             </a-col>
             <a-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">

+ 2 - 2
vue.config.js

@@ -107,9 +107,9 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.0.183:8602/ocs-admin',
+        // target: 'http://192.168.0.183:8602/ocs-admin',
         // target: 'https://t.ocs.360arrow.com/ocs-admin', //  Á·Ï°
-        // target: 'http://p.ocs.360arrow.com/ocs-admin', //  Ô¤·¢²¼
+        target: 'http://p.ocs.360arrow.com/ocs-admin', //  Ô¤·¢²¼
         ws: false,
         changeOrigin: true,
         pathRewrite: {