|
|
@ -6,9 +6,9 @@ |
|
|
|
<div> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="selectCustomer()" v-show="formobj.nodeName == '登记' ||formobj.nodeName == ''">选择客户</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="saveOrUpdate()">保存</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="submit()">提交</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="submit()" v-show="formobj.nodeName !== '结算'">提交</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="settleAccounts()" v-show="formobj.nodeName == '结算'">结算</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="confirmCLF()" v-show="formobj.nodeName == '结算' && formobj.subject == '保外'">确认材料费</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="confirmCLF()" v-show="formobj.nodeName == '结算' && formobj.subject == '保内'">确认材料费</el-button> |
|
|
|
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -442,7 +442,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">付款人编号</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.settleVo.payerName" clearable placeholder="" /></el-form-item> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.settleVo.payerNo" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">应收金额</div> |
|
|
@ -470,7 +470,7 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">其他结算方式</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.settleVo.otherSettleValue" clearable placeholder="" /> |
|
|
|
<el-form-item> |
|
|
|
<el-select class="addinputInfo" v-model="formobj.settleVo.otherSettleValue" placeholder="请选择" @change="otherSettleChange" clearable filterable> |
|
|
|
<el-option v-for="item in otherSettle_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictValue"></el-option> |
|
|
|
</el-select> |
|
|
@ -1072,7 +1072,6 @@ export default { |
|
|
|
}, |
|
|
|
settleAccounts() { |
|
|
|
this.settleVisible = true |
|
|
|
// this.formobj.payableAmount = this.yfjeTotal |
|
|
|
}, |
|
|
|
settleChange(value) { |
|
|
|
const choose = this.settle_list.filter((item) => item.dictValue === value) |
|
|
@ -1094,7 +1093,7 @@ export default { |
|
|
|
this.$refs['form_obj'].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
this.submitdisabled = true |
|
|
|
req.settlement(this.formobj).then((res) => { |
|
|
|
req.settle(this.formobj).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.$message({ showClose: true, type: 'success', message: '结算成功' }) |
|
|
|
this.handleReturn('true') |
|
|
@ -1221,6 +1220,7 @@ export default { |
|
|
|
}, |
|
|
|
showReSettleBtn: true |
|
|
|
} |
|
|
|
this.settleVisible = false |
|
|
|
this.submitdisabled = false |
|
|
|
this.$emit('doback') |
|
|
|
} |
|
|
|