dever 3 年之前
父節點
當前提交
0ec9f4255b
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      app/cash/lib/Set.php
  2. 1 1
      app/mshop/lib/Buy.php

+ 2 - 2
app/cash/lib/Set.php

@@ -141,7 +141,7 @@ class Set
         } else {
             $html .= '<tr>
               <td width="80">对账金额</td>
-              <td>'.$this->table(false, array(array('¥' . $info['cash'] . ''))).'</td>
+              <td>'.$this->table(false, array(array('¥' . round($info['cash'], 2) . ''))).'</td>
 
             </tr>';
         }
@@ -244,7 +244,7 @@ class Set
                     $cdate,
                     $fdate,
                     $operdate,
-                    $cash,
+                    round($cash, 2),
                     '已入账'
                 );
             }

+ 1 - 1
app/mshop/lib/Buy.php

@@ -811,7 +811,7 @@ class Buy
                 $sku = '';
             }
 
-            if ($tk && $v['status'] == 3) {
+            if ($tk && $v['status'] == 3 && $tk['status'] != 3) {
                 $d = array
                 (
                     $goods_info['name'] . ' ' . $sku,