...
|
...
|
@@ -128,6 +128,11 @@ $('.icon-edit').on('touchstart', function(e) { |
|
|
count,
|
|
|
canEditNum;
|
|
|
|
|
|
if ($this.parents('.off-shell-goods').length) {
|
|
|
tip.show('商品已下架');
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
//如果点击的是上次编辑的商品,直接显示chose-pannel
|
|
|
if (skn === previousEditSkn) {
|
|
|
chosePanel.show();
|
...
|
...
|
@@ -173,6 +178,11 @@ $('.icon-edit').on('touchstart', function(e) { |
|
|
$('.icon-del').on('touchstart', function(e) {
|
|
|
var $this = $(this);
|
|
|
|
|
|
if ($this.parents('.off-shell-goods').length) {
|
|
|
tip.show('商品已下架');
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
e.stopPropagation();
|
|
|
|
|
|
dialog.showDialog({
|
...
|
...
|
|