|
@@ -168,7 +168,7 @@
|
|
$eb.createModalFrame(data.name + '-编辑', layList.U({a: 'add', q: {id: data.id}}), {h: 700, w: 1100});
|
|
$eb.createModalFrame(data.name + '-编辑', layList.U({a: 'add', q: {id: data.id}}), {h: 700, w: 1100});
|
|
break;
|
|
break;
|
|
case 'init':
|
|
case 'init':
|
|
- var url = layList.U({c: 'system.system_store', a: 'init', q: {id: data.id}});
|
|
|
|
|
|
+ var url = layList.U({c: 'system.system_store', a: 'init', q: {store_id: data.id}});
|
|
var code = {title: "操作提示", text: "确定初始化商品吗?", type: 'info', confirm: '是'};
|
|
var code = {title: "操作提示", text: "确定初始化商品吗?", type: 'info', confirm: '是'};
|
|
$eb.$swal('delete', function () {
|
|
$eb.$swal('delete', function () {
|
|
$eb.axios.get(url).then(function (res) {
|
|
$eb.axios.get(url).then(function (res) {
|