|
|
|
@ -12,21 +12,6 @@ |
|
|
|
border |
|
|
|
v-loading="dataListLoading" |
|
|
|
style="width: 100%; "> |
|
|
|
<el-table-column |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="150" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" size="small" v-if="scope.row.status==='已封托'" @click="palletModelOpen(scope.row)">查看</a> |
|
|
|
<template v-if="searchData.orderStatus === '待包装'"> |
|
|
|
<a type="text" size="small" v-if="scope.row.status!=='已封托'" @click="palletModelOpen(scope.row)">装托</a> |
|
|
|
<a type="text" size="small" v-if="scope.row.status==='未封托'" @click="fengTuo(scope.row)">封托</a> |
|
|
|
<a type="text" size="small" v-if="scope.row.status==='已封托'" @click="chaiTuo(scope.row)">拆托</a> |
|
|
|
<a type="text" size="small" v-if="scope.row.status!=='已封托'" @click="deletePallet(scope.row)">删除</a> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
v-for="(item,index) in columnList" :key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
@ -39,8 +24,22 @@ |
|
|
|
:label="item.columnLabel"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="!item.columnHidden"> {{scope.row[item.columnProp]}}</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" |
|
|
|
style="width: 100px; height: 80px"/></span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="150" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.status==='已封托'" @click="palletModelOpen(scope.row)">查看</el-link> |
|
|
|
<template v-if="searchData.orderStatus === '待包装'"> |
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.status!=='已封托'" @click="palletModelOpen(scope.row)">装托</el-link> |
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.status==='未封托'" @click="fengTuo(scope.row)">封托</el-link> |
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.status==='已封托'" @click="chaiTuo(scope.row)">拆托</el-link> |
|
|
|
<el-link style="cursor: pointer" v-if="scope.row.status!=='已封托'" @click="deletePallet(scope.row)">删除</el-link> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
@ -117,7 +116,6 @@ |
|
|
|
<el-link style="cursor: pointer" @click="viewBoxRollDetail(scope.row)">装箱明细</el-link> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
</el-table> |
|
|
|
<el-footer style="height:40px;margin-top: 25px;text-align:center"> |
|
|
|
<el-button @click="palletModelFlag = false">关闭</el-button> |
|
|
|
|