huangbin преди 4 години
родител
ревизия
eeda22f2de

+ 38 - 32
src/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_blocs/components/post-buying/permancePlanTmp.vue

@@ -1,37 +1,43 @@
 <template>
-    <!--选择履约模板-->
-    <Drawer
-        :title="'选择履约模板'"
-        :placement="'right'"
-        :visible="visible"
-        @cancel="cancel"
-        class="top486"
-    >
-        <span class="add-permance" @click="open">
-            <svg class="icon svg-icon" aria-hidden="true">
-                <use xlink:href="#icon-xinjianzengjiaxinzeng-20" />
-            </svg>
-        </span>
-        <a-spin :spinning="loading">
-            <div class="moduleContent">
-                <div class="itemBar" v-for="item in tableList" :key="item.autoid">
-                    <div class="itemName">{{item.templatename}}</div>
-                    <div class="rulesCont">
-                        <a-row>
-                            <a-col :span="24" class="ruleCol">
-                                <div class="line" v-for="sub in item.LstStep" :key="sub.autoid">
-                                    <!-- <div class="no">{{index + 1}}</div> -->
-                                    <div class="name">{{sub.templatename}}</div>
-                                    <div class="time">{{sub.stepdate}}</div>
-                                </div>
-                            </a-col>
-                        </a-row>
-                    </div>
+  <!--选择履约模板-->
+  <Drawer :title="'选择履约模板'"
+          :placement="'right'"
+          :visible="visible"
+          @cancel="cancel"
+          class="top486">
+    <span class="add-permance"
+          @click="open">
+      <svg class="icon svg-icon"
+           aria-hidden="true">
+        <use xlink:href="#icon-xinjianzengjiaxinzeng-20" />
+      </svg>
+    </span>
+    <a-spin :spinning="loading">
+      <div class="moduleContent">
+        <div class="itemBar"
+             v-for="item in tableList"
+             :key="item.autoid">
+          <div class="itemName">{{item.templatename}}</div>
+          <div class="rulesCont">
+            <a-row>
+              <a-col :span="24"
+                     class="ruleCol">
+                <div class="line"
+                     v-for="sub in item.LstStep"
+                     :key="sub.autoid">
+                  <div class="name">{{sub.steptypename}}</div>
+                  <div class="time">{{sub.stepdate}}</div>
                 </div>
-            </div>
-        </a-spin>
-    </Drawer>
-    <Add v-if="show" @cancel="close" @update="close" />
+              </a-col>
+            </a-row>
+          </div>
+        </div>
+      </div>
+    </a-spin>
+  </Drawer>
+  <Add v-if="show"
+       @cancel="close"
+       @update="close" />
 </template>
 
 <script lang="ts">