Andy il y a 3 ans
Parent
commit
45b62b511a
1 fichiers modifiés avec 11 ajouts et 8 suppressions
  1. 11 8
      src/views/leadMatch/MatchList/matchPage.vue

+ 11 - 8
src/views/leadMatch/MatchList/matchPage.vue

@@ -28,14 +28,14 @@
       >
     </Toptitle>
     <div class="top-info">
-      <Row align="middle" type="flex" justify="space-between">
-        <Col>
+      <Row align="middle" type="flex" justify="start">
+        <Col style="margin-right:20px">
           <span>项目编号:</span><span>{{ info.project_number }}</span>
         </Col>
-        <Col>
+        <Col style="margin-right:20px">
           <span>项目名称:</span><span>{{ info.project_name }}</span>
         </Col>
-        <Col v-if="currencyTag == 1">
+        <Col  style="margin-right:20px" v-if="currencyTag == 1">
           <span>图号:</span>
           <span>
             <Select
@@ -57,7 +57,7 @@
             </Select>
           </span>
         </Col>
-        <Col v-if="currencyTag == 1">
+        <Col  style="margin-right:20px" v-if="currencyTag == 1">
           <span>产品名称:</span>
           <span>
             <Select
@@ -79,7 +79,7 @@
             </Select>
           </span>
         </Col>
-        <Col v-if="currencyTag == 1">
+        <Col style="margin-right:20px" v-if="currencyTag == 1">
           <Button @click="handleSearchUnmatchedInfo" type="primary">
             确认
           </Button>
@@ -97,7 +97,7 @@
         >
           匹配
         </Button>
-        <TabPane label="本次未匹配" name="1">
+        <TabPane label="匹配" name="1">
           <Row>
             <Col
               span="16"
@@ -440,7 +440,7 @@
             </Col>
           </Row>
         </TabPane>
-        <TabPane label="本次已匹配" name="2">
+        <TabPane label="匹配" name="2">
           <Row type="flex" align="middle" style="padding:10px 0">
             <Col span="4">
               <span>图号:</span>
@@ -1140,6 +1140,9 @@ export default {
       this.isMatchedSelectAll = flag;
     },
     handleMatchedSet(row, index, type) {
+      if (this.matchedSelectedList.length==0) {
+        return this.$Message.warning('请选择')
+      }
       switch (type) {
         case 5:
           if (index == -1) {