保税修改成烟草

dev
username 2 months ago
parent 318aa3ffbf
commit 1762b676b6

@ -113,7 +113,7 @@ public class SwaggerConfig
// 用ApiInfoBuilder进行定制
return new ApiInfoBuilder()
// 设置标题
.title("标题:保税仓库管理系统_接口文档")
.title("标题:烟草管理系统_接口文档")
// 描述
.description("描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...")
// 作者信息

@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 保税仓库管理系统
VUE_APP_TITLE = 烟草管理系统
# 开发环境配置
ENV = 'development'
# 保税仓库管理系统/开发环境
# 烟草管理系统/开发环境
#VUE_APP_BASE_API = 'http://124.71.134.146:8096/prod-api'
VUE_APP_BASE_API = 'http://localhost:8080'
# VUE_APP_BASE_API = 'http://tanjunwei.test.jiutianda.cn'

@ -1,8 +1,8 @@
# 页面标题
VUE_APP_TITLE = 保税仓库管理系统
VUE_APP_TITLE = 烟草管理系统
# 生产环境配置
ENV = 'production'
# 保税仓库管理系统/生产环境
# 烟草管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'

@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 保税仓库管理系统
VUE_APP_TITLE = 烟草管理系统
NODE_ENV = production
# 测试环境配置
ENV = 'staging'
# 保税仓库管理系统/测试环境
# 烟草管理系统/测试环境
VUE_APP_BASE_API = '/stage-api'

