Commit 6a680e73 by zhouzy

批次弹窗日期格式+账号输入限制+显示问题尝试

1 parent e0589a91
......@@ -5458,9 +5458,9 @@
}
},
"glsx-vue-common": {
"version": "1.1.20",
"resolved": "https://registry.npmjs.org/glsx-vue-common/-/glsx-vue-common-1.1.20.tgz",
"integrity": "sha512-35ZFRfkSbdd30QuYJDRdFSqTiDt3Dv4bgdJN+JV+oDStScsPytP5YkLFnieWFSjuewLAGeFrP/Hg0FhGUuY9Iw==",
"version": "1.2.6",
"resolved": "https://registry.npm.taobao.org/glsx-vue-common/download/glsx-vue-common-1.2.6.tgz",
"integrity": "sha1-Adhh5rj6OqT/PTBjD8xc4D24gDw=",
"requires": {
"vue": "^2.5.10"
}
......
......@@ -10,7 +10,7 @@
"dependencies": {
"axios": "^0.18.0",
"element-ui": "^2.15.1",
"glsx-vue-common": "^1.1.14",
"glsx-vue-common": "^1.2.6",
"glsx-vue-components": "^1.0.13",
"vee-validate": "^2.1.7",
"vue": "^2.5.17",
......
......@@ -270,7 +270,7 @@ export default {
}).catch(() => {
this.loading = false
})
})
}).catch(() => {})
},
// 每页条数
......
......@@ -82,7 +82,7 @@
</span>
<span class="itemLeftContainer">
<el-form-item label="生成日期:">
{{ cardsInformationForm.createdDateStr }}
{{ date_format(cardsInformationForm.createdDateStr)}}
</el-form-item>
</span>
<span class="itemRightContainer">
......@@ -278,7 +278,6 @@
v-model="collectionListSearch.condition.mobile"
placeholder="请输入账号"
size="small"
minlength ='3'
></el-input>
</div>
<div class="buttonContainer">
......@@ -473,7 +472,7 @@ export default {
beginTime: "" || null,
endTime: "" || null,
sn: "" || null,
mobile: "" || null,
mobile: "",
defineCode: "" || null,
},
},
......@@ -882,7 +881,8 @@ export default {
//改变领用日期数据格式
changeCollectionDataFormat() {
return new Promise((resolve, reject) => {
console.log(this.colletionDate);
if(this.collectionListSearch.condition.mobile.length>2||this.collectionListSearch.condition.mobile.length<1){
console.log(this.colletionDate);
this.collectionListSearch.condition.endTime = this.colletionDate
? this.colletionDate[1] + " 23:59:59"
: "" || undefined;
......@@ -890,6 +890,14 @@ export default {
? this.colletionDate[0] + " 00:00:01"
: "" || undefined;
resolve();
}else{
this.$message({
message: "请至少输入三位账号!",
type: "error",
})
reject()
}
});
},
// 领用详情搜索
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!