Browse Source

完善出纳款项确认--驳回原因

zhanglei
yunuo970428 2 years ago
parent
commit
0e0a28d2f1
  1. 27
      anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/cashierConfirmationInfo.vue

27
anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/cashierConfirmationInfo.vue

@ -223,6 +223,22 @@
</el-table>
</el-form>
</div>
<el-dialog center :visible.sync="dialogVisible" width="50%">
<el-form ref="form_obj" class="formadd">
<el-row style="border-top: 1px solid #E0E3EB">
<el-col :span="4" class="tleftb">
<span>意见</span>
</el-col>
<el-col :span="20">
<el-form-item><el-input v-model="reason" clearable placeholder="" type="textarea" :autosize="{ minRows: 2, maxRows: 20}" resize="none"/></el-form-item>
</el-col>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button size="small" type="primary" @click="handleConfirm">确定</el-button>
<el-button size="small" @click="dialogVisible = false">取消</el-button>
</span>
</el-dialog>
</div>
</template>
@ -236,6 +252,8 @@ export default {
sid: '',
viewTitle: '',
viewState: '',
dialogVisible: false,
reason: '', //
selectedreceivableKey: 0,
receiptNumber: '',
formobj: {},
@ -288,8 +306,11 @@ export default {
})
},
handReject() {
cashierReject({ sid: this.sid }).then((res) => {
if (res.code === '200') {
this.dialogVisible = true
},
handleConfirm() {
cashierReject({ sid: this.sid, reason: this.reason }).then((res) => {
if (res.success) {
this.$message({ showClose: true, message: '已驳回', type: 'success' })
this.handleReturn('true')
}
@ -301,6 +322,8 @@ export default {
this.list1 = []
this.list2 = []
this.receiptNumber = ''
this.reason = ''
this.dialogVisible = false
this.$emit('doback')
}
}

Loading…
Cancel
Save