Quellcode durchsuchen

收款条件样式调整

qymljy vor 2 Jahren
Ursprung
Commit
3b31c24e86
1 geänderte Dateien mit 36 neuen und 11 gelöschten Zeilen
  1. 36 11
      src/HDrpManagement/collectionRule/modules/table.vue

+ 36 - 11
src/HDrpManagement/collectionRule/modules/table.vue

@@ -27,7 +27,10 @@
             width="70">
             width="70">
             <template slot-scope="scope">
             <template slot-scope="scope">
               <div v-if="scope.row.accountingnodes">
               <div v-if="scope.row.accountingnodes">
-                <indexNew :data="scope.row.accountingnodes.ordercheck"></indexNew>
+                <div v-if="scope.row.accountingnodes.ordercheck">
+                  <indexNew :data="scope.row.accountingnodes.ordercheck"></indexNew>
+                </div>
+                <div v-else>--</div>
               </div>
               </div>
               <div v-else>--</div>
               <div v-else>--</div>
             </template>
             </template>
@@ -38,7 +41,10 @@
             width="70">
             width="70">
             <template slot-scope="scope">
             <template slot-scope="scope">
               <div v-if="scope.row.accountingnodes">
               <div v-if="scope.row.accountingnodes">
-                <tableColumn :data="scope.row.accountingnodes.ordercheck" name="days"></tableColumn>
+                <div v-if="scope.row.accountingnodes.ordercheck">
+                  <tableColumn :data="scope.row.accountingnodes.ordercheck" name="days"></tableColumn>
+                </div>
+                <div v-else>--</div>
               </div>
               </div>
               <div v-else>--</div>
               <div v-else>--</div>
             </template>
             </template>
@@ -50,11 +56,12 @@
               width="70">
               width="70">
             <template slot-scope="scope">
             <template slot-scope="scope">
               <div v-if="scope.row.accountingnodes">
               <div v-if="scope.row.accountingnodes">
-                <tableColumn :data="scope.row.accountingnodes.ordercheck" name="amountrate"></tableColumn>
+                <div v-if="scope.row.accountingnodes.ordercheck">
+                  <tableColumn :data="scope.row.accountingnodes.ordercheck" name="amountrate"></tableColumn>
+                </div>
+                <div v-else>--</div>
               </div>
               </div>
               <div v-else>--</div>
               <div v-else>--</div>
-              <!--              <div v-if="scope.row.point == '订单审核'">{{scope.row.amountrate * 100}}%</div>
-                            <div v-else>--</div>-->
             </template>
             </template>
           </el-table-column>
           </el-table-column>
         </el-table-column>
         </el-table-column>
@@ -67,7 +74,10 @@
             width="100">
             width="100">
             <template slot-scope="scope">
             <template slot-scope="scope">
               <div v-if="scope.row.accountingnodes">
               <div v-if="scope.row.accountingnodes">
-                <indexNew :data="scope.row.accountingnodes.logisticscheck"></indexNew>
+                <div v-if="scope.row.accountingnodes.logisticscheck">
+                  <indexNew :data="scope.row.accountingnodes.logisticscheck"></indexNew>
+                </div>
+                <div v-else>--</div>
               </div>
               </div>
               <div v-else>--</div>
               <div v-else>--</div>
             </template>
             </template>
@@ -79,7 +89,10 @@
             width="70">
             width="70">
             <template slot-scope="scope">
             <template slot-scope="scope">
               <div v-if="scope.row.accountingnodes">
               <div v-if="scope.row.accountingnodes">
-                <tableColumn :data="scope.row.accountingnodes.logisticscheck" name="days"></tableColumn>
+                <div v-if="scope.row.accountingnodes.logisticscheck">
+                  <tableColumn :data="scope.row.accountingnodes.logisticscheck" name="days"></tableColumn>
+                </div>
+                <div v-else>--</div>
               </div>
               </div>
               <div v-else>--</div>
               <div v-else>--</div>
             </template>
             </template>
@@ -90,7 +103,10 @@
               width="70">
               width="70">
             <template slot-scope="scope">
             <template slot-scope="scope">
               <div v-if="scope.row.accountingnodes">
               <div v-if="scope.row.accountingnodes">
-                <tableColumn :data="scope.row.accountingnodes.logisticscheck" name="amountrate"></tableColumn>
+                <div v-if="scope.row.accountingnodes.logisticscheck">
+                  <tableColumn :data="scope.row.accountingnodes.logisticscheck" name="amountrate"></tableColumn>
+                </div>
+                <div v-else>--</div>
               </div>
               </div>
               <div v-else>--</div>
               <div v-else>--</div>
             </template>
             </template>
@@ -104,8 +120,11 @@
             label="发票审核"
             label="发票审核"
             width="70">
             width="70">
             <template slot-scope="scope">
             <template slot-scope="scope">
-               <div v-if="scope.row.accountingnodes">
-                <indexNew :data="scope.row.accountingnodes.invoiceapplycheck"></indexNew>
+              <div v-if="scope.row.accountingnodes">
+                <div v-if="scope.row.accountingnodes.invoiceapplycheck">
+                  <indexNew :data="scope.row.accountingnodes.invoiceapplycheck"></indexNew>
+                </div>
+                <div v-else>--</div>
               </div>
               </div>
               <div v-else>--</div>
               <div v-else>--</div>
             </template>
             </template>
@@ -117,7 +136,10 @@
             width="70">
             width="70">
             <template slot-scope="scope">
             <template slot-scope="scope">
               <div v-if="scope.row.accountingnodes">
               <div v-if="scope.row.accountingnodes">
-                <tableColumn :data="scope.row.accountingnodes.invoiceapplycheck" name="days"></tableColumn>
+                <div v-if="scope.row.accountingnodes.invoiceapplycheck">
+                  <tableColumn :data="scope.row.accountingnodes.invoiceapplycheck" name="days"></tableColumn>
+                </div>
+                <div v-else>--</div>
               </div>
               </div>
               <div v-else>--</div>
               <div v-else>--</div>
             </template>
             </template>
@@ -128,7 +150,10 @@
               width="70">
               width="70">
             <template slot-scope="scope">
             <template slot-scope="scope">
               <div v-if="scope.row.accountingnodes">
               <div v-if="scope.row.accountingnodes">
+                <div v-if="scope.row.accountingnodes.invoiceapplycheck">
                   <tableColumn :data="scope.row.accountingnodes.invoiceapplycheck" name="amountrate"></tableColumn>
                   <tableColumn :data="scope.row.accountingnodes.invoiceapplycheck" name="amountrate"></tableColumn>
+                </div>
+                <div v-else>--</div>
               </div>
               </div>
               <div v-else>--</div>
               <div v-else>--</div>
             </template>
             </template>