Authored by xuhongyun

build

... ... @@ -139,6 +139,9 @@ webpackJsonp([46],{
if($.trim($("#productName").val()) == ""){
window.IS_OVER = true;
common.util.__tip("商品名称为空", 'warning');
} else if ($.trim($("#phrase").val()) != "" && $.trim($("#phrase").val()).length < 60) {
window.IS_OVER = true;
common.util.__tip("推荐短语不能少于60个字符", 'warning');
}else{
$("#saveBasicInfo").click();
$("#fenMainSave").click();
... ... @@ -13208,7 +13211,7 @@ webpackJsonp([46],{
var $ = __webpack_require__(1),
common = __webpack_require__(2);
util = __webpack_require__(13);
var basicInfohtml = '',
ENUM = {
isSuppled: {
... ... @@ -13451,6 +13454,13 @@ webpackJsonp([46],{
$('#saveBasicInfo').on('click', function() {
var phraseValue = common.util.__input('phrase');
if (phraseValue && phraseValue != '' && phraseValue.trim().length < 60) {
util.__tip("推荐短语不能少于60个字符", 'warning');
return;
}
common.util.__ajax({
url:'/goods/product/saveNetSaleBaseInfo',
data:{
... ... @@ -13458,7 +13468,7 @@ webpackJsonp([46],{
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'),
... ...