Commit 8fbb396b by 王志慧

commit

1 parent 9ba6c027
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</div> </div>
<GLTable ref="allocationTable" :getListApi="getListApi" :pageConf="pageConf" :searchForm="searchFormSearch" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn"> <GLTable ref="allocationTable" :getListApi="getListApi" :pageConf="pageConf" :searchForm="searchFormSearch" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn">
<div slot="auth-button" slot-scope="scope"> <div slot="auth-button" slot-scope="scope">
<el-button type="text" @click="allocation(scope.scope)" :disabled="setDisabled(scope.scope)">盘点</el-button> <el-button type="text" @click="allocation(scope.scope)" :disabled="setDisabled(scope.scope)">选择</el-button>
</div> </div>
</GLTable> </GLTable>
</div> </div>
...@@ -84,18 +84,15 @@ export default { ...@@ -84,18 +84,15 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '商品名称', label: '商品名称',
prop: 'goodsName', prop: 'goodsName'
width: '160px'
}, },
{ {
label: '系列', label: '系列',
prop: 'sourceMaterialName', prop: 'sourceMaterialName'
width: '250px'
}, },
{ {
label: '所属分类', label: '所属分类',
prop: 'goodsTypeName', prop: 'goodsTypeName'
width: '250px'
}, },
{ {
label: '库存', label: '库存',
...@@ -106,8 +103,7 @@ export default { ...@@ -106,8 +103,7 @@ export default {
}, },
{ {
label: '所属门店', label: '所属门店',
prop: 'yqMerchantName', prop: 'yqMerchantName'
width: '200px'
} }
] ]
}, },
...@@ -118,18 +114,15 @@ export default { ...@@ -118,18 +114,15 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '商品名称', label: '商品名称',
prop: 'goodsName', prop: 'goodsName'
width: '160px'
}, },
{ {
label: '系列', label: '系列',
prop: 'sourceMaterialName', prop: 'sourceMaterialName'
width: '250px'
}, },
{ {
label: '所属分类', label: '所属分类',
prop: 'goodsTypeName', prop: 'goodsTypeName'
width: '250px'
}, },
{ {
label: '库存', label: '库存',
......
...@@ -111,7 +111,9 @@ export default { ...@@ -111,7 +111,9 @@ export default {
}, },
{ {
label: '备注', label: '备注',
prop: 'remark' prop: 'remark',
width: 200,
line: 1
} }
] ]
}, },
...@@ -151,7 +153,6 @@ export default { ...@@ -151,7 +153,6 @@ export default {
}, },
// 查看详情 // 查看详情
handleDetail(row) { handleDetail(row) {
this.allocationInfo = row this.allocationInfo = row
this.allocationDetailVisible = true this.allocationDetailVisible = true
console.log(this.allocationDetailVisible) console.log(this.allocationDetailVisible)
......
...@@ -66,18 +66,15 @@ export default { ...@@ -66,18 +66,15 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '商品名称', label: '商品名称',
prop: 'goodsName', prop: 'goodsName'
width: '160px'
}, },
{ {
label: '系列', label: '系列',
prop: 'sourceMaterialName', prop: 'sourceMaterialName'
width: '250px'
}, },
{ {
label: '所属分类', label: '所属分类',
prop: 'goodsTypeName', prop: 'goodsTypeName'
width: '250px'
}, },
{ {
label: '库存', label: '库存',
...@@ -88,8 +85,7 @@ export default { ...@@ -88,8 +85,7 @@ export default {
}, },
{ {
label: '所属门店', label: '所属门店',
prop: 'yqMerchantName', prop: 'yqMerchantName'
width: '200px'
} }
] ]
}, },
......
...@@ -105,7 +105,9 @@ export default { ...@@ -105,7 +105,9 @@ export default {
}, },
{ {
label: '备注', label: '备注',
prop: 'remark' prop: 'remark',
width: 200,
line: 1
}, },
{ {
label: '凭证', label: '凭证',
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="container"> <div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="table-header"> <div class="table-header">
<h2>库存预警列表</h2> <h2>预警列表</h2>
<div> <div>
<el-button type="primary" size="small" @click="gotoReplenishment">去补货</el-button> <el-button type="primary" size="small" @click="gotoReplenishment">去补货</el-button>
<el-button type="primary" size="small" @click="exportExcel">导出</el-button> <el-button type="primary" size="small" @click="exportExcel">导出</el-button>
......
...@@ -113,7 +113,8 @@ export default { ...@@ -113,7 +113,8 @@ export default {
{ {
label: '商品名称', label: '商品名称',
prop: 'upgradeGoodsName', prop: 'upgradeGoodsName',
width: 160 width: 180,
line: 1
}, },
{ {
label: '系列', label: '系列',
......
...@@ -89,7 +89,8 @@ export default { ...@@ -89,7 +89,8 @@ export default {
{ {
label: '商品名称', label: '商品名称',
prop: 'upgradeGoodsName', prop: 'upgradeGoodsName',
width: 160 width: 180,
line: 1
}, },
{ {
label: '系列', label: '系列',
...@@ -196,10 +197,8 @@ export default { ...@@ -196,10 +197,8 @@ export default {
this.exportLoading = true this.exportLoading = true
var params = this.searchForm var params = this.searchForm
this.$apis.stockManage.exportMerchantExcel(params).then(res => { this.$apis.stockManage.exportMerchantExcel(params).then(res => {
window.location.href = res window.location.href = res
}) })
}, },
handleSearch() { handleSearch() {
this.$refs.stockRef.refreshTable() this.$refs.stockRef.refreshTable()
......
<template> <template>
<GLDialog class="stock-dialog" v-if="stockMonthVisible" :destroy-on-close="true" bigTitle="月度库存结算单" mode="big" okText="关闭" :visible.sync="stockMonthVisible" :close-on-click-modal="false" @onOk="handleClose" @onCancel="handleClose"> <GLDialog class="stock-dialog" v-if="stockMonthVisible" :destroy-on-close="true" bigTitle="月度库存结算单" mode="big" okText="关闭" :visible.sync="stockMonthVisible" :close-on-click-modal="false" @onOk="handleClose" @onCancel="handleClose">
<div class="detail-content" v-if="stockMonthVisible"> <div class="detail-content" v-if="stockMonthVisible">
<el-form :inline="true" :model="searchForm"> <el-form :inline="true" :model="searchForm" size="small">
<el-form-item label="年度:"> <el-form-item label="年度:">
<el-date-picker v-model="searchForm.year" type="year" placeholder="选择年" value-format="yyyy" format="yyyy" :clearable="false" :picker-options="pickerOption" @change="chooseYear"></el-date-picker> <el-date-picker v-model="searchForm.year" type="year" placeholder="选择年" value-format="yyyy" format="yyyy" :clearable="false" :picker-options="pickerOption" @change="chooseYear"></el-date-picker>
</el-form-item> </el-form-item>
......
...@@ -113,11 +113,14 @@ export default { ...@@ -113,11 +113,14 @@ export default {
{ {
label: '商品名称', label: '商品名称',
prop: 'upgradeGoodsName', prop: 'upgradeGoodsName',
width: 160 width: 180,
line: 1
}, },
{ {
label: '系列', label: '系列',
prop: 'goodsSeries' prop: 'goodsSeries',
width: 150,
line: 1
}, },
{ {
label: '所属分类', label: '所属分类',
...@@ -144,7 +147,7 @@ export default { ...@@ -144,7 +147,7 @@ export default {
{ {
label: '入库类型', label: '入库类型',
prop: 'increaseStockType', prop: 'increaseStockType',
width: '100px', width: 100,
formatter: cellValue => { formatter: cellValue => {
return this.baseData.storageTypeList.find(item => item.confId === cellValue.increaseStockType?.toString())?.confLabel return this.baseData.storageTypeList.find(item => item.confId === cellValue.increaseStockType?.toString())?.confLabel
} }
...@@ -282,13 +285,10 @@ export default { ...@@ -282,13 +285,10 @@ export default {
this.$router.push('/purchaseOrder/add') this.$router.push('/purchaseOrder/add')
}, },
exportExcel() { exportExcel() {
// this.$messenger.send('ssssssssssssssss')
var params = this.getParams() var params = this.getParams()
this.$apis.stockManage.exportExcel(params).then(res => { this.$apis.stockManage.exportExcel(params).then(res => {
window.location.href = res window.location.href = res
}) })
}, },
handleSearch() { handleSearch() {
this.$refs.warehousingRef.refreshTable() this.$refs.warehousingRef.refreshTable()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!