Commit fa6d4493 authored by piwen's avatar piwen

绑定打印机限制长度

parent 1fdda8a5
......@@ -77,8 +77,8 @@ page{
bottom: 200upx;
}
.wz{
margin:20px 40px;
font-size: 15px;
margin:40upx 80upx;
font-size: 30upx;
}
.switch {
......
......@@ -13,7 +13,7 @@
<view class="inoutlist">
<view class="inputitem flex">
<view class="names">填写编码</view>
<input type="text" placeholder="打印机编码" v-model="parameter.print_SN" class="inputs" >
<input type="text" placeholder="打印机编码" v-model="parameter.print_SN" class="inputs" maxlength="20" >
</view>
<view class="wz">请查看打印机上对应的设备编码,并正确填写(不区分大小写)</view>
</view>
......@@ -75,6 +75,7 @@
icon:"success",
title:res.msg
})
this.taggleTab(2);
//this.$api.msg(res.msg);
}else{
this.$api.msg(res.msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment