|
|
@@ -93,7 +93,7 @@
|
|
|
</dd>
|
|
|
<dd>
|
|
|
<div class="fl">产品品牌:</div>
|
|
|
- <div class="fr"><input type="text" g-model="prodInfo.brand" type="text" placeholder="产品品牌" style="cursor: pointer;" readonly="readonly"><span></span></div>
|
|
|
+ <div class="fr"><input type="text" ng-model="prodInfo.brand" type="text" placeholder="产品品牌" style="cursor: pointer;" readonly="readonly"><span></span></div>
|
|
|
</dd>
|
|
|
<dd>
|
|
|
<div class="fl">产品编号:</div>
|
|
|
@@ -117,18 +117,26 @@
|
|
|
</select>
|
|
|
</div> -->
|
|
|
</dd>
|
|
|
- <!-- <dd>
|
|
|
+ <dd>
|
|
|
<div class="fl">最小包装量: </div>
|
|
|
- <div class="fr"><input type="text" value="1212122"></div>
|
|
|
+ <div class="fr"><input type="text" ng-model="prodInfo.minPack" placeholder="最小包装量" style="cursor: pointer;" ng-readonly="!prodInfo.$editing" ng-pattern="/^\+?[1-9]\d*$/"></div>
|
|
|
</dd>
|
|
|
<dd>
|
|
|
<div class="fl">最小订货量:</div>
|
|
|
- <div class="fr"><input type="text" value="12130"></div>
|
|
|
+ <div class="fr"><input type="text" ng-model="prodInfo.minOrder" placeholder="最小订货量" style="cursor: pointer;" ng-readonly="!prodInfo.$editing" ng-pattern="/^\+?[1-9]\d*$/"></div>
|
|
|
</dd>
|
|
|
<dd>
|
|
|
- <div class="fl">采购周期:</div>
|
|
|
- <div class="fr"><input type="text" value="10天"></div>
|
|
|
- </dd> -->
|
|
|
+ <div class="fl">交货周期:</div>
|
|
|
+ <div class="fr"><input type="text" ng-model="prodInfo.leadtime" placeholder="交货周期" style="cursor: pointer;" ng-readonly="!prodInfo.$editing" ng-pattern="/^\+?[1-9]\d*$/"></div>
|
|
|
+ </dd>
|
|
|
+ <dd>
|
|
|
+ <div class="fl">交货提前期:</div>
|
|
|
+ <div class="fr"><input type="text" ng-model="prodInfo.ltinstock" placeholder="交货提前期" style="cursor: pointer;" ng-readonly="!prodInfo.$editing" ng-pattern="/^\+?[1-9]\d*$/"></div>
|
|
|
+ </dd>
|
|
|
+ <dd>
|
|
|
+ <div class="fl">状态:</div>
|
|
|
+ <div class="fr"><input type="text" value="有效" readonly></div>
|
|
|
+ </dd>
|
|
|
</dl>
|
|
|
<div class="com_title01"><span>图片和详细说明</span></div>
|
|
|
<dl>
|
|
|
@@ -180,7 +188,7 @@
|
|
|
<button class="btn01" ng-if="!prodInfo.$editing" ng-click="update()">修改</button>
|
|
|
<button class="btn01" ng-if="prodInfo.$editing" ng-click="cancel()">取消</button>
|
|
|
<a ui-sref="sale.uploadByBatch" class="btn02" ng-if="!prodInfo.$editing">批量导入</a>
|
|
|
- <a class="btn02" ng-click="submit(prodInfo)" ng-if="prodInfo.$editing">提交</a>
|
|
|
+ <a class="btn02" ng-click="submit(prodInfo)" ng-if="prodInfo.$editing" ng-disabled="productInfo.$invalid">提交</a>
|
|
|
</div>
|
|
|
<div id="image-box" style="display: none">
|
|
|
<div class="x-close-wrap" title="关闭">
|