Commit 1ae2f004 by fukai

修改

parent d1095966
......@@ -28,6 +28,7 @@ export default {
message: '保存成功',
type: 'success'
});
this.$history.push("/business/trnrel")
} else {
this.$notify({
title: '失败',
......@@ -39,6 +40,20 @@ export default {
async pedding(){
let result = await this.getVM().pedding()
console.log(result)
if (result.respCode == SUCCESS) {
this.$notify({
title: '成功',
message: '暂存成功',
type: 'success'
});
this.$history.push("/business/sptsel")
} else {
this.$notify({
title: '失败',
message: '暂存失败',
type: 'error'
});
}
},
async check(){
let result = await this.getVM().checkAll()
......@@ -63,7 +78,13 @@ export default {
}
},
exit(){
this.$history.push("/home")
this.$confirm('您有未保存的数据,确定退出吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(()=>{
this.$router.history.push("/business/office")
})
},
getVM(){
return this.$pntvm
......
<template>
<el-date-picker :id="id" :class="{'highlight': highlight}" v-model="model" v-bind="$attrs" v-on="$listeners" v-bind:disabled="isDisable" :value-format="valueFormat" :format="format"></el-date-picker>
<el-date-picker :id="id" :class="{'highlight': highlight}" v-model="model" v-bind="attrs" v-on="$listeners" v-bind:disabled="isDisable" :value-format="valueFormat" :format="format"></el-date-picker>
</template>
<script>
......@@ -44,6 +44,14 @@ export default {
},
highlight () {
return this.$store.state.Status.highlights.indexOf(this.id) !== -1
},
attrs(){
if(this.mode === 'display' || this.disabled)
{
let {placeholder,...rest} = this.$attrs
return rest
}
return this.$attrs
}
}
}
......
<template>
<el-input :id="id" ref="form-item" v-model="model" v-bind="$attrs" v-on="$listeners" v-bind:disabled="isDisable"/>
<el-input :id="id" ref="form-item" v-model="model" v-bind="attrs" v-on="$listeners" v-bind:disabled="isDisable"/>
</template>
<script>
......@@ -40,6 +40,14 @@ export default {
},
highlightChanges () {
return this.$store.state.Status.highlightChanges.indexOf(this.id) !== -1
},
attrs(){
if(this.mode === 'display' || this.disabled)
{
let {placeholder,...rest} = this.$attrs
return rest
}
return this.$attrs
}
}
}
......
<template>
<el-select
:id="id" v-model="model" v-bind="$attrs"
:id="id" v-model="model" v-bind="attrs"
v-on="$listeners" v-bind:disabled="isDisable" :clearable="clearable" @click.native="handleClick" >
<slot></slot>
</el-select>
......@@ -45,6 +45,15 @@ export default {
},
highlight () {
return this.$store.state.Status.highlights.indexOf(this.id) !== -1
},
attrs(){
if(this.mode === 'display' || this.disabled)
{
let {placeholder,...rest} = this.$attrs
rest = {placeholder:" ",...rest}
return rest
}
return this.$attrs
}
},
methods: {
......
......@@ -177,9 +177,16 @@ export default class Ditopn{
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
}
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
......
......@@ -60,7 +60,7 @@
</el-form-item>
</el-col>
<el-col :span="24" style="margin-bottom: 18px;">
<c-table style="text-align:center" :data="model.setmod.setfog.setfol" :paginationShow="false">
<c-table style="text-align:center" :list="model.setmod.setfog.setfol" :paginationShow="false">
<el-table-column label="Payer" prop="ptydbt" width="auto">
</el-table-column>
<el-table-column label="Payee" prop="ptypay" width="auto">
......@@ -87,7 +87,7 @@
</el-form-item>
</el-col>
<el-col :span="24" style="margin-bottom: 18px;">
<c-table style="text-align:center" :data="model.setmod.setfeg.setfel" :paginationShow="false">
<c-table style="text-align:center" :list="model.setmod.setfeg.setfel" :paginationShow="false">
<el-table-column label="Role" prop="rol" width="auto">
</el-table-column>
<el-table-column label="Code" prop="feecod" width="auto">
......@@ -115,7 +115,7 @@
</el-form-item>
</el-col>
<el-col :span="24" style="margin-bottom: 18px;">
<c-table style="text-align:center" :data="model.setmod.setglg.setgll" :paginationShow="false">
<c-table style="text-align:center" :list="model.setmod.setglg.setgll" :paginationShow="false">
<el-table-column label="Mod" prop="modflg" width="auto">
</el-table-column>
<el-table-column label="Role" prop="rol" width="auto">
......
......@@ -183,8 +183,11 @@ export default {
// console.log(0)
// }
// })
if(this.isInDisplay){
return
}
const label = vm.label
if (label === "务") {
if (label === "务") {
this.executeRule("setmod.setpan").then(res => {
const data = res.data;
Utils.copyValueFromVO(this.model, data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment