|
@@ -404,6 +404,15 @@
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
padding: 0;
|
|
padding: 0;
|
|
|
}
|
|
}
|
|
|
|
|
+ .edit-content .input-list .select-package{
|
|
|
|
|
+ width: 96px;
|
|
|
|
|
+ height: 24px;
|
|
|
|
|
+ border: 1px solid #a9a9a9;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ border-radius: 3px;
|
|
|
|
|
+ padding-left: 6px;
|
|
|
|
|
+ }
|
|
|
.edit-content .input-list .button-option{
|
|
.edit-content .input-list .button-option{
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 22px;
|
|
top: 22px;
|
|
@@ -417,7 +426,9 @@
|
|
|
line-height: 30px;
|
|
line-height: 30px;
|
|
|
padding: 0;
|
|
padding: 0;
|
|
|
}
|
|
}
|
|
|
- .edit-content .input-list .button-option li a{
|
|
|
|
|
|
|
+ .edit-content .produceDate-fix{
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ top: 4px;
|
|
|
}
|
|
}
|
|
|
.edit-content div.margin10{
|
|
.edit-content div.margin10{
|
|
|
padding-top: 24px;
|
|
padding-top: 24px;
|
|
@@ -1712,7 +1723,7 @@
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<!--展开内容-->
|
|
<!--展开内容-->
|
|
|
- <tr ng-if="material.addGoodsOper || (material.exPandOper && material.goodsArr.length > 0)">
|
|
|
|
|
|
|
+ <tr ng-show="material.addGoodsOper || (material.exPandOper && material.goodsArr.length > 0)">
|
|
|
<td colspan="7" style="padding: 0;">
|
|
<td colspan="7" style="padding: 0;">
|
|
|
<div class="show-content">
|
|
<div class="show-content">
|
|
|
<div class="content-body">
|
|
<div class="content-body">
|
|
@@ -1741,15 +1752,24 @@
|
|
|
<div class="content margin10">
|
|
<div class="content margin10">
|
|
|
<!--<p class="title">包装/生产日期</p>-->
|
|
<!--<p class="title">包装/生产日期</p>-->
|
|
|
<div class="input-list">
|
|
<div class="input-list">
|
|
|
- <span class="tit">包装:</span><input type="text" class="form-control" name="packaging" ng-maxlength="10" title="包装" maxlength="10" placeholder="包装方式" style="width: 96px;" ng-model="goods.editPackaging"
|
|
|
|
|
- ng-class="{'error' : goods.editPackagingInvalid}" ng-blur="editPackaging(goods, true)" ng-change="changePackaging(goods)"/>
|
|
|
|
|
|
|
+ <span class="tit">包装:</span><!--<input type="text" class="form-control" name="packaging" ng-maxlength="10" title="包装" maxlength="10" placeholder="包装方式" style="width: 96px;" ng-model="goods.editPackaging"
|
|
|
|
|
+ ng-class="{'error' : goods.editPackagingInvalid}" ng-blur="editPackaging(goods, true)" ng-change="changePackaging(goods)"/>-->
|
|
|
|
|
+ <select ng-model="goods.editPackaging" ng-init="goods.editPackaging='请选择'" class="select-adder select-package" title="包装">
|
|
|
|
|
+ <option ng-repeat="item in packageArray" ng-click="showText(item)">{{item}}</option>
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <!--<div class="dropdown">
|
|
|
|
|
+ <input class="btn btn-default dropdown-toggle button-select select-adder" id="dropdownMenu2" type="text" ng-model="goods.editPackaging" placeholder="包装方式" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" readonly="readonly">
|
|
|
|
|
+ <ul class="dropdown-menu .dropdown-menu-left button-option" aria-labelledby="dropdownMenu2">
|
|
|
|
|
+ <li ng-repeat="item in packageArray" ng-click="showText(item)">{{item}}</li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>-->
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="input-list">
|
|
|
|
|
|
|
+ <div class="input-list produceDate-fix">
|
|
|
<span class="tit">生产日期:</span><input type="text" class="form-control" name="produceDate" ng-maxlength="11" title="生产日期" maxlength="11" placeholder="生产日期" style="width: 96px;" ng-model="goods.editProduceDate"
|
|
<span class="tit">生产日期:</span><input type="text" class="form-control" name="produceDate" ng-maxlength="11" title="生产日期" maxlength="11" placeholder="生产日期" style="width: 96px;" ng-model="goods.editProduceDate"
|
|
|
ng-class="{'error' : goods.editProduceDateInvalid}"
|
|
ng-class="{'error' : goods.editProduceDateInvalid}"
|
|
|
ng-change="editProduceDateFa(goods, false)"/>
|
|
ng-change="editProduceDateFa(goods, false)"/>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="clearfix">
|
|
|
|
|
|
|
+ <div class="clearfix produceDate-fix">
|
|
|
<span>可拆卖:</span>
|
|
<span>可拆卖:</span>
|
|
|
<span class="switch"><button ng-class="{'active' : goods.editBreakUp}"
|
|
<span class="switch"><button ng-class="{'active' : goods.editBreakUp}"
|
|
|
ng-click="toggleIsBreadUp(goods, false)"></button></span>
|
|
ng-click="toggleIsBreadUp(goods, false)"></button></span>
|
|
@@ -1808,12 +1828,12 @@
|
|
|
<p class="title height29">交期(天):</p>
|
|
<p class="title height29">交期(天):</p>
|
|
|
<div class="input-list">
|
|
<div class="input-list">
|
|
|
<p>
|
|
<p>
|
|
|
- <span><input type="number" class="wid36 form-control" name="minDelivery" title="最小交期" placeholder="天数" oninput="if(value.length>2)value=value.slice(0,2)"
|
|
|
|
|
|
|
+ <span><input type="number" class="wid36 form-control" name="minDelivery" title="最小交期" placeholder="天数" oninput="if(value.length>3)value=value.slice(0,3)"
|
|
|
ng-model="goods.editMinDelivery"
|
|
ng-model="goods.editMinDelivery"
|
|
|
ng-blur="changeDelivery(goods.editMinDelivery, goods.editMaxDelivery, true, goods)"
|
|
ng-blur="changeDelivery(goods.editMinDelivery, goods.editMaxDelivery, true, goods)"
|
|
|
ng-class="{'error' : goods.editMinDeliveryinValid}"/></span>
|
|
ng-class="{'error' : goods.editMinDeliveryinValid}"/></span>
|
|
|
<span style="margin-left: 4px;">–</span>
|
|
<span style="margin-left: 4px;">–</span>
|
|
|
- <span><input type="number" class="wid36 form-control" name="maxDelivery" title="最大交期" placeholder="天数" oninput="if(value.length>2)value=value.slice(0,2)" ng-model="goods.editMaxDelivery" ng-blur="changeDelivery(goods.editMinDelivery, goods.editMaxDelivery, false, goods)"
|
|
|
|
|
|
|
+ <span><input type="number" class="wid36 form-control" name="maxDelivery" title="最大交期" placeholder="天数" oninput="if(value.length>3)value=value.slice(0,3)" ng-model="goods.editMaxDelivery" ng-blur="changeDelivery(goods.editMinDelivery, goods.editMaxDelivery, false, goods)"
|
|
|
ng-class="{'error' : goods.editMaxDeliveryinValid}"/></span>
|
|
ng-class="{'error' : goods.editMaxDeliveryinValid}"/></span>
|
|
|
</p>
|
|
</p>
|
|
|
</div>
|
|
</div>
|
|
@@ -1909,7 +1929,7 @@
|
|
|
自定义标签 : <input maxlength="20" type="text" ng-model="goods.editTag" ng-blur="blurTag(goods)" ng-change="changeTag(goods)" placeholder="请设置产品标签"></div>
|
|
自定义标签 : <input maxlength="20" type="text" ng-model="goods.editTag" ng-blur="blurTag(goods)" ng-change="changeTag(goods)" placeholder="请设置产品标签"></div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
- <tr class="edit-content edits" ng-if="goods.edit">
|
|
|
|
|
|
|
+ <tr class="edit-content edits" ng-show="goods.edit">
|
|
|
<td colspan="10" style="background:#f0f7fd;">
|
|
<td colspan="10" style="background:#f0f7fd;">
|
|
|
<div class="blue-bg">
|
|
<div class="blue-bg">
|
|
|
<div></div>
|
|
<div></div>
|
|
@@ -1923,25 +1943,20 @@
|
|
|
<div class="content margin10">
|
|
<div class="content margin10">
|
|
|
<!--<p class="title">包装/生产日期</p>-->
|
|
<!--<p class="title">包装/生产日期</p>-->
|
|
|
<div class="input-list">
|
|
<div class="input-list">
|
|
|
- <span class="tit">包装:</span><!--<input type="text" class="select" name="packaging" ng-maxlength="10" title="包装" maxlength="10" placeholder="包装方式" style="width: 96px;" ng-model="goods.editPackaging"
|
|
|
|
|
|
|
+ <span class="tit">包装:</span><!--<input type="text" class="select" name="packaging" ng-maxlength="10" title="包装" maxlength="10" placeholder="包装方式" style="width: 96px;" ng-model="goods.editPackaging"
|
|
|
ng-class="{'error' : goods.editPackagingInvalid}"
|
|
ng-class="{'error' : goods.editPackagingInvalid}"
|
|
|
ng-blur="editPackaging(goods, true)" ng-change="changePackaging(goods)"/>-->
|
|
ng-blur="editPackaging(goods, true)" ng-change="changePackaging(goods)"/>-->
|
|
|
- <div class="dropdown">
|
|
|
|
|
- <button class="btn btn-default dropdown-toggle button-select" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
|
- {{goods.editPackaging}}
|
|
|
|
|
- <span class="caret"></span>
|
|
|
|
|
- </button>
|
|
|
|
|
|
|
+ <select ng-model="goods.editPackaging" ng-init="goods.editPackaging='请选择'" class="select-adder select-package" title="包装">
|
|
|
|
|
+ <option ng-repeat="item in packageArray" ng-click="showClickText(goods, item)">{{item}}</option>
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <!--<div class="dropdown">
|
|
|
|
|
+ <input class="btn btn-default dropdown-toggle button-select select-adder" type="text" id="dropdownMenu1" ng-model="goods.editPackaging" placeholder="包装方式" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" readonly="readonly">
|
|
|
<ul class="dropdown-menu .dropdown-menu-left button-option" aria-labelledby="dropdownMenu1">
|
|
<ul class="dropdown-menu .dropdown-menu-left button-option" aria-labelledby="dropdownMenu1">
|
|
|
- <li><a href="#">Separated link</a></li>
|
|
|
|
|
- <li><a href="#">Separated link</a></li>
|
|
|
|
|
- <li><a href="#">Separated link</a></li>
|
|
|
|
|
- <li><a href="#">Separated link</a></li>
|
|
|
|
|
- <li><a href="#">Separated link</a></li>
|
|
|
|
|
|
|
+ <li ng-repeat="item in packageArray" ng-click="showClickText(goods, item)">{{item}}</li>
|
|
|
</ul>
|
|
</ul>
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ </div>-->
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="input-list">
|
|
|
|
|
|
|
+ <div class="input-list produceDate-fix">
|
|
|
<span class="tit">生产日期:</span><input type="text" class="form-control" name="produceDate" ng-maxlength="11" title="生产日期" maxlength="11" placeholder="生产日期" style="width: 96px;" ng-model="goods.editProduceDate"
|
|
<span class="tit">生产日期:</span><input type="text" class="form-control" name="produceDate" ng-maxlength="11" title="生产日期" maxlength="11" placeholder="生产日期" style="width: 96px;" ng-model="goods.editProduceDate"
|
|
|
ng-class="{'error' : goods.editProduceDateInvalid}"
|
|
ng-class="{'error' : goods.editProduceDateInvalid}"
|
|
|
ng-change="editProduceDateFa(goods, true)"/>
|
|
ng-change="editProduceDateFa(goods, true)"/>
|
|
@@ -1950,7 +1965,7 @@
|
|
|
<!--<option value="0">不可拆卖</option>-->
|
|
<!--<option value="0">不可拆卖</option>-->
|
|
|
<!--</select>-->
|
|
<!--</select>-->
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="clearfix">
|
|
|
|
|
|
|
+ <div class="clearfix produceDate-fix ">
|
|
|
<span>可拆卖:</span>
|
|
<span>可拆卖:</span>
|
|
|
<span class="switch"><button ng-class="{'active' : goods.editBreakUp}"
|
|
<span class="switch"><button ng-class="{'active' : goods.editBreakUp}"
|
|
|
ng-click="toggleIsBreadUp(goods, true)"></button></span>
|
|
ng-click="toggleIsBreadUp(goods, true)"></button></span>
|
|
@@ -2014,10 +2029,10 @@
|
|
|
<p class="title height29">交期(天):</p>
|
|
<p class="title height29">交期(天):</p>
|
|
|
<div class="input-list">
|
|
<div class="input-list">
|
|
|
<p>
|
|
<p>
|
|
|
- <span><input type="number" class="wid36 form-control" name="minDelivery" title="最小交期" placeholder="天数" oninput="if(value.length>2)value=value.slice(0,2)" ng-model="goods.editMinDelivery"
|
|
|
|
|
|
|
+ <span><input type="number" class="wid36 form-control" name="minDelivery" title="最小交期" placeholder="天数" oninput="if(value.length>3)value=value.slice(0,3)" ng-model="goods.editMinDelivery"
|
|
|
ng-blur="changeDelivery(goods.editMinDelivery, goods.editMaxDelivery, true, goods)" ng-class="{'error' : goods.editMinDeliveryinValid}"/></span>
|
|
ng-blur="changeDelivery(goods.editMinDelivery, goods.editMaxDelivery, true, goods)" ng-class="{'error' : goods.editMinDeliveryinValid}"/></span>
|
|
|
<span style="margin-left: 4px;">–</span>
|
|
<span style="margin-left: 4px;">–</span>
|
|
|
- <span><input type="number" class="wid36 form-control" name="maxDelivery" title="最大交期" placeholder="天数" oninput="if(value.length>2)value=value.slice(0,2)" ng-model="goods.editMaxDelivery"
|
|
|
|
|
|
|
+ <span><input type="number" class="wid36 form-control" name="maxDelivery" title="最大交期" placeholder="天数" oninput="if(value.length>3)value=value.slice(0,3)" ng-model="goods.editMaxDelivery"
|
|
|
ng-blur="changeDelivery(goods.editMinDelivery, goods.editMaxDelivery, false, goods)" ng-class="{'error' : goods.editMaxDeliveryinValid}"/></span>
|
|
ng-blur="changeDelivery(goods.editMinDelivery, goods.editMaxDelivery, false, goods)" ng-class="{'error' : goods.editMaxDeliveryinValid}"/></span>
|
|
|
</p>
|
|
</p>
|
|
|
</div>
|
|
</div>
|