@ -1,8 +1,8 @@
{
"name": "bs",
"version": "3.8.6",
"description": "保税仓库管理系统",
"author": "保税仓库",
"description": "烟草管理系统",
"author": "烟草",
"license": "MIT",
"scripts": {
"dev": "vue-cli-service serve",

@ -26,77 +26,77 @@
</div>
</el-col>
</el-row> -->
<el-card class="box-card" :body-style="{ padding: '0px' }">
<div slot="header" class="clearfix">
<span>即将过期货物列表</span>
<el-button style="float: right; padding: 3px 0" type="text" @click="goMoreCargo"></el-button>
</div>
<el-table v-if="cargoList.length" v-loading="cargoLoading" :data="cargoList" :show-header="true"
:row-class-name="tableRowClassName" @row-dblclick="cargoClick" height="400">
<el-table-column width="100" label="有效期至" prop="expiryDate" align="center"></el-table-column>
<el-table-column width="100" label="货物" prop="cargoName" align="center"></el-table-column>
<el-table-column width="100" label="项号" prop="bookNumber" align="center"></el-table-column>
<!-- <el-table-column width="100" label="库场" prop="stockName" align="center"></el-table-column>-->
<el-table-column width="200" label="货主" show-overflow-tooltip prop="custName"></el-table-column>
<el-table-column width="150" label="船舶" prop="vesselName"></el-table-column>
</el-table>
<el-empty v-else>
<el-button type="none" plain @click="getCargoList"></el-button>
</el-empty>
<el-pagination layout="prev, pager, next, jumper" :total="cargoTotal" small hide-on-single-page
:current-page.sync="cargoParam.pageNum" :page-size.sync="cargoParam.pageSize" @current-change="getCargoList" />
</el-card>
<el-card class="box-card" :body-style="{ padding: '0px' }">
<div slot="header" class="clearfix">
<span>出库提离即将到期单据列表</span>
<el-button style="float: right; padding: 3px 0" type="text" @click="goMoreBillCargo"></el-button>
</div>
<el-table v-if="outBillCargoList.length" v-loading="outBillCargoLoading" :data="outBillCargoList" :show-header="true"
:row-class-name="tableRowClassName" @row-dblclick="outBillCargoClick" height="400">
<el-table-column width="100" label="有效期至" prop="expiryDate" align="center"></el-table-column>
<el-table-column width="100" label="报关单号" prop="customsNo" align="center"></el-table-column>
<el-table-column width="100" label="货物" prop="cargoName" align="center"></el-table-column>
<el-table-column width="100" label="项号" prop="bookNumber" align="center"></el-table-column>
<el-table-column width="100" label="单据编号" prop="billNumber" align="center"></el-table-column>
<el-table-column width="100" label="货物流向" prop="cargoFlow" align="center"></el-table-column>
<el-table-column width="200" label="货主" show-overflow-tooltip prop="custName"></el-table-column>
<el-table-column width="150" label="船舶" prop="vesselName"></el-table-column>
</el-table>
<el-empty v-else>
<el-button type="none" plain @click="getOutBillCargo"></el-button>
</el-empty>
<el-pagination layout="prev, pager, next, jumper" :total="outBillCargoTotal" small hide-on-single-page
:current-page.sync="outBillCargoParam.pageNum" :page-size.sync="outBillCargoParam.pageSize" @current-change="getOutBillCargo" />
</el-card>
<el-card class="box-card" :body-style="{ padding: '0px' }">
<div slot="header" class="clearfix">
<span>即将过期仓库列表</span>
<el-button style="float: right; padding: 3px 0" type="text" @click="goMoreStock"></el-button>
</div>
<el-table v-if="stockList.length" v-loading="stockLoading" :data="stockList" :row-class-name="tableRowClassName"
@row-dblclick="stockClick" height="400">
<el-table-column width="100" label="有效期至" prop="validityEnd" align="center"></el-table-column>
<el-table-column width="150" label="仓库代码" prop="stockCode" align="center"></el-table-column>
<el-table-column label="仓库" prop="stockName" align="center"></el-table-column>
<el-empty slot="empty">
<el-button type="none" plain @click="getStockList"></el-button>
</el-empty>
</el-table>
<el-empty v-else>
<el-button type="none" plain @click="getCargoList"></el-button>
</el-empty>
<el-pagination layout="prev, pager, next, jumper" :total="stockTotal" small hide-on-single-page
:current-page.sync="stockParam.pageNum" :page-size.sync="stockParam.pageSize" @current-change="getStockList" />
</el-card>
<el-dialog title="查看即将过期货物详情" width="70%" :visible.sync="openCargo" append-to-body>
<CargoDesc :cargo-stock-id="cargoStock.id"></CargoDesc>
</el-dialog>
<el-dialog title="查看即将过期仓库详情" :visible.sync="openStock" append-to-body>
<StockDesc :stock-id="warehouse.id"></StockDesc>
</el-dialog>
<el-dialog title="查看出库提离即将到期单据详情" :visible.sync="openOutBillCargo" append-to-body>
<OutBillCargoDesc :out-bill-cargo-id="outBillCargo.id"></OutBillCargoDesc>
</el-dialog>
<!-- <el-card class="box-card" :body-style="{ padding: '0px' }">-->
<!-- <div slot="header" class="clearfix">-->
<!-- <span>即将过期货物列表</span>-->
<!-- <el-button style="float: right; padding: 3px 0" type="text" @click="goMoreCargo"></el-button>-->
<!-- </div>-->
<!-- <el-table v-if="cargoList.length" v-loading="cargoLoading" :data="cargoList" :show-header="true"-->
<!-- :row-class-name="tableRowClassName" @row-dblclick="cargoClick" height="400">-->
<!-- <el-table-column width="100" label="有效期至" prop="expiryDate" align="center"></el-table-column>-->
<!-- <el-table-column width="100" label="货物" prop="cargoName" align="center"></el-table-column>-->
<!-- <el-table-column width="100" label="项号" prop="bookNumber" align="center"></el-table-column>-->
<!--&lt;!&ndash; <el-table-column width="100" label="库场" prop="stockName" align="center"></el-table-column>&ndash;&gt;-->
<!-- <el-table-column width="200" label="货主" show-overflow-tooltip prop="custName"></el-table-column>-->
<!-- <el-table-column width="150" label="船舶" prop="vesselName"></el-table-column>-->
<!-- </el-table>-->
<!-- <el-empty v-else>-->
<!-- <el-button type="none" plain @click="getCargoList"></el-button>-->
<!-- </el-empty>-->
<!-- <el-pagination layout="prev, pager, next, jumper" :total="cargoTotal" small hide-on-single-page-->
<!-- :current-page.sync="cargoParam.pageNum" :page-size.sync="cargoParam.pageSize" @current-change="getCargoList" />-->
<!-- </el-card>-->
<!-- <el-card class="box-card" :body-style="{ padding: '0px' }">-->
<!-- <div slot="header" class="clearfix">-->
<!-- <span>出库提离即将到期单据列表</span>-->
<!-- <el-button style="float: right; padding: 3px 0" type="text" @click="goMoreBillCargo"></el-button>-->
<!-- </div>-->
<!-- <el-table v-if="outBillCargoList.length" v-loading="outBillCargoLoading" :data="outBillCargoList" :show-header="true"-->
<!-- :row-class-name="tableRowClassName" @row-dblclick="outBillCargoClick" height="400">-->
<!-- <el-table-column width="100" label="有效期至" prop="expiryDate" align="center"></el-table-column>-->
<!-- <el-table-column width="100" label="报关单号" prop="customsNo" align="center"></el-table-column>-->
<!-- <el-table-column width="100" label="货物" prop="cargoName" align="center"></el-table-column>-->
<!-- <el-table-column width="100" label="项号" prop="bookNumber" align="center"></el-table-column>-->
<!-- <el-table-column width="100" label="单据编号" prop="billNumber" align="center"></el-table-column>-->
<!-- <el-table-column width="100" label="货物流向" prop="cargoFlow" align="center"></el-table-column>-->
<!-- <el-table-column width="200" label="货主" show-overflow-tooltip prop="custName"></el-table-column>-->
<!-- <el-table-column width="150" label="船舶" prop="vesselName"></el-table-column>-->
<!-- </el-table>-->
<!-- <el-empty v-else>-->
<!-- <el-button type="none" plain @click="getOutBillCargo"></el-button>-->
<!-- </el-empty>-->
<!-- <el-pagination layout="prev, pager, next, jumper" :total="outBillCargoTotal" small hide-on-single-page-->
<!-- :current-page.sync="outBillCargoParam.pageNum" :page-size.sync="outBillCargoParam.pageSize" @current-change="getOutBillCargo" />-->
<!-- </el-card>-->
<!-- <el-card class="box-card" :body-style="{ padding: '0px' }">-->
<!-- <div slot="header" class="clearfix">-->
<!-- <span>即将过期仓库列表</span>-->
<!-- <el-button style="float: right; padding: 3px 0" type="text" @click="goMoreStock"></el-button>-->
<!-- </div>-->
<!-- <el-table v-if="stockList.length" v-loading="stockLoading" :data="stockList" :row-class-name="tableRowClassName"-->
<!-- @row-dblclick="stockClick" height="400">-->
<!-- <el-table-column width="100" label="有效期至" prop="validityEnd" align="center"></el-table-column>-->
<!-- <el-table-column width="150" label="仓库代码" prop="stockCode" align="center"></el-table-column>-->
<!-- <el-table-column label="仓库" prop="stockName" align="center"></el-table-column>-->
<!-- <el-empty slot="empty">-->
<!-- <el-button type="none" plain @click="getStockList"></el-button>-->
<!-- </el-empty>-->
<!-- </el-table>-->
<!-- <el-empty v-else>-->
<!-- <el-button type="none" plain @click="getCargoList"></el-button>-->
<!-- </el-empty>-->
<!-- <el-pagination layout="prev, pager, next, jumper" :total="stockTotal" small hide-on-single-page-->
<!-- :current-page.sync="stockParam.pageNum" :page-size.sync="stockParam.pageSize" @current-change="getStockList" />-->
<!-- </el-card>-->
<!-- <el-dialog title="查看即将过期货物详情" width="70%" :visible.sync="openCargo" append-to-body>-->
<!-- <CargoDesc :cargo-stock-id="cargoStock.id"></CargoDesc>-->
<!-- </el-dialog>-->
<!-- <el-dialog title="查看即将过期仓库详情" :visible.sync="openStock" append-to-body>-->
<!-- <StockDesc :stock-id="warehouse.id"></StockDesc>-->
<!-- </el-dialog>-->
<!-- <el-dialog title="查看出库提离即将到期单据详情" :visible.sync="openOutBillCargo" append-to-body>-->
<!-- <OutBillCargoDesc :out-bill-cargo-id="outBillCargo.id"></OutBillCargoDesc>-->
<!-- </el-dialog>-->
</div>
</template>
@ -160,9 +160,9 @@ export default {
},
created() {
// this.getmsg();
this.getStockList();
this.getCargoList();
this.getOutBillCargo();
// this.getStockList();
// this.getCargoList();
// this.getOutBillCargo();
},
methods: {
tableRowClassName({ row, rowIndex }) {

@ -1,7 +1,7 @@
<template>
<div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">保税仓库管理系统</h3>
<h3 class="title">烟草管理系统</h3>
<el-form-item prop="username">
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

@ -7,9 +7,9 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '保税仓库管理系统' // 网页标题
const name = process.env.VUE_APP_TITLE || '烟草管理系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口
const port = process.env.port || process.env.npm_config_port || 8080 // 端口
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions

Loading…
Cancel
Save