|
|
var $ = require('jquery'),
|
|
|
common = require('../../../../common/common');
|
|
|
|
|
|
util = require('../../../../common/util');
|
|
|
var basicInfohtml = '',
|
|
|
ENUM = {
|
|
|
isSuppled: {
|
...
|
...
|
@@ -243,6 +243,13 @@ $(document).on("change",":radio[name=isLimited]",function(){ |
|
|
|
|
|
|
|
|
$('#saveBasicInfo').on('click', function() {
|
|
|
var phraseValue = common.util.__input('phrase');
|
|
|
|
|
|
if (phraseValue && phraseValue != '' && phraseValue.length < 60) {
|
|
|
util.__tip("推荐短语不少于60字符");
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
common.util.__ajax({
|
|
|
url:'/goods/product/saveNetSaleBaseInfo',
|
|
|
data:{
|
...
|
...
|
@@ -250,7 +257,7 @@ $('#saveBasicInfo').on('click', function() { |
|
|
productName:common.util.__input('productName'),
|
|
|
isNew:common.util.__input('[name=isNew]:checked'),
|
|
|
sellChannels:common.util.__input('[name=sellChannels]:checked'),
|
|
|
phrase:common.util.__input('phrase'),
|
|
|
phrase:phraseValue,
|
|
|
outSaleTime:common.util.__input('outSaleTime'),
|
|
|
shopIds:common.util.__input('[name=shopIds]:checked'),
|
|
|
delayArrivalNotice:common.util.__input('delayArrivalNotice'),
|
...
|
...
|
|