no message
parent
45541fe293
commit
83e4d29fae
|
|
@ -14,6 +14,6 @@ export default {
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#app {
|
#app {
|
||||||
height: 100%;
|
height: 98%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -2,29 +2,7 @@
|
||||||
<div class="loginDiv">
|
<div class="loginDiv">
|
||||||
<div class="login-box">
|
<div class="login-box">
|
||||||
<h2>智能仓储WMS</h2>
|
<h2>智能仓储WMS</h2>
|
||||||
<form>
|
|
||||||
|
|
||||||
<div class="user-box">
|
|
||||||
<input type="text" name="" required="" v-model="ruleForm.userNo" @keyup.enter="login"/>
|
|
||||||
<label>账号</label>
|
|
||||||
</div>
|
|
||||||
<div class="user-box">
|
|
||||||
<input type="password" name="" required="" v-model="ruleForm.passWord" @keyup.enter="login"/>
|
|
||||||
<label>密码</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<a href="javascript:"
|
|
||||||
@click="login"
|
|
||||||
>
|
|
||||||
<span></span>
|
|
||||||
<span></span>
|
|
||||||
<span></span>
|
|
||||||
<span></span>
|
|
||||||
登录
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a>注册 </a>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -41,8 +19,13 @@ export default {
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
this.login()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
login() {
|
login() {
|
||||||
|
this.ruleForm.userNo="admin"
|
||||||
|
this.ruleForm.passWord="123"
|
||||||
if (this.ruleForm.userNo == null || this.ruleForm.userNo.length <= 0) {
|
if (this.ruleForm.userNo == null || this.ruleForm.userNo.length <= 0) {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: '请输入账号',
|
message: '请输入账号',
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="div1">
|
<div class="div1" style="height: 100%">
|
||||||
|
|
||||||
<div class="div2" style="padding-bottom: 10px">
|
<div class="div2" style="padding-bottom: 10px">
|
||||||
|
|
||||||
|
|
@ -225,7 +225,8 @@
|
||||||
|
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
:max-height="MaxHeight"
|
v-loading="this.tableloding"
|
||||||
|
:max-height="480"
|
||||||
:header-cell-style="{background:'#000',color:'#fff'}"
|
:header-cell-style="{background:'#000',color:'#fff'}"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
id="educe-table"
|
id="educe-table"
|
||||||
|
|
@ -498,6 +499,7 @@ export default {
|
||||||
|
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
|
tableloding:false,
|
||||||
pickerOptions: {
|
pickerOptions: {
|
||||||
shortcuts: [{
|
shortcuts: [{
|
||||||
text: '最近一周',
|
text: '最近一周',
|
||||||
|
|
@ -563,7 +565,6 @@ export default {
|
||||||
//容器码
|
//容器码
|
||||||
LP: ''
|
LP: ''
|
||||||
},
|
},
|
||||||
MaxHeight: '',
|
|
||||||
plant: [],
|
plant: [],
|
||||||
loc: [],
|
loc: [],
|
||||||
name: [],
|
name: [],
|
||||||
|
|
@ -601,9 +602,10 @@ export default {
|
||||||
this.Plant();
|
this.Plant();
|
||||||
this.Loc();
|
this.Loc();
|
||||||
this.z_Name();
|
this.z_Name();
|
||||||
this.$nextTick(()=> {
|
// this.$nextTick(()=> {
|
||||||
this.MaxHeight = window.innerHeight - 300;//300是页面中除了表格外其他组件的高度
|
//
|
||||||
})
|
// this.MaxHeight = window.innerHeight - 220;//300是页面中除了表格外其他组件的高度
|
||||||
|
// })
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleEdit(index, row) {
|
handleEdit(index, row) {
|
||||||
|
|
@ -672,6 +674,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
queryUser() {
|
queryUser() {
|
||||||
|
this.tableloding=true
|
||||||
//列表数据加载
|
//列表数据加载
|
||||||
this.$axios.post(this.$httpUrl + '/Zhengliqingdan/queryWhere', {
|
this.$axios.post(this.$httpUrl + '/Zhengliqingdan/queryWhere', {
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
|
|
@ -679,15 +682,16 @@ export default {
|
||||||
param: this.param,
|
param: this.param,
|
||||||
}).then(res => res.data)
|
}).then(res => res.data)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
|
this.tableloding=false
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.tableData = res.data
|
this.tableData = res.data
|
||||||
this.total = res.total
|
this.total = res.total
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('获取数据失败');
|
this.$message.error('获取数据失败');
|
||||||
}
|
}
|
||||||
})
|
// eslint-disable-next-line no-unused-vars
|
||||||
.catch(function (err) {
|
},err =>{
|
||||||
console.log(err);
|
this.tableloding=false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
find(){
|
find(){
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,11 @@ const routes=[
|
||||||
name:'login',
|
name:'login',
|
||||||
component: () => import('../components/Login')
|
component: () => import('../components/Login')
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path:'/',
|
||||||
|
name:'login',
|
||||||
|
component: () => import('../components/Login')
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path:'/index',
|
path:'/index',
|
||||||
name:'index',
|
name:'index',
|
||||||
|
|
|
||||||
|
|
@ -46,8 +46,9 @@ public class ZhengliqingdanImpl implements Zhengliqingdan {
|
||||||
|
|
||||||
//查询条件
|
//查询条件
|
||||||
//采购单号
|
//采购单号
|
||||||
|
System.out.println(zhengliqingdan.sourceId.trim()==null);
|
||||||
if(zhengliqingdan.sourceId!=null&&!zhengliqingdan.sourceId.equals("")){
|
if(zhengliqingdan.sourceId!=null&&!zhengliqingdan.sourceId.equals("")){
|
||||||
sql+=" and ad.sourceId="+"'"+zhengliqingdan.sourceId+"'";
|
sql+=" and ad.sourceId="+"'"+zhengliqingdan.sourceId.trim()+"'";
|
||||||
}
|
}
|
||||||
//收货凭证
|
//收货凭证
|
||||||
if(zhengliqingdan.strBill7!=null&&!zhengliqingdan.strBill7.equals("")){
|
if(zhengliqingdan.strBill7!=null&&!zhengliqingdan.strBill7.equals("")){
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ server:
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:sqlserver://47.100.54.81:1433;DatabaseName=zwtest
|
url: jdbc:sqlserver://47.100.54.81:1433;DatabaseName=zwwms
|
||||||
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||||
username: super
|
username: super
|
||||||
password: 1K4QfD%ESd1fe@VJ
|
password: 1K4QfD%ESd1fe@VJ
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue