|
|
|
@ -257,42 +257,36 @@
|
|
|
|
|
</el-tab-pane> |
|
|
|
|
<el-tab-pane label="库 存 品 列 表" name="tab3"> |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<!-- <el-table ref="table" v-loading="loading"--> |
|
|
|
|
<!-- @selection-change="selectionChange"--> |
|
|
|
|
<!-- :data="packageData"--> |
|
|
|
|
<!-- :height="height"--> |
|
|
|
|
<!-- style="width: 100%"--> |
|
|
|
|
<!-- :border="wrapoption.border"--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
:data="inventoryData" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:border="inventory.border" |
|
|
|
|
> |
|
|
|
|
<!-- align="center"-->center |
|
|
|
|
|
|
|
|
|
<!-- <el-table-column type="expand" v-if="wrapoption.expand"></el-table-column>--> |
|
|
|
|
<!-- <template v-for="(item,index) in wrapoption.column">--> |
|
|
|
|
<!-- <!– table字段 –>--> |
|
|
|
|
<!-- <el-table-column v-if="item.hide!==true"--> |
|
|
|
|
<!-- :prop="item.prop"--> |
|
|
|
|
<!-- :label="item.label"--> |
|
|
|
|
<!-- :show-overflow-tooltip="true"--> |
|
|
|
|
<!-- :width="item.width"--> |
|
|
|
|
<!-- :key="index">--> |
|
|
|
|
<!-- <!– :align="center"–>--> |
|
|
|
|
<el-table-column type="expand" v-if="inventory.expand"></el-table-column> |
|
|
|
|
<template v-for="(item,index) in inventory.column"> |
|
|
|
|
<!-- table字段 --> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
:show-overflow-tooltip="true" |
|
|
|
|
:width="item.width" |
|
|
|
|
:key="index"> |
|
|
|
|
<!-- :align="center"--> |
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
<el-table-column prop="menu" label="操作" :width="220" align="center"> |
|
|
|
|
<template #="{row}"> |
|
|
|
|
<el-button type="primary" text icon="el-icon-view" @click="handleInventoryView(row)">查看详情</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
|
</el-table> |
|
|
|
|
|
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
<!-- </template>--> |
|
|
|
|
<!-- </el-table>--> |
|
|
|
|
<!-- <div class="avue-crud__pagination" style="width:100%">--> |
|
|
|
|
<!-- <!– 分页模块 –>--> |
|
|
|
|
<!-- <el-pagination align="right"--> |
|
|
|
|
<!-- background--> |
|
|
|
|
<!-- @size-change="psizeChange"--> |
|
|
|
|
<!-- @current-change="pcurrentChange"--> |
|
|
|
|
<!-- :current-page="packpage.currentPage"--> |
|
|
|
|
<!-- :page-sizes="[30, 50,80, 120]"--> |
|
|
|
|
<!-- :page-size="packpage.pageSize"--> |
|
|
|
|
<!-- layout="total, sizes, prev, pager, next, jumper"--> |
|
|
|
|
<!-- :total="packpage.total">--> |
|
|
|
|
<!-- </el-pagination>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
</div> |
|
|
|
@ -300,7 +294,7 @@
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import { getList, getDetail, add, update, remove ,getDetailById,getListOrder,signforPackageList} from '@/api/distribution/distributionSignfor'; |
|
|
|
|
import { getList, getDetail, add, update, remove ,getDetailById,getListOrder,signforPackageList,signforInventoryList} from '@/api/distribution/distributionSignfor'; |
|
|
|
|
|
|
|
|
|
import { mapGetters } from 'vuex'; |
|
|
|
|
import { getDictionaryBiz } from '@/api/system/dict'; |
|
|
|
@ -1080,6 +1074,137 @@ export default {
|
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
inventory: { |
|
|
|
|
expand: false, |
|
|
|
|
index: true, |
|
|
|
|
border: true, |
|
|
|
|
selection: true, |
|
|
|
|
column: [ |
|
|
|
|
{ |
|
|
|
|
prop: 'sku', |
|
|
|
|
label: 'SKU', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'descriptionGoods', |
|
|
|
|
label: '物料名称', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'cargoNumber', |
|
|
|
|
label: '物料编号', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'cargoNorms', |
|
|
|
|
label: '物料规格', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'cargoUnit', |
|
|
|
|
label: '物料单位', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'category', |
|
|
|
|
label: '品分类', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'reservationNum', |
|
|
|
|
label: '计划出库数', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'loadedinNumber', |
|
|
|
|
label: '实际出库数', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'loadingStatusName', |
|
|
|
|
label: '装车状态', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'signingStatusName', |
|
|
|
|
label: '签收状态', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'signUser', |
|
|
|
|
label: '签收人', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 订单列表 |
|
|
|
|
data: [], |
|
|
|
|
// 基本信息表单列表 |
|
|
|
@ -1298,6 +1423,11 @@ export default {
|
|
|
|
|
getWrapdetail(row.id).then(res => { |
|
|
|
|
console.log("查看>>>>>>>",res.data.data); |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
handleInventoryView(row) { |
|
|
|
|
console.log("查看>>>>>>>>>>",row); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
//查看增值服务 |
|
|
|
|
checkAddValue(scope) { |
|
|
|
@ -1471,6 +1601,12 @@ export default {
|
|
|
|
|
// this.page.total = data.total |
|
|
|
|
this.packageData =data |
|
|
|
|
}); |
|
|
|
|
signforInventoryList(signforId).then(res => { |
|
|
|
|
const data =res.data.data |
|
|
|
|
console.log("------------>data",data); |
|
|
|
|
// this.page.total = data.total |
|
|
|
|
this.inventoryData =data |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|