|
|
@ -133,7 +133,7 @@ |
|
|
|
<!-- 详情 --> |
|
|
|
<repairbillInfo v-show="viewState == 4" ref="divInfo" @doback="resetState" /> |
|
|
|
<!-- 结算 --> |
|
|
|
<settleAccountsAdd v-show="viewState == 3" ref="divSettle" @doback="resetState" /> |
|
|
|
<settleAccountsAdd v-show="viewState == 5" ref="divSettle" @doback="resetState" /> |
|
|
|
<!-- 打印结算单(保内) --> |
|
|
|
<el-dialog title="打印类型" :visible.sync="dialogVisible" width="25%" :show-close="false"> |
|
|
|
<el-form :model="temp" class="formaddcopy02"> |
|
|
@ -458,7 +458,7 @@ export default { |
|
|
|
if (this.sids.length === 1) { |
|
|
|
req.settle({ sid: this.sids[0] }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.viewState = 3 |
|
|
|
this.viewState = 5 |
|
|
|
this.$refs['divSettle'].showAdd({ sid: this.sids[0] }) |
|
|
|
} else { |
|
|
|
this.$message({ showClose: true, type: 'error', message: res.msg }) |
|
|
|