Compare commits

...

3 Commits

Author SHA1 Message Date
‘937886381’
52dbb694a8 Merge branch 'projects/mescc/develop' into projects/mescc/zhp 2024-07-26 11:08:45 +08:00
‘937886381’
cd36d33be9 修改bug 2024-07-26 11:07:52 +08:00
52d968fdde Merge pull request 'projects/mescc/zhp' (#107) from projects/mescc/zhp into projects/mescc/develop
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #107
2024-07-26 10:52:36 +08:00
3 changed files with 14 additions and 6 deletions

View File

@ -1,7 +1,7 @@
###
# @Author: zhp
# @Date: 2024-04-28 13:42:51
# @LastEditTime: 2024-07-25 15:43:42
# @LastEditTime: 2024-07-26 10:50:10
# @LastEditors: zhp
# @Description:
###
@ -13,7 +13,7 @@ VUE_APP_TITLE = 发电玻璃智能管控平台
# 芋道管理系统/开发环境
# VUE_APP_BASE_API = 'http://192.168.1.70:30307'
# VUE_APP_BASE_API = 'http://glass.kszny.picaiba.com'
VUE_APP_BASE_API = 'http://glass.kszny.picaiba.com'
# 闫阳
# VUE_APP_BASE_API = 'http://192.168.1.81:48080'
# 徐
@ -21,7 +21,7 @@ VUE_APP_TITLE = 发电玻璃智能管控平台
# 郭
# VUE_APP_BASE_API = 'http://192.168.1.61:48080'
# sara
VUE_APP_BASE_API = 'http://192.168.1.63:8080'
# VUE_APP_BASE_API = 'http://192.168.1.63:8080'
# 张一丁
# VUE_APP_BASE_API = 'http://192.168.4.139:48080'
# 蔡

View File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-04-15 10:49:13
* @LastEditTime: 2024-07-26 10:32:14
* @LastEditTime: 2024-07-26 11:06:58
* @LastEditors: zhp
* @Description:
-->
@ -394,6 +394,10 @@ export default {
this.listQuery.yearPhaseEnd = this.listQuery.end ? this.listQuery.end.slice(0, 6) : undefined
if (this.listQuery.end && this.listQuery.start) {
if (this.listQuery.end.slice(0, 4) - this.listQuery.start.slice(0, 4) > 10) {
this.listQuery.end = undefined
this.listQuery.start = undefined
this.listQuery.yearPhaseStart = undefined
this.listQuery.yearPhaseEnd = undefined
return this.$message({
message: '起止年份不能超过十年',
type: 'warning'

View File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-04-15 10:49:13
* @LastEditTime: 2024-07-26 10:28:53
* @LastEditTime: 2024-07-26 11:05:17
* @LastEditors: zhp
* @Description:
-->
@ -10,7 +10,7 @@
<div class="app-container" style="height: auto; flex-grow: 1;">
<el-form :model="listQuery" :inline="true" ref="dataForm" class="blueTip">
<el-form-item label="快捷查询" prop="mDType">
<el-select size="small" v-model="listQuery.mDType" clearable>
<el-select size="small" v-model="listQuery.mDType" clearable @change="handleChange">
<el-option v-for="item in mDTypeList" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
@ -283,6 +283,10 @@ export default {
// this.changeTime()
},
methods: {
handleChange() {
this.listQuery.materialCode = undefined
this.listQuery.materialName = undefined
},
async getDataList() {
await getStockRealTimePage(this.listQuery).then(res => {
if (res.code === 0) {