|
|
@@ -406,6 +406,23 @@
|
|
|
.col-xs-4 .f16{
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
+ .pro_management .table tr td div span.switch{
|
|
|
+ width:39px;
|
|
|
+ height: 14px;
|
|
|
+ display: inline-block;
|
|
|
+ }
|
|
|
+ .pro_management .table tr td div span.switch button{
|
|
|
+ border: none;
|
|
|
+ position: relative;
|
|
|
+ top: 2px;
|
|
|
+ left: 5px;
|
|
|
+ width: 39px;
|
|
|
+ height: 14px;
|
|
|
+ background: url(static/img/icon/check-off.png) no-repeat center;
|
|
|
+ }
|
|
|
+ .pro_management .table tr td div span.switch button.active{
|
|
|
+ background: url("static/img/icon/check-ok.png") no-repeat center;
|
|
|
+ }
|
|
|
</style>
|
|
|
<div class="user_right fr">
|
|
|
<!--货品管理-->
|
|
|
@@ -494,7 +511,7 @@
|
|
|
<td colspan="7">
|
|
|
<div class="img">
|
|
|
<p class="title"> </p>
|
|
|
- <img ng-src="{{material.img || 'static/img/vendor/images/pro02.jpg'}}" alt="img"/>
|
|
|
+ <img ng-src="{{material.img || 'static/img/store/common/default.png'}}" alt="img"/>
|
|
|
</div>
|
|
|
<div class="content">
|
|
|
<p class="title">包装/生产日期</p>
|
|
|
@@ -503,10 +520,14 @@
|
|
|
</div>
|
|
|
<div class="input-list">
|
|
|
<input type="text" class="form-control" name="produceDate" title="produceDate" placeholder="2016.01.23" style="width: 108px;" ng-model="goods.produceDate"/>
|
|
|
- <select name="breakUp" title="breakUp" class="select-adder form-control" style="width: 108px;" ng-model="goods.breakUp">
|
|
|
- <option value="1">可拆卖</option>
|
|
|
- <option value="0">不可拆卖</option>
|
|
|
- </select>
|
|
|
+ <!--<select name="breakUp" title="breakUp" class="select-adder form-control" style="width: 108px;" ng-model="goods.breakUp">-->
|
|
|
+ <!--<option value="1">可拆卖</option>-->
|
|
|
+ <!--<option value="0">不可拆卖</option>-->
|
|
|
+ <!--</select>-->
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span>可拆卖:</span>
|
|
|
+ <span class="switch"><button ng-class="{'active' : material.editBreakUp}" ng-click="toggleIsBreadUp(material)"></button></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="content">
|