Browse Source

匹配结果UI调整

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@9168 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 years ago
parent
commit
5fe36f4aca

+ 2 - 5
src/main/webapp/resources/tpl/index/approvalFlow/productmatches.html

@@ -311,16 +311,13 @@ tbody td div.text-mould {
 					<span ng-bind="::product.brand"></span>
 					<span ng-bind="::product.brand"></span>
 				</td>
 				</td>
 				<td>
 				<td>
-					<div ng-if="product.matchresults.length == 0" style="color: #999; text-align: center;">-</div>
+					<div ng-if="product.matchresults.length == 0" style="color: #999; text-align: center;"></div>
 					<div ng-repeat="result in product.matchresults">
 					<div ng-repeat="result in product.matchresults">
 						<div style="margin-bottom: 10px;">
 						<div style="margin-bottom: 10px;">
 							<div>类目:{{result.kindcn}}</div>
 							<div>类目:{{result.kindcn}}</div>
-							<div>型号:{{result.cmpcode}}</div>
+							<div>型号:{{result.cmpcode}}<input type="checkbox" ng-click="checkItem(result)" ng-checked="result.checked" style="float: right"  ng-if="product.matchresults.length > 1"></div>
 							<div>品牌:{{result.branden}}</div>
 							<div>品牌:{{result.branden}}</div>
 						</div>
 						</div>
-						<div style="float: right; line-height: 70px;">
-							<input type="checkbox" ng-click="checkItem(result)" ng-checked="result.checked" ng-if="product.matchresults.length > 1">
-						</div>
 					</div>
 					</div>
 				</td>
 				</td>
 				<td class="text-center"><input type="checkbox" ng-click="checkOne(product)" ng-checked="product.checked" ng-disabled="product.matchresults.length != 1" ng-if="product.matchresults.length == 1"></td>
 				<td class="text-center"><input type="checkbox" ng-click="checkOne(product)" ng-checked="product.checked" ng-disabled="product.matchresults.length != 1" ng-if="product.matchresults.length == 1"></td>