Ejemplo n.º 1
0
        line-height: 30px;
        margin-left: 20px;
        white-space: nowrap;
    }
</style>

<?php 
$this->breadcrumbs = array('销售管理' => Yii::app()->createUrl('common/saleslist'), '订单发货');
?>
<div class="bor_back m-top">
    <div class="txxx txxx2">
        第一步&nbsp;&nbsp;确认订单信息
    </div>
    <?php 
$buyer = PapOrder::model()->findByPk($ID[0], array('select' => 'BuyerID,BuyerName'))->attributes;
$addr = SellerorderService::getSellerOrgan($buyer['BuyerID']);
?>
    <ul class="mjxx m-top" style="height:40px">
        <li>机构名称:<span><?php 
echo $addr['OrganName'] ? $addr['OrganName'] : $buyer['BuyerName'];
?>
</span></li>
        <li>联系电话:<span><?php 
echo $addr['phone'];
?>
</span></li>
        <li>城市:<span><?php 
echo $addr['citys'];
?>
</span></li>
    </ul>
Ejemplo n.º 2
0
                     <div>
                         <?php 
 if ($data->Payment == 1) {
     ?>
                             支付宝担保
                         <?php 
 } elseif ($data->Payment == 2) {
     ?>
                             物流代收款
                         <?php 
 }
 ?>
                     </div>
                     <div class="m_top7"><span class="order_status">
                         <?php 
 echo SellerorderService::showOrderStatus($data->Status, $data->ReturnStatus);
 ?>
                      </span></div>
                      <?php 
 if (in_array($data->ReturnStatus, array(1, 2, 3)) && $returnorder['Status'] == 5 && $returnorder['ComplainStatus'] == 1) {
     ?>
                         <p class="order_status">(申诉处理中)</p>
                     <?php 
 } elseif (in_array($data->ReturnStatus, array(1, 2, 3)) && $returnorder['Status'] == 5 && $returnorder['ComplainStatus'] == 2) {
     ?>
                         <p class="order_status">(申诉已处理)</p>
                     <?php 
 } else {
     ?>
                     <?php 
     if (in_array($data->ReturnStatus, array(1, 2, 3))) {
Ejemplo n.º 3
0
 public function actionSellCustomExport()
 {
     $params['starttime'] = strtotime(Yii::app()->request->getParam('starttime')) ? strtotime(Yii::app()->request->getParam('starttime')) : '';
     $params['endtime'] = strtotime(Yii::app()->request->getParam('endtime')) ? strtotime(Yii::app()->request->getParam('endtime')) : '';
     $params['OrganID'] = Yii::app()->user->getOrganID();
     $params['page'] = Yii::app()->request->getParam('page') ? Yii::app()->request->getParam('page') : '1';
     $search_text = trim(Yii::app()->request->getParam('search_text'));
     if ($search_text && $search_text != '商品名称/商品编号') {
         $params['search_text'] = $search_text;
     }
     $params['pageSize'] = 10;
     SellerorderService::SellCustomExport($params);
 }
Ejemplo n.º 4
0
?>
                <div><a class="indexmore" href="<?php 
echo Yii::app()->createUrl("pap/inquirylist/index");
?>
">查看更多</a></div>
            </div>
            <div class="tab-bd-con current2" style="display: none;"> 
                <?php 
$this->widget('widgets.default.WGridView', array('dataProvider' => InquiryService::getinqlists(array('status' => 0)), 'columns' => array(array('name' => '#', 'value' => '$data[rowNO]'), array('name' => '询价单编号', 'value' => ' $data["InquirySn"]'), array('name' => '发起方', 'value' => 'QuotationService::getservicename($data["OrganID"])'), array('name' => '询价时间', 'value' => 'date("Y-m-d H:i:s",$data["CreateTime"])'), array('name' => '状态', 'type' => 'raw', 'value' => '$data["stamsg"]'), array('name' => '询价单详情', 'type' => 'raw', 'value' => '$data["Info"]'))));
?>
                <div><a class="indexmore" href="<?php 
echo Yii::app()->createUrl("pap/inquirylist/index/sta/0");
?>
">查看更多</a></div>
            </div>
            <div class="tab-bd-con current3" style="display: none;"> 
                <?php 
//                var_dump(SellerorderService::getSellOrderList(array('Status' => 2, 'pageSize' => 10)));
$Orderlist = SellerorderService::getSellOrderList(array('Status' => 2, 'pageSize' => 10, 'starttime' => 1));
// var_dump($Orderlist);exit;
$this->widget('widgets.default.WGridView', array('dataProvider' => $Orderlist['dataProvider'], 'columns' => array(array('name' => '#', 'value' => '$data[rowNO]'), array('name' => '下单时间', 'value' => 'SellerorderService::returnTime($data[CreateTime])'), array('name' => '订单编号', 'value' => '$data[OrderSN]'), array('name' => '机构名称', 'value' => '$data[BuyerName]'), array('name' => '总金额', 'value' => '¥.$data[RealPrice]'), array('name' => '订单详情', 'type' => 'raw', 'value' => '$data[Info]'))));
?>
                <div><a class="indexmore" href="<?php 
echo Yii::app()->createUrl("pap/sellerorder/index", array('Status' => 2, 'type' => 2));
?>
">查看更多</a></div>
            </div>
        </div>

    </div>
</div>
Ejemplo n.º 5
0
Archivo: detail.php Proyecto: zwq/unpei
            ?>
                                <td width="100"><p style="word-break:break-all;word-wrap:break-word; white-space:normal;max-width:100px;"><?php 
            echo $list['PN'];
            ?>
</p></td>
                            <?php 
        }
        ?>
                            <?php 
        if ($key == 0) {
            ?>
                                <td rowspan="<?php 
            echo $count;
            ?>
" width="80"> <span><?php 
            echo SellerorderService::showOrderStatus($order['order']['Status'], $order['order']['ReturnStatus']);
            ?>
</span></td>   
                            <?php 
        }
        ?>
                            <td width="110"> 
                                <?php 
        $oldTotal = $list['ProPrice'] ? $list['ProPrice'] * $list['Quantity'] : $list['Price'] * $list['Quantity'];
        ?>
                                <?php 
        $subTotal = sprintf('%.2f', $oldTotal);
        ?>
                                <div class="zwq_color">
                                    ¥<?php 
        echo $subTotal;