|
|
'use strict';
|
|
|
var $ = require('jquery'),
|
|
|
common = require('../common/common');
|
|
|
|
|
|
require('../util/custom.js');
|
|
|
/*
|
|
|
* 获取业务数据
|
|
|
*/
|
|
|
window.NETSALEDATA=require('./partials/data.js');
|
|
|
|
|
|
console.log(window.NETSALEDATA);
|
|
|
|
|
|
/*加载其他模块*/
|
|
|
require('./partials/xiaobian');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var e = new common.edit('#basicForm');
|
|
|
e.init();
|
|
|
// var e = new common.edit('#basicForm');
|
|
|
// e.init();
|
|
|
|
|
|
common.edit.ajaxfileupload('.goods-img', {
|
|
|
action: '/ajax/upload',
|
|
|
onComplete: function() {
|
|
|
// common.edit.ajaxfileupload('.goods-img', {
|
|
|
// action: '/ajax/upload',
|
|
|
// onComplete: function() {
|
|
|
|
|
|
}
|
|
|
}) |
|
|
\ No newline at end of file |
|
|
// }
|
|
|
// }) |
|
|
\ No newline at end of file |
...
|
...
|
|