|
|
|
@ -5,62 +5,68 @@ |
|
|
|
|
|
|
|
|
|
<!-- 存款 --> |
|
|
|
|
<div class="body"> |
|
|
|
|
<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="日期" required> |
|
|
|
|
<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="日期" |
|
|
|
|
required> |
|
|
|
|
<!-- <el-date-picker type="date" placeholder="选择日期" v-model.trim="form.date" style="width: 100%;"></el-date-picker> --> |
|
|
|
|
<el-input :value="form.date" disabled ref="date"></el-input> |
|
|
|
|
<el-input :value="form.date" |
|
|
|
|
disabled |
|
|
|
|
ref="date"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item label="柜员号" prop="counterNumber"> |
|
|
|
|
<el-input disabled :value="form.counterNumber" @input="(val) => checkHanzi(val, form, 'counterNumber')"></el-input> |
|
|
|
|
<el-col :span="10" |
|
|
|
|
:offset="1"> |
|
|
|
|
<el-form-item label="柜员号" |
|
|
|
|
prop="counterNumber"> |
|
|
|
|
<el-input disabled |
|
|
|
|
:value="form.counterNumber" |
|
|
|
|
@input="(val) => checkHanzi(val, form, 'counterNumber')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<!-- <el-col :span="20" :offset="2"> |
|
|
|
|
|
|
|
|
|
</el-col> --> |
|
|
|
|
<el-table |
|
|
|
|
ref="filterTable" |
|
|
|
|
<el-table ref="filterTable" |
|
|
|
|
:data="tableData" |
|
|
|
|
max-height="550" |
|
|
|
|
:header-cell-style="headerCellStyle" |
|
|
|
|
style="width: 95%" |
|
|
|
|
:rules="rules"> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="certificateName" |
|
|
|
|
<el-table-column prop="certificateName" |
|
|
|
|
label="凭证类型" |
|
|
|
|
align="center" |
|
|
|
|
> |
|
|
|
|
align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="stockNum" |
|
|
|
|
<el-table-column prop="stockNum" |
|
|
|
|
label="库存数量" |
|
|
|
|
align="center" |
|
|
|
|
> |
|
|
|
|
align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="startNumber" |
|
|
|
|
<el-table-column prop="startNumber" |
|
|
|
|
label="起始号码" |
|
|
|
|
align="center" |
|
|
|
|
> |
|
|
|
|
align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="endNumber" |
|
|
|
|
<el-table-column prop="endNumber" |
|
|
|
|
label="终止号码" |
|
|
|
|
align="center" |
|
|
|
|
> |
|
|
|
|
align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
label="钱箱数量" |
|
|
|
|
<el-table-column label="钱箱数量" |
|
|
|
|
align="center" |
|
|
|
|
width="230" |
|
|
|
|
prop="boxNumber" |
|
|
|
|
> |
|
|
|
|
prop="boxNumber"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-form-item :label="scope.row.certificateName + '数量'" required> |
|
|
|
|
<el-input type='text' @input="val => inputListen(val, scope.row)" min="0" :value="scope.row.cashBoxNum" class='numrule'></el-input> |
|
|
|
|
<el-form-item :label="scope.row.certificateName + '数量'" |
|
|
|
|
required> |
|
|
|
|
<el-input type='text' |
|
|
|
|
@input="val => inputListen(val, scope.row)" |
|
|
|
|
min="0" |
|
|
|
|
:value="scope.row.cashBoxNum" |
|
|
|
|
class='numrule'></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
@ -68,8 +74,17 @@ |
|
|
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
</el-row> |
|
|
|
|
<el-button @click="submitForm" type="primary" class="submitBtn" style="margin-top: 20px;" v-throttle>提交</el-button> |
|
|
|
|
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> |
|
|
|
|
<el-button @click="submitForm" |
|
|
|
|
type="primary" |
|
|
|
|
class="submitBtn" |
|
|
|
|
style="margin-top: 20px;" |
|
|
|
|
v-throttle>提交</el-button> |
|
|
|
|
<my-dialog :moduleName="moduleName" |
|
|
|
|
v-if="visible" |
|
|
|
|
:visible.sync="visible" |
|
|
|
|
:showForm="form" |
|
|
|
|
:formName="formName" |
|
|
|
|
@submitIt="submitForm2" /> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
@ -205,8 +220,6 @@ export default { |
|
|
|
|
} |
|
|
|
|
this.form = { ...this.form, ...obj1 } |
|
|
|
|
this.formName = { ...this.formName, ...obj2 } |
|
|
|
|
console.log(obj1) |
|
|
|
|
console.log(obj2) |
|
|
|
|
this.visible = true |
|
|
|
|
}, this.$refs)); |
|
|
|
|
}, |
|
|
|
@ -218,6 +231,11 @@ export default { |
|
|
|
|
formList.push({ "answerId": '544', "emptyOne": 99, "emptyTwo": this.form.date, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,32,542,544", "type": "3" }) |
|
|
|
|
formList.push({ "answerId": '545', "emptyOne": 100, "emptyTwo": this.form.counterNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,32,542,545", "type": "3" }) |
|
|
|
|
|
|
|
|
|
formList.push({ "answerId": '572', "emptyOne": 106, "emptyTwo": this.tableData[0].cashBoxNum, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,32,542,572", "type": "3" }) |
|
|
|
|
formList.push({ "answerId": '573', "emptyOne": 107, "emptyTwo": this.tableData[1].cashBoxNum, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,32,542,573", "type": "3" }) |
|
|
|
|
formList.push({ "answerId": '574', "emptyOne": 108, "emptyTwo": this.tableData[2].cashBoxNum, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,32,542,574", "type": "3" }) |
|
|
|
|
formList.push({ "answerId": '575', "emptyOne": 109, "emptyTwo": this.tableData[3].cashBoxNum, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,32,542,575", "type": "3" }) |
|
|
|
|
|
|
|
|
|
let params = { |
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,32,542', |
|
|
|
|
lcJudgmentRuleReq: formList, |
|
|
|
@ -257,5 +275,4 @@ export default { |
|
|
|
|
/deep/.el-input input { |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
</style> |