|
|
<template>
|
|
|
<div id="exportStock" class="contentpanel shopsReport" style="display1: none">
|
|
|
<div class="panel">
|
|
|
<div class="panel-heading">
|
|
|
<h1>请退出库</h1>
|
|
|
</div>
|
|
|
<div class="panel-heading"><h1>请退出库</h1></div>
|
|
|
|
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<uc-filter :params.sync="params"></uc-filter>
|
|
|
|
|
|
<div class="panel-col">
|
|
|
<input type="text" name="startDate" id="startDate" class="form-control" placeholder="起始时间">
|
|
|
</div>
|
|
|
<div class="panel-col">
|
|
|
<input type="text" name="endDate" id="endDate" class="form-control" placeholder="结束时间">
|
|
|
</div>
|
|
|
<div class="panel-col">
|
|
|
<input type="text" name="SKN" id="SKN" class="form-control" placeholder="SKN">
|
|
|
</div>
|
|
|
<div class="panel-col">
|
|
|
<input type="text" name="SKU" id="SKU" class="form-control" placeholder="SKU">
|
|
|
</div>
|
|
|
<div class="panel-col">
|
|
|
<input type="text" class="form-control" placeholder="厂家编号">
|
|
|
</div>
|
|
|
<div class="panel-col">
|
|
|
<select name="type" id="type" tabindex="-1" class="form-control">
|
|
|
<option value="-1" selected>一级目录</option>
|
|
|
<option value="0">衣服</option>
|
|
|
<option value="1">裤子</option>
|
|
|
<option value="2">鞋子</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="panel-col">
|
|
|
<a id="filter-btn" href="javascript:;" class="btn btn-info">搜索</a>
|
|
|
<a href="javascript:;" class="btn btn-info" @click="submit()">搜索</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<uc-card :rows="exportData.cards"></uc-card>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="panel">
|
|
|
<div class="panel-heading">
|
|
|
<h2>——请退出库报表——</h2>
|
|
|
</div>
|
|
|
<div class="panel-heading"><h2>——请退出库报表——</h2></div>
|
|
|
|
|
|
<div class="panel-body nopadding">
|
|
|
|
|
|
<com-grid :columns="grid.columns" :url="grid.url"></com-grid>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -53,22 +28,55 @@ |
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import grid from '../../../../components/grid/index';
|
|
|
import card from './card';
|
|
|
import filer from './filter';
|
|
|
|
|
|
export default {
|
|
|
components:{
|
|
|
ucCard:card
|
|
|
comGrid: grid,
|
|
|
ucCard:card,
|
|
|
ucFilter:filer
|
|
|
},
|
|
|
props:{
|
|
|
exportData:{type:Object, default:{}}
|
|
|
},
|
|
|
data(){
|
|
|
data() {
|
|
|
return {
|
|
|
|
|
|
params:{
|
|
|
skn:"",
|
|
|
sku:"",
|
|
|
factoryCode:"",
|
|
|
type:-1
|
|
|
},
|
|
|
grid:{
|
|
|
url:'/report/getStorageOutRptList',
|
|
|
columns:[
|
|
|
{display:'图片',render(item){
|
|
|
return item.imageUrl?'<img src="'+item.imageUrl+'">':"";
|
|
|
}},
|
|
|
{display:'SKN/SKU',render(item){
|
|
|
return '<p>SKN:'+item.productSkn+'</p><p>SKU:'+item.productSku+'</p>';
|
|
|
}},
|
|
|
{display:'厂家编号',name:'factoryCode'},
|
|
|
{display:'商品名称',name:'goodsName'},
|
|
|
{display:'进货价',name:'purchasePrice'},
|
|
|
{display:'颜色/尺码',render(item){
|
|
|
return [item.colorName,item.sizeName].join('/');
|
|
|
}},
|
|
|
{display:'商品分类',render(item){
|
|
|
return [item.maxSortName,item.middleSortName,item.smallSortName].join('-');
|
|
|
}},
|
|
|
{display:'请退出库数量',name:''},
|
|
|
{display:'请退出库金额',name:''}
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
ready(){
|
|
|
console.log(this.exportData.cards);
|
|
|
methods: {
|
|
|
submit(){
|
|
|
console.log(this.params);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script> |
|
|
\ No newline at end of file |
...
|
...
|
|