|
@@ -341,7 +341,7 @@
|
|
|
color: #5078cb;
|
|
color: #5078cb;
|
|
|
}
|
|
}
|
|
|
.pro_management .table .check-active {
|
|
.pro_management .table .check-active {
|
|
|
- margin-right: 15px;
|
|
|
|
|
|
|
+ /*margin-right: 15px;*/
|
|
|
user-select: none;
|
|
user-select: none;
|
|
|
}
|
|
}
|
|
|
.pro_management .table .check-active span {
|
|
.pro_management .table .check-active span {
|
|
@@ -1941,6 +1941,29 @@
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
color: #f60e0e;
|
|
color: #f60e0e;
|
|
|
}
|
|
}
|
|
|
|
|
+ .Regulpic img {
|
|
|
|
|
+ width: 24px;
|
|
|
|
|
+ height: 27px;
|
|
|
|
|
+ }
|
|
|
|
|
+ div.forAdminLook {
|
|
|
|
|
+ margin: 0 auto;
|
|
|
|
|
+ width: 70px;
|
|
|
|
|
+ height: 25px;
|
|
|
|
|
+ color: #333;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ border: 1px solid #5078cb;
|
|
|
|
|
+ border-radius: 3px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ line-height: 25px;
|
|
|
|
|
+ margin-top: 4px;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ display: none
|
|
|
|
|
+ }
|
|
|
|
|
+ .ToforAdminLook:hover .forAdminLook {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
</style>
|
|
</style>
|
|
|
<div class="user_right fr">
|
|
<div class="user_right fr">
|
|
|
<!--货品管理-->
|
|
<!--货品管理-->
|
|
@@ -2007,19 +2030,19 @@
|
|
|
<table class="public-tab standard-tab table">
|
|
<table class="public-tab standard-tab table">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <th width="65">
|
|
|
|
|
|
|
+ <th width="55">
|
|
|
<label class="check-active">
|
|
<label class="check-active">
|
|
|
<input ng-disabled="currenctMaterial.length == 0" type="checkbox" ng-click="chooseAllItem()" ng-checked="chooseAll || chooseAllPage" id="AllChoose"/>
|
|
<input ng-disabled="currenctMaterial.length == 0" type="checkbox" ng-click="chooseAllItem()" ng-checked="chooseAll || chooseAllPage" id="AllChoose"/>
|
|
|
<label for="AllChoose"></label>
|
|
<label for="AllChoose"></label>
|
|
|
<span>全选</span>
|
|
<span>全选</span>
|
|
|
</label>
|
|
</label>
|
|
|
</th>
|
|
</th>
|
|
|
- <th width="40">序号</th>
|
|
|
|
|
<th width="120">品牌</th>
|
|
<th width="120">品牌</th>
|
|
|
- <th width="140">物料名称(类目)</th>
|
|
|
|
|
- <th width="170">型号</th>
|
|
|
|
|
|
|
+ <th width="130">物料名称(类目)</th>
|
|
|
|
|
+ <th width="150">型号</th>
|
|
|
<th width="100">规格</th>
|
|
<th width="100">规格</th>
|
|
|
- <th width="80">单位</th>
|
|
|
|
|
|
|
+ <th width="100">规格书</th>
|
|
|
|
|
+ <th width="60">单位</th>
|
|
|
<!--<th width="80">封装</th>-->
|
|
<!--<th width="80">封装</th>-->
|
|
|
<th width="280">操作</th>
|
|
<th width="280">操作</th>
|
|
|
</tr>
|
|
</tr>
|
|
@@ -2058,10 +2081,10 @@
|
|
|
<img src="static/img/vendor/images/person-material-pc.png" ng-if="material.addProductPerson" alt="">
|
|
<img src="static/img/vendor/images/person-material-pc.png" ng-if="material.addProductPerson" alt="">
|
|
|
<span><input type="checkbox" ng-checked="material.isChoosed" ng-click="chooseOne(material)" id="{{$index+1}}"/><label for="{{$index+1}}"></label><br/></span>
|
|
<span><input type="checkbox" ng-checked="material.isChoosed" ng-click="chooseOne(material)" id="{{$index+1}}"/><label for="{{$index+1}}"></label><br/></span>
|
|
|
</td>
|
|
</td>
|
|
|
- <td>
|
|
|
|
|
|
|
+ <!--<td>-->
|
|
|
<!--<span ng-show="isBatch"><input type="checkbox" ng-checked="material.isChoosed" ng-click="chooseOne(material)" id="{{$index+1}}"/><label for="{{$index+1}}"></label><br/></span>-->
|
|
<!--<span ng-show="isBatch"><input type="checkbox" ng-checked="material.isChoosed" ng-click="chooseOne(material)" id="{{$index+1}}"/><label for="{{$index+1}}"></label><br/></span>-->
|
|
|
- <span ng-show="!isBatch" ng-bind="(param.page - 1) * 10 + $index + 1"></span>
|
|
|
|
|
- </td>
|
|
|
|
|
|
|
+ <!--<span ng-show="!isBatch" ng-bind="(param.page - 1) * 10 + $index + 1"></span>-->
|
|
|
|
|
+ <!--</td>-->
|
|
|
<td>
|
|
<td>
|
|
|
<div class="ellipsis-div" ng-if="material.pbranden" ng-bind="material.pbranden" title="{{material.pbranden}}"></div>
|
|
<div class="ellipsis-div" ng-if="material.pbranden" ng-bind="material.pbranden" title="{{material.pbranden}}"></div>
|
|
|
<div class="ellipsis-div" ng-if="!material.pbranden" ng-bind="material.pbrand" title="{{material.pbrand}}"></div>
|
|
<div class="ellipsis-div" ng-if="!material.pbranden" ng-bind="material.pbrand" title="{{material.pbrand}}"></div>
|
|
@@ -2077,13 +2100,36 @@
|
|
|
<td>
|
|
<td>
|
|
|
<span ng-bind="material.spec || '-'" title="{{material.spec || '-'}}"></span>
|
|
<span ng-bind="material.spec || '-'" title="{{material.spec || '-'}}"></span>
|
|
|
</td>
|
|
</td>
|
|
|
|
|
+ <td style="overflow: initial;">
|
|
|
|
|
+ <div class="Regulpic">
|
|
|
|
|
+ <a href="{{goods.Regulpic}}" target="_blank" ng-if="goods.Regulpic" class="Regulpica">
|
|
|
|
|
+ <span style="cursor: pointer;">
|
|
|
|
|
+ <img style="width:24px;height:26px;border: 0px" src="static/img/vendor/images/pdf.png"/>
|
|
|
|
|
+ <div style="position: relative;display: inline-block" class="ToforAdminLook">
|
|
|
|
|
+ <img src="static/img/vendor/images/fireinfo_icon.png" width="18" height="18" style="width:18px;height:18px;border: 0px;margin-left:5px;"/>
|
|
|
|
|
+ <div class="forAdminLook">待审核</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ <div ng-if="!goods.Regulpic">
|
|
|
|
|
+ -
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
<td ng-bind="material.unit || 'PCS'" title="{{material.unit || 'PCS'}}"></td>
|
|
<td ng-bind="material.unit || 'PCS'" title="{{material.unit || 'PCS'}}"></td>
|
|
|
<!--<td>-->
|
|
<!--<td>-->
|
|
|
<!--<span ng-bind="material.encapsulation || '-'" title="{{material.encapsulation || '-'}}"></span>-->
|
|
<!--<span ng-bind="material.encapsulation || '-'" title="{{material.encapsulation || '-'}}"></span>-->
|
|
|
<!--</td>-->
|
|
<!--</td>-->
|
|
|
<td class="edit">
|
|
<td class="edit">
|
|
|
- <span ng-click="lookActiveIndex($index, material)"><span>查看</span></span>/<span ng-click="setActiveIndex($index,material)"><span>编辑可替代型号</span></span>
|
|
|
|
|
|
|
+ <span ng-click="lookActiveIndex($index, material)">
|
|
|
|
|
+ <span>可替代型号</span>
|
|
|
|
|
+ <!--<span>查看</span></span>/<span ng-click="setActiveIndex($index,material)"><span>编辑可替代型号</span>-->
|
|
|
|
|
+ </span>
|
|
|
<span name="delete-material" ng-show="!isBatch && !material.exPandOper && !material.addGoodsOper" ng-click="deleteMaterial(material)"><span>删除</span></span>
|
|
<span name="delete-material" ng-show="!isBatch && !material.exPandOper && !material.addGoodsOper" ng-click="deleteMaterial(material)"><span>删除</span></span>
|
|
|
|
|
+ <span ng-click="editRegulPicture(goods.Regulpic || 'static/img/store/common/default.png', goods)">
|
|
|
|
|
+ <span>编辑物料</span>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ <!---->
|
|
|
<span ng-show="!isBatch && !material.exPandOper && !material.addGoodsOper" ng-click="showShelfArea(material)">
|
|
<span ng-show="!isBatch && !material.exPandOper && !material.addGoodsOper" ng-click="showShelfArea(material)">
|
|
|
<span ng-if="material.batchCount">添加产品</span>
|
|
<span ng-if="material.batchCount">添加产品</span>
|
|
|
<span ng-if="!material.batchCount">编辑上架</span>
|
|
<span ng-if="!material.batchCount">编辑上架</span>
|
|
@@ -2201,6 +2247,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="content floatLeft">
|
|
<div class="content floatLeft">
|
|
|
|
|
+ <div class="">
|
|
|
<p class="title height29">交期(天):</p>
|
|
<p class="title height29">交期(天):</p>
|
|
|
<div class="input-list">
|
|
<div class="input-list">
|
|
|
<p>
|
|
<p>
|
|
@@ -2213,6 +2260,9 @@
|
|
|
ng-class="{'error' : goods.editMaxDeliveryinValid}"/></span>
|
|
ng-class="{'error' : goods.editMaxDeliveryinValid}"/></span>
|
|
|
</p>
|
|
</p>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div style="clear:both"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
<div class="content margin10">
|
|
<div class="content margin10">
|
|
|
<!--<p class="title">自营 / 寄售</p>-->
|
|
<!--<p class="title">自营 / 寄售</p>-->
|
|
@@ -2666,6 +2716,7 @@
|
|
|
|
|
|
|
|
<div class="reminfo" style="background: #fff;text-align: right;margin: 0px;padding-right: 20px;padding-top:5px;padding-bottom: 10px" ng-if="resultDatalist.length > 0">共<span style="color: #5078cb">{{resultDatalist.length}}</span>个可替代型号</div>
|
|
<div class="reminfo" style="background: #fff;text-align: right;margin: 0px;padding-right: 20px;padding-top:5px;padding-bottom: 10px" ng-if="resultDatalist.length > 0">共<span style="color: #5078cb">{{resultDatalist.length}}</span>个可替代型号</div>
|
|
|
<div class="operate">
|
|
<div class="operate">
|
|
|
|
|
+ <span ng-if="resultDatalist.length >= 0" ng-click="setActiveIndex(setShowActive, _material)">编辑</span>
|
|
|
<span ng-click="lookActiveIndex(-1)" style="background: #5078cb">关闭</span>
|
|
<span ng-click="lookActiveIndex(-1)" style="background: #5078cb">关闭</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -2683,21 +2734,24 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="content-line" ng-repeat="(key, mate) in replaceMaterialList" on-finish-render="ngRepeatFinished">
|
|
<div class="content-line" ng-repeat="(key, mate) in replaceMaterialList" on-finish-render="ngRepeatFinished">
|
|
|
<div class="form-item form-left">
|
|
<div class="form-item form-left">
|
|
|
- <span><i>{{key + 1}}</i><em>*</em>型号:</span>
|
|
|
|
|
- <input type="text" class="form-control" ng-readonly="mate.editable == false" ng-model="mate.ptrCmpcode" ng-focus="onFocus($event, 'similar-list1_'+ key, 'code', key)" ng-change="onCodeChange(mate.ptrCmpcode, key, $event)" ng-blur="onCodeBlur(key)" ng-class="{'error': errorObj[key].code == 1}" placeholder="请输入型号名称">
|
|
|
|
|
- <ul class="similar-list" ng-class="'similar-list1_'+ key" ng-show="mate.showSimilarCodeList && similarCode.length > 0 && mate.ptrCmpcode" ng-mouseenter="setIsInCodeList(true, key)" ng-mouseleave="setIsInCodeList(false, key)">
|
|
|
|
|
- <li ng-repeat="sCode in similarCode" ng-bind="sCode.code" title="{{sCode.code}}" ng-click="setCode(key, sCode.code)"></li>
|
|
|
|
|
|
|
+ <span><i>{{key + 1}}</i><em>*</em>品牌:</span>
|
|
|
|
|
+
|
|
|
|
|
+ <input type="text" class="form-control" ng-readonly="mate.editable == false" ng-model="mate.ptrBranden" ng-focus="onFocus($event, 'similar-list1_'+ key, 'brand', key)" ng-change="onBrandChange(mate.ptrBranden, key)" ng-blur="onBrandBlur(key)" ng-class="{'error': errorObj[key].brand == 1}" placeholder="请输入品牌名称">
|
|
|
|
|
+ <ul class="similar-list" ng-class="'similar-list1_'+ key" ng-show="mate.showSimilarBrandList && similarBrand.length > 0 && mate.ptrBranden" ng-mouseenter="setIsInBrandList(true, key)" ng-mouseleave="setIsInBrandList(false, key)">
|
|
|
|
|
+ <li ng-repeat="sBrand in similarBrand" ng-bind="sBrand.nameEn" title="{{sBrand.nameEn}}" ng-click="setBrand(key, sBrand.nameEn)"></li>
|
|
|
</ul>
|
|
</ul>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
<div class="form-item form-right">
|
|
<div class="form-item form-right">
|
|
|
- <span><em>*</em>品牌:</span>
|
|
|
|
|
- <input type="text" class="form-control" ng-readonly="mate.editable == false" ng-model="mate.ptrBranden" ng-focus="onFocus($event, 'similar-list2_'+ key, 'brand', key)" ng-change="onBrandChange(mate.ptrBranden, key)" ng-blur="onBrandBlur(key)" ng-class="{'error': errorObj[key].brand == 1}" placeholder="请输入品牌名称">
|
|
|
|
|
- <ul class="similar-list" ng-class="'similar-list2_'+ key" ng-show="mate.showSimilarBrandList && similarBrand.length > 0 && mate.ptrBranden" ng-mouseenter="setIsInBrandList(true, key)" ng-mouseleave="setIsInBrandList(false, key)">
|
|
|
|
|
- <li ng-repeat="sBrand in similarBrand" ng-bind="sBrand.nameEn" title="{{sBrand.nameEn}}" ng-click="setBrand(key, sBrand.nameEn)"></li>
|
|
|
|
|
|
|
+ <span><em>*</em>型号:</span>
|
|
|
|
|
+ <input type="text" class="form-control" ng-readonly="mate.editable == false" ng-model="mate.ptrCmpcode" ng-focus="onFocus($event, 'similar-list2_'+ key, 'code', key)" ng-change="onCodeChange(mate.ptrCmpcode, key, $event)" ng-blur="onCodeBlur(key)" ng-class="{'error': errorObj[key].code == 1}" placeholder="请输入型号名称">
|
|
|
|
|
+ <ul class="similar-list" ng-class="'similar-list2_'+ key" ng-show="mate.showSimilarCodeList && similarCode.length > 0 && mate.ptrCmpcode" ng-mouseenter="setIsInCodeList(true, key)" ng-mouseleave="setIsInCodeList(false, key)">
|
|
|
|
|
+ <li ng-repeat="sCode in similarCode" ng-bind="sCode.code" title="{{sCode.code}}" ng-click="setCode(key, sCode.code)"></li>
|
|
|
</ul>
|
|
</ul>
|
|
|
<i class="fa fa-minus-circle" ng-if="replaceMaterialList.length >= 1 && mate.editable != false" ng-click="setReplies('sub', key)"></i>
|
|
<i class="fa fa-minus-circle" ng-if="replaceMaterialList.length >= 1 && mate.editable != false" ng-click="setReplies('sub', key)"></i>
|
|
|
<i class="fa fa-plus-circle" ng-if="key == linearLength - 1 && mate.editable != false" ng-click="setReplies('add', key)"></i>
|
|
<i class="fa fa-plus-circle" ng-if="key == linearLength - 1 && mate.editable != false" ng-click="setReplies('add', key)"></i>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -2925,6 +2979,13 @@
|
|
|
.edit-replace-box .content3 .no-resulte a:hover {
|
|
.edit-replace-box .content3 .no-resulte a:hover {
|
|
|
text-decoration: underline !important;
|
|
text-decoration: underline !important;
|
|
|
}
|
|
}
|
|
|
|
|
+ .device .wanted_list01 a.Regulpica:hover {
|
|
|
|
|
+ text-decoration: none;
|
|
|
|
|
+ border-bottom: 0 !important;
|
|
|
|
|
+ }
|
|
|
|
|
+ .Regulpica:hover span{
|
|
|
|
|
+ background: rgba(0,0,0,0) !important;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|
|
|
|
|
|
|
|
<!--
|
|
<!--
|