|
@@ -146,14 +146,12 @@ var releaseMixins = function () {
|
|
|
SupplierApi.AddSupplierReleaseProduct(params,function(response){
|
|
|
if(response.code === 0){
|
|
|
CAIMEI.dialog('提交成功,等待审核',true,function () {
|
|
|
- console.log('11111111111111');
|
|
|
if(_this.releaseType === 'edit'){
|
|
|
SupplierApi.UpdateSearchManageProduct({productId:_this.productId},function (res) {
|
|
|
console.log('编辑商品更新搜索索引~~~成功');
|
|
|
})
|
|
|
}
|
|
|
- console.log('22222222222');
|
|
|
- location.href = '/supplier/goods.html';
|
|
|
+ window.location.href = '/supplier/goods.html';
|
|
|
if(CAIMEI.Storage.getItem('adProductPeview')){
|
|
|
CAIMEI.Storage.removeItem('adProductPeview');
|
|
|
}
|