|
@@ -0,0 +1,210 @@
|
|
|
|
|
+<style>
|
|
|
|
|
+ #order-detail-list .table-default .header th{
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ }
|
|
|
|
|
+</style>
|
|
|
|
|
+<div class="pane base-info" id="order-detail-list">
|
|
|
|
|
+ <div class="pub-com_head">
|
|
|
|
|
+ <span>客户采购变更单</span>
|
|
|
|
|
+ <div class="p-right">
|
|
|
|
|
+ <!-- <a href="#" class="pull-right text-simple"><i
|
|
|
|
|
+ class="fa fa-print fa-fw"></i>打印</a> -->
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="pane-body">
|
|
|
|
|
+ <div class="title-div" style="border-bottom: 1px dashed #3f84f6;">
|
|
|
|
|
+ <span class="f14">单据信息</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row row-sm item">
|
|
|
|
|
+ <div class="col-xs-3">
|
|
|
|
|
+ <span class="title">流水号</span>
|
|
|
|
|
+ <div class="content" ng-bind="::change.code"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col-xs-3">
|
|
|
|
|
+ <span class="title">日期</span>
|
|
|
|
|
+ <div class="content" ng-bind="::change.date | date:'yyyy-MM-dd'"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col-xs-6">
|
|
|
|
|
+ <span class="title">原供应商</span>
|
|
|
|
|
+ <div class="content" ng-bind="::change.apVendorName"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row row-sm item">
|
|
|
|
|
+ <div class="col-xs-3">
|
|
|
|
|
+ <span class="title">录单人</span>
|
|
|
|
|
+ <div class="content" ng-bind="::change.recorder"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col-xs-9">
|
|
|
|
|
+ <span class="title">备注</span>
|
|
|
|
|
+ <div class="content" ng-bind="::change.remark"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="title-div" style="border-bottom: 1px dashed #3f84f6;">
|
|
|
|
|
+ <span class="f14">原采购单</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row row-sm item">
|
|
|
|
|
+ <div class="col-xs-3">
|
|
|
|
|
+ <span class="title">采购单号</span>
|
|
|
|
|
+ <div class="content">
|
|
|
|
|
+ <a ng-bind="::change.orderCode"
|
|
|
|
|
+ ui-sref="purc.order_detail({id:change.orderId})" target="_blank"></a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="title-div" style="border-bottom: 1px dashed #3f84f6;">
|
|
|
|
|
+ <span class="f14">交易信息变更</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row row-sm item">
|
|
|
|
|
+ <div class="col-xs-3">
|
|
|
|
|
+ <span class="title">币别</span>
|
|
|
|
|
+ <div class="content">
|
|
|
|
|
+ <span ng-class="{'text-inverse': change.newCurrency != change.oldCurrency}"
|
|
|
|
|
+ ng-bind="::change.newCurrency"></span>
|
|
|
|
|
+ <s ng-show="change.newCurrency != change.oldCurrency"
|
|
|
|
|
+ class="text-muted" ng-bind="::change.oldCurrency"></s>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col-xs-3">
|
|
|
|
|
+ <span class="title">汇率</span>
|
|
|
|
|
+ <div class="text-num content">
|
|
|
|
|
+ <span
|
|
|
|
|
+ ng-class="{'text-inverse': change.newRate != change.oldRate}"
|
|
|
|
|
+ ng-bind="::change.newRate"></span> <s
|
|
|
|
|
+ ng-show="change.newRate != change.oldRate" class="text-muted"
|
|
|
|
|
+ ng-bind="::change.oldRate"></s>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col-xs-6">
|
|
|
|
|
+ <span class="title">付款方式</span>
|
|
|
|
|
+ <div class="content">
|
|
|
|
|
+ <span ng-class="{'text-inverse': change.newPayments != change.oldPayments}"
|
|
|
|
|
+ ng-bind="::change.newPayments"></span>
|
|
|
|
|
+ <s ng-show="change.newPayments != change.oldPayments"
|
|
|
|
|
+ class="text-muted" ng-bind="::change.oldPayments"></s>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col-xs-12">
|
|
|
|
|
+ <span class="title" ng-if="change.newApVendorName">应付供应商</span>
|
|
|
|
|
+ <div class="content">
|
|
|
|
|
+ <span ng-class="{'text-inverse': change.apVendorName != change.newApVendorName}" ng-bind="::change.newApVendorName"></span>
|
|
|
|
|
+ <s class="text-muted" ng-if="change.apVendorName != change.newApVendorName" ng-bind="::change.apVendorName"></s>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="title-div" style="border-bottom: 1px dashed #3f84f6; position: relative;">
|
|
|
|
|
+ <span class="f14">产品变更详情</span>
|
|
|
|
|
+ <div class="end" ng-show="change.status == 200">
|
|
|
|
|
+ <a class="btn btn-sm btn-default"
|
|
|
|
|
+ ng-click="change.$editing=!change.$editing" ng-if="change.unNeedReply != 1"><i
|
|
|
|
|
+ class="fa fa-share fa-fw"></i>我要回复</a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row row-sm item" ng-if="change.$editing" style="line-height: 20px; padding-top: 20px;">
|
|
|
|
|
+ <div class="col-xs-3">
|
|
|
|
|
+ <div class="form-group pull-right" ng-init="change.$agreed = 1">
|
|
|
|
|
+ <label class="radio-inline"> <input type="radio"
|
|
|
|
|
+ ng-model="change.$agreed" value="1"> 同意
|
|
|
|
|
+ </label> <label class="radio-inline"> <input type="radio"
|
|
|
|
|
+ ng-model="change.$agreed" value="0"> 不同意
|
|
|
|
|
+ </label>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col-xs-7">
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
|
+ <input type="text" ng-model="change.replyRemark"
|
|
|
|
|
+ class="form-control input-xs" placeholder="回复备注">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col-xs-2">
|
|
|
|
|
+ <div class="btn-group btn-group-xs btn-group-justified">
|
|
|
|
|
+ <div class="btn-group btn-group-xs">
|
|
|
|
|
+ <button type="button" class="btn btn-info btn-line" ng-click="onReplyClick(change)">确认回复</button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="btn-group btn-group-xs">
|
|
|
|
|
+ <button type="button" class="btn btn-default btn-line" ng-click="change.$editing=!change.$editing">取消</button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="block">
|
|
|
|
|
+ <table class="block table table-default table-striped table-hover" style="margin-bottom: 0;">
|
|
|
|
|
+ <thead>
|
|
|
|
|
+ <tr class="header">
|
|
|
|
|
+ <th width="380">产品</th>
|
|
|
|
|
+ <th width="100">单价</th>
|
|
|
|
|
+ <th width="60">数量</th>
|
|
|
|
|
+ <th width="120">交货日期</th>
|
|
|
|
|
+ <th width="140">变更内容</th>
|
|
|
|
|
+ <th width="70">操作</th>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </thead>
|
|
|
|
|
+ </table>
|
|
|
|
|
+ <table class="block table table-default table-striped table-hover" ng-class="{'scoroll':order.orderItems.length>10}">
|
|
|
|
|
+ <tbody>
|
|
|
|
|
+ <tr ng-repeat="item in change.orderChangeItems track by item.id">
|
|
|
|
|
+ <td width="380">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <span class="text-num text-bold" ng-class="{'text-inverse': item.oldProduct.code != item.newProduct.code}" ng-bind="::item.newProduct.code"></span><span class="text-muted">(型号)</span>
|
|
|
|
|
+ <span class="text-light"> 订单第 <span class="text-num">{{::item.orderItemNumber}}</span> 行</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div ng-show="item.oldProduct.code != item.newProduct.code">
|
|
|
|
|
+ <s class="text-num text-bold" ng-bind="::item.oldProduct.code"></s>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <span ng-class="{'text-inverse': item.oldProduct.title != item.newProduct.title}" ng-bind="::item.newProduct.title"></span><span class="text-muted">(名称)</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div><s ng-show="item.oldProduct.title != item.newProduct.title" ng-bind="::item.oldProduct.title"></s></div>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <span ng-class="{'text-inverse': item.oldProduct.spec != item.newProduct.spec}" ng-bind="::item.newProduct.spec"></span><span class="text-muted">(规格)</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div><s class="text-muted" ng-show="item.oldProduct.spec != item.newProduct.spec" ng-bind="::item.oldProduct.spec"></s></div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td class="text-center" width="100">
|
|
|
|
|
+ <div class="text-num" ng-if="!isUser"
|
|
|
|
|
+ ng-class="{'text-inverse': item.newPrice != item.oldPrice}"
|
|
|
|
|
+ title="{{item.newPrice}}" ng-bind="::item.newPrice | number:6"></div>
|
|
|
|
|
+ <div ng-if="isUser" ng-class="{'text-inverse': item.newPrice != item.oldPrice}">-</div>
|
|
|
|
|
+ <div ng-show="item.newPrice != item.oldPrice">
|
|
|
|
|
+ <s ng-if="!isUser" class="text-num text-muted" ng-bind="::item.oldPrice | number:6"></s>
|
|
|
|
|
+ <s ng-if="isUser" class="text-num text-muted" >-</s>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="text-muted">
|
|
|
|
|
+ 税率 <span class="text-num" ng-class="{'text-inverse': item.newTaxrate != item.oldTaxrate}">
|
|
|
|
|
+ {{::item.newTaxrate}}%
|
|
|
|
|
+ </span> <s ng-if="item.newTaxrate != item.oldTaxrate">{{::item.oldTaxrate}}%</s>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td class="text-center" width="60">
|
|
|
|
|
+ <div class="text-num"
|
|
|
|
|
+ ng-class="{'text-inverse': item.newQty != item.oldQty}"
|
|
|
|
|
+ title="{{item.newQty}}" ng-bind="::item.newQty"></div>
|
|
|
|
|
+ <div ng-show="item.newQty != item.oldQty">
|
|
|
|
|
+ <s class="text-num text-muted" title="{{item.oldQty}}"
|
|
|
|
|
+ ng-bind="::item.oldQty"></s>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="text-muted" ng-bind="::item.newProduct.unit"></div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td class="text-center" width="120">
|
|
|
|
|
+ <div class="text-num"
|
|
|
|
|
+ ng-class="{'text-inverse': item.newDelivery != item.oldDelivery}"
|
|
|
|
|
+ ng-bind="::item.newDelivery | date:'yyyy-MM-dd'" style="width: 100%"></div>
|
|
|
|
|
+ <div ng-show="item.newDelivery != item.oldDelivery">
|
|
|
|
|
+ <s class="text-num text-muted"
|
|
|
|
|
+ ng-bind="::item.oldDelivery | date:'yyyy-MM-dd'"></s>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td colspan="2" width="210">
|
|
|
|
|
+ <div ng-bind="::item.description"></div>
|
|
|
|
|
+ <div ng-if="change.agreed == 1" class="block">
|
|
|
|
|
+ <span class="text-trans success">已同意</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div ng-if="change.agreed == 0" class="block">
|
|
|
|
|
+ <span class="text-trans warning">不同意</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </tbody>
|
|
|
|
|
+ </table>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+</div>
|