更新联营物料上传

parent e321e137
......@@ -43,7 +43,9 @@ class UploadLogModel extends Model
if ($v['type'] == UploadLogMap::type_import_sku && array_key_exists($v['extend'],$foostoneLogStatus)){ //如果是导入sku,查询状态
$v['status'] = @UploadLogMap::$status[$foostoneLogStatus[$v['extend']]['status']];
$v['log'] = implode(',',@$foostoneLogStatus[$v['extend']]['log']);
$v['file_path'] =@$foostoneLogStatus[$v['extend']]['file_name']['down'];
$downUrl = @$foostoneLogStatus[$v['extend']]['file_name']['down'];
$uploadUrl = @$foostoneLogStatus[$v['extend']]['file_name']['upload'];
$v['file_path'] = $downUrl ? $downUrl : "";
}else{
$v['status'] = @UploadLogMap::$status[$v['status']];
}
......
......@@ -9,32 +9,9 @@
app.tableList()
})
},
// tableList:function () {
// layui.table.render({
// elem: '#list'
// ,url:'/api/PurePrice'
// ,method:'post'
// ,cellMinWidth: 100 //全局定义常规单元格的最小宽度
// ,request: {
// pageName: 'p' //页码的参数名称,默认:page
// ,limitName: 'limit' //每页数据量的参数名,默认:limit
// }
// ,where: {'goods_id':$("#goods_id").val()}
// ,loading:true
// ,first: true //不显示首页
// ,last: false //不显示尾页
// ,cols: [[
// {field:'add_time', title: '修改时间',align:'center'}
// ,{field:'cost', title: '价格',align:'center'}
// ]]
// ,id:'Abnormal'
// ,page:{
//
// }
// ,done: function(res, curr, count) {
// }
// });
// },
tableList:function () {
return
},
}, $(function () {
app.init();
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment