|
|
@@ -289,9 +289,10 @@
|
|
|
<span ng-class="{'text-inverse': change.newPayments != change.oldPayments}" ng-bind="::change.newPayments"></span>
|
|
|
<s class="text-muted" ng-if="change.newPayments != change.oldPayments" ng-bind="::change.oldPayments"></s>
|
|
|
</span>
|
|
|
- <span><span class="text-bold" ng-if="change.newApVendorName">应付供应商:</span>
|
|
|
- <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>
|
|
|
+ <span><span class="text-bold" ng-if="change.newApVendorName || change.newApVendorName == null">应付供应商:</span>
|
|
|
+ <span ng-class="{'text-inverse': change.apVendorName != change.newApVendorName && change.newApVendorName != null}" ng-bind="::change.newApVendorName"></span>
|
|
|
+ <s class="text-muted" ng-if="(change.apVendorName != change.newApVendorName) && (change.newApVendorName != null)" ng-bind="::change.apVendorName"></s>
|
|
|
+ <span ng-if="change.apVendorName != change.newApVendorName && change.newApVendorName == null" ng-bind="::change.apVendorName"></span>
|
|
|
</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
@@ -324,21 +325,31 @@
|
|
|
</tr>
|
|
|
<tr class="order-bd" ng-repeat="item in ::change.orderChangeItems">
|
|
|
<td class="product">
|
|
|
- <div>
|
|
|
+ <div ng-show = "item.newProduct.code != null">
|
|
|
<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">
|
|
|
+ <div ng-show = "item.newProduct.code == null">
|
|
|
+ <span class="text-num text-bold" ng-bind="::item.oldProduct.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) && (item.newProduct.code != null) ">
|
|
|
<s class="text-num text-bold" ng-bind="::item.oldProduct.code"></s>
|
|
|
</div>
|
|
|
- <div>
|
|
|
+ <div ng-show="item.newProduct.title != null">
|
|
|
<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>
|
|
|
+ <div ng-show="item.newProduct.title == null">
|
|
|
+ <span ng-bind="::item.oldProduct.title"></span><span class="text-muted">(名称)</span>
|
|
|
+ </div>
|
|
|
+ <div><s ng-show="((item.oldProduct.title != item.newProduct.title) && (item.newProduct.title != null))" ng-bind="::item.oldProduct.title"></s></div>
|
|
|
+ <div ng-show="item.newProduct.spec != null">
|
|
|
<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>
|
|
|
+ <div ng-show="item.newProduct.spec == null">
|
|
|
+ <span ng-bind="::item.oldProduct.spec"></span><span class="text-muted">(规格)</span>
|
|
|
+ </div>
|
|
|
+ <div><s class="text-muted" ng-show="((item.oldProduct.spec != item.newProduct.spec) && (item.newProduct.spec != null))" ng-bind="::item.oldProduct.spec"></s></div>
|
|
|
</td>
|
|
|
<td class="text-center">
|
|
|
<div class="text-num" ng-if="!isUser"
|