dev01 2 years ago
parent
commit
b69fbdff5a

+ 1 - 1
js/component/manageCenter/channelList/channelunit/addchannel.jsx

@@ -259,7 +259,7 @@ const AchievementDetailForm = Form.create()(
                 title: "提醒",
                 content: (
                   <div>
-                    <p>
+                    <p style={{ color: "red" }}>
                       企业客户已存在!请在“客户管理-企业客户-企业客户查询”输入企业全称查询所属人信息
                     </p>
                   </div>

+ 3 - 1
js/component/manageCenter/channelList/channelunit/index.jsx

@@ -49,7 +49,7 @@ class ChannelUnit extends Component {
           key: "province",
           width: 250,
           render: (text, record) => {
-            return record.province + "-" + record.city + "-" + record.area;
+            return (record.province || "") + " " + (record.city || "") + " " + (record.area || "");
           },
         },
         {
@@ -175,6 +175,8 @@ class ChannelUnit extends Component {
         searchInfor: JSON.parse(JSON.stringify({})),
         selectedRowKeys: [],
         selectedRows: [],
+        cityList: [],
+        areaList: [],
         auto: "",
       },
       () => {

+ 3 - 1
js/component/manageCenter/channelList/channelunit/publist.jsx

@@ -47,7 +47,7 @@ class ChannelUnit extends Component {
           dataIndex: "province",
           key: "province",
           render: (text, record) => {
-            return record.province + "-" + record.city + "-" + record.area;
+            return (record.province || "") + " " + (record.city || "") + " " + (record.area || "");
           },
         },
         {
@@ -180,6 +180,8 @@ class ChannelUnit extends Component {
       {
         searchInfor: JSON.parse(JSON.stringify({})),
         selectedRowKeys: [],
+        cityList: [],
+        areaList: [],
       },
       () => {
         this.loadData();

+ 4 - 3
js/component/manageCenter/order/orderNew/billing.jsx

@@ -1624,9 +1624,10 @@ const MyService = Form.create()(
       this.state.userDetaile = false;
       this.state.signBillVisible = false;
       this.state.showDesc = e;
-      if (s) {
-        this.loadData(this.state.pageNo);
-      }
+      this.loadData(this.state.pageNo);
+      // if (s) {
+      //   this.loadData(this.state.pageNo);
+      // }
     },
     searchSwitch() {
       this.setState({