换卡操作
This commit is contained in:
parent
4ac1ac9647
commit
1e3ae9ed5e
|
|
@ -88,7 +88,10 @@
|
|||
<el-dialog title="换卡" :visible.sync="openCard" width="500px" append-to-body>
|
||||
<el-form ref="cardForm" :model="cardForm" :rules="cardRules" label-width="100px">
|
||||
<el-form-item label="物理卡号" prop="serialNum">
|
||||
<el-input v-model="cardForm.serialNum" placeholder="请输入物理卡号" maxlength="20" clearable style="width: 300px;"/>
|
||||
<el-input v-model="cardForm.serialNum" placeholder="请输入物理卡号" maxlength="20" disabled style="width: 300px;"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="新物理卡号" prop="newSerialNum">
|
||||
<el-input v-model="cardForm.newSerialNum" placeholder="请输入新物理卡号" maxlength="20" clearable style="width: 300px;"/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
|
|
@ -208,7 +211,8 @@
|
|||
// 换卡按钮
|
||||
handleChangeCard(row){
|
||||
this.cardForm = {
|
||||
serialNum:null
|
||||
serialNum:row.serialNum,
|
||||
newSerialNum:null,
|
||||
};
|
||||
this.resetForm("cardForm");
|
||||
this.cardForm.accountId = row.accountId;
|
||||
|
|
|
|||
Loading…
Reference in New Issue