Authored by weiqingting

代销变价,品牌变价合作模式的execl链接修复,放开供应商营业执照

... ... @@ -524,7 +524,7 @@ exports.res = [
bottons: '{"edit":true,"columnsHidisFr":true}',
gridurl: '/goods/price/list',
domain: exports.domain,
download: '/common/batchUpdatePrice.xlsx'
download: 'batchUpdatePrice'
}
}, {
//代销变价 -> 列表数据
... ... @@ -640,7 +640,7 @@ exports.res = [
bottons: '{"edit":true,"columnsHidisFr":true}',
gridurl: '/goods/brandCooperation/list',
domain: exports.domain,
download: '/common/brandCooperation.xlsx'
download: 'brandCooperation'
}
}, {
//品牌合作模式 -> 列表数据
... ...
... ... @@ -2,6 +2,7 @@ var authService = require('../service/auth');
var uploader=require('../service/upload');
var down=require('../service/down');
var ueditor=require('../service/ueditor');
var link=require('../service/link');
module.exports = {
'/auth_bak':function(req, res){
... ... @@ -81,5 +82,8 @@ module.exports = {
},
'/ajax/ueditor':function(req,res){
ueditor.uploadFile(req,res);
},
'/ajax/link/:name':function(req,res){
link.linkFile(req,res);
}
}
\ No newline at end of file
... ...
... ... @@ -165,7 +165,7 @@
<input id="upload-input" name="file" class="btn btn-default excel-upload" type="file">
</span>
<a class="excel-model" href="{{domain}}{{download}}">表头下载</a>
<a class="excel-model" href="/ajax/link/{{download}}">表头下载</a>
<input id="sure-change" class="btn btn-primary" type="button" value="确定变价">
</div>
... ...
... ... @@ -42,7 +42,7 @@
<div class="form-group">
<label class="col-sm-2 control-label">营业执照号 <span class="red">*</span></label>
<div class="col-sm-8">
<input type="number" id="supplierCode" placeholder="营业执照号" class="form-control" required value="{{supplierCode}}">
<input type="text" id="supplierCode" placeholder="营业执照号" class="form-control" required value="{{supplierCode}}">
</div>
</div>
... ...