|
|
|
@ -8,13 +8,14 @@ |
|
|
|
|
<i class="el-icon-arrow-right"></i> |
|
|
|
|
<p>支票出售</p> |
|
|
|
|
</div> --> |
|
|
|
|
<my-title :titleArr="['重空现金', '支票管理', '支票出售']"/> |
|
|
|
|
<my-title :titleArr="['重控现金', '支票管理', '支票出售']" /> |
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" style="margin: 0"> |
|
|
|
|
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item label="账号" prop="username"> |
|
|
|
|
<el-input @blur="onBlur()" :value="form.username" @input="val => checkHanzi(val, form, 'username')" ref="username"></el-input> |
|
|
|
|
<el-input @blur="onBlur()" :value="form.username" @input="val => checkHanzi(val, form, 'username')" |
|
|
|
|
ref="username"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="凭证类型" prop="voucherType"> |
|
|
|
|
<el-select v-model.trim="form.voucherType" placeholder="请选择" ref="voucherType"> |
|
|
|
@ -31,7 +32,8 @@ |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="凭证终止号" prop="endNumber"> |
|
|
|
|
<el-input :value="form.endNumber" @blur="getBlur()" @input="val => certificateNumber(val, form, 'endNumber')" ref="endNumber"></el-input> |
|
|
|
|
<el-input :value="form.endNumber" @blur="getBlur()" |
|
|
|
|
@input="val => certificateNumber(val, form, 'endNumber')" ref="endNumber"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="收费类型" prop="chargeWay2"> |
|
|
|
@ -40,7 +42,8 @@ |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="手续费" prop="serviceCharge"> |
|
|
|
|
<el-input :value="form.serviceCharge" @input="(val) => ismoney(val, form, 'serviceCharge')" ref="serviceCharge"></el-input> |
|
|
|
|
<el-input :value="form.serviceCharge" @input="(val) => ismoney(val, form, 'serviceCharge')" |
|
|
|
|
ref="serviceCharge"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
@ -48,10 +51,12 @@ |
|
|
|
|
<el-input v-model.trim="form.customerName" ref="customerName"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="凭证起始号" prop="startNumber"> |
|
|
|
|
<el-input :value="form.startNumber" @input="(val) => certificateNumber(val, form, 'startNumber')" ref="startNumber"></el-input> |
|
|
|
|
<el-input :value="form.startNumber" @input="(val) => certificateNumber(val, form, 'startNumber')" |
|
|
|
|
ref="startNumber"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="数量" prop="number"> |
|
|
|
|
<el-input :value="form.number" disabled @input="val => inputListen(val, form, 'number')" ref="number" ></el-input> |
|
|
|
|
<el-input :value="form.number" disabled @input="val => inputListen(val, form, 'number')" |
|
|
|
|
ref="number"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="工本费" prop="cost"> |
|
|
|
|
<el-input :value="form.cost" @input="val => ismoney(val, form, 'cost')" ref="cost"></el-input> |
|
|
|
@ -64,7 +69,8 @@ |
|
|
|
|
</el-form> |
|
|
|
|
</el-row> |
|
|
|
|
<el-button @click="submitIt()" type="primary" class="submitBtn">提交</el-button> |
|
|
|
|
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> |
|
|
|
|
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" |
|
|
|
|
@submitIt="submitForm2" /> |
|
|
|
|
</div> |
|
|
|
|
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" /> --> |
|
|
|
|
</template> |
|
|
|
@ -303,7 +309,8 @@ export default { |
|
|
|
|
// left: 50%; |
|
|
|
|
// transform: translate(-50%,-20%); |
|
|
|
|
// } |
|
|
|
|
.el-input, .el-select { |
|
|
|
|
.el-input, |
|
|
|
|
.el-select { |
|
|
|
|
width: 100% !important; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -313,15 +320,18 @@ export default { |
|
|
|
|
flex-direction: column; |
|
|
|
|
overflow: auto; |
|
|
|
|
padding: 24px 0 24px 24px; |
|
|
|
|
|
|
|
|
|
.nav { |
|
|
|
|
/deep/ .el-menu.el-menu--horizontal { |
|
|
|
|
border: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-menu--horizontal>.el-menu-item.is-active { |
|
|
|
|
border: 2px solid #568DF2; |
|
|
|
|
border-radius: 10px; |
|
|
|
|
color: #000; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-menu--horizontal>.el-menu-item { |
|
|
|
|
border: 2px solid transparent; |
|
|
|
|
border-radius: 10px; |
|
|
|
@ -330,6 +340,7 @@ export default { |
|
|
|
|
line-height: 28px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
height: 60px; |
|
|
|
|
display: flex; |
|
|
|
@ -338,9 +349,11 @@ export default { |
|
|
|
|
padding-left: 0px; |
|
|
|
|
margin-top: 10px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.body { |
|
|
|
|
margin-top: 50px; |
|
|
|
|
overflow: auto; |
|
|
|
|
|
|
|
|
|
.idCard { |
|
|
|
|
border-radius: 5px; |
|
|
|
|
background: #CFDDFF; |
|
|
|
@ -350,8 +363,10 @@ export default { |
|
|
|
|
font-size: 18px; |
|
|
|
|
color: #6191FF; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.add { |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
&::after { |
|
|
|
|
content: ''; |
|
|
|
|
display: block; |
|
|
|
@ -362,6 +377,7 @@ export default { |
|
|
|
|
width: 88%; |
|
|
|
|
height: 268px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.addBtn { |
|
|
|
|
position: absolute; |
|
|
|
|
left: 0; |
|
|
|
@ -371,6 +387,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.submitBtn { |
|
|
|
|
position: relative; |
|
|
|
|
width: 200px; |
|
|
|
|