Authored by 梁志锋

基础商品 网销优化

... ... @@ -124,8 +124,8 @@
<input type="hidden" id="appType" name="appType" value="[[appType||'0']]" for="checkbox" />
</div>
</span>
<label class="col-sm-1 control-label">厂家编号 <span class="red">*</span></label>
<div class="col-sm-1">
<label class="col-sm-2 control-label">厂家编号 <span class="red">*</span></label>
<div class="col-sm-2">
<input type="text" id="factoryCode" placeholder="厂家编号" value="[[factoryCode]]" class="form-control" required/>
</div>
</div>
... ...
... ... @@ -98,7 +98,7 @@
<input id="phrase" class="form-control" placeholder="商品短评" type="text" value="[[phrase]]">
</div>
[[else]]
<div class="col-sm-9">
<div class="col-sm-11">
[[phrase]]
</div>
[[/if]]
... ...
... ... @@ -312,7 +312,26 @@ var g = new common.grid({
return html.join('');
}
},
{
display: "是否BLK",
render: function(item) {
if (item.appType === 0) {
return "<p>有货</p>";
} else if (item.appType === 1) {
return "<p>BLK</p>";
}
}
},
{
display: "是否JIT",
render: function(item) {
if (item.isJit == "Y") {
return "<p>是</p>";
} else if (item.isJit == "N") {
return "<p>否</p>";
}
}
},
{
display: "奥莱",
render: function(item) {
... ...
... ... @@ -89,7 +89,7 @@ var t = new common.tab2({
columns: [{
name: "0",
value: '8,3,2',
display: "上架前({1})"
display: "新品待上架({1})"
}, {
name: "1",
value: '4,1,0,5,6,7,9,10',
... ...