Commit 38f72f65 by taojinrui

bug[#474]修改

parent d1db3a24
...@@ -162,6 +162,7 @@ ...@@ -162,6 +162,7 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/Event" import Event from "~/model/Brtset/Event"
...@@ -179,7 +180,8 @@ export default { ...@@ -179,7 +180,8 @@ export default {
created:function(){ created:function(){
this.executeRule("bopmod.dbap.basp").then((res) => { this.executeRule("bopmod.dbap.basp").then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data); //this.copyValueFromVO(res.data);
Utils.copyValueFromVO(this.model, res.data);
} }
}); });
} }
......
...@@ -17,12 +17,18 @@ ...@@ -17,12 +17,18 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="操作类型" prop="bopmod.dbdgrp.bas.actiontype"> <el-form-item label="操作类型" prop="bopmod.dbdgrp.bas.actiontype">
<c-input <c-select
placeholder="请选择操作类型" placeholder="请选择操作类型"
v-model="model.bopmod.dbdgrp.bas.actiontype" v-model="model.bopmod.dbdgrp.bas.actiontype"
disabled disabled
> >
</c-input> <el-option
v-for="item in codes.actiontype"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -81,7 +87,7 @@ ...@@ -81,7 +87,7 @@
</c-col> </c-col>
<c-col :span="3" :offset="1" style="text-align: right"> <c-col :span="3" :offset="1" style="text-align: right">
确认 确认
<c-checkbox v-model="temp" disabled></c-checkbox> <c-checkbox v-model="model.bopmod.dbdp.baspp" disabled></c-checkbox>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -132,7 +138,7 @@ ...@@ -132,7 +138,7 @@
<c-col :span="5" class="m-cur-select"> <c-col :span="5" class="m-cur-select">
<c-select style="width: 100%" placeholder="请选择金额币种" disabled> <c-select style="width: 100%" placeholder="请选择金额币种" disabled>
<el-option <el-option
v-for="item in data" v-for="item in codes.curtxt1"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -648,6 +654,7 @@ ...@@ -648,6 +654,7 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/Event" import Event from "~/model/Brtset/Event"
...@@ -665,7 +672,8 @@ export default { ...@@ -665,7 +672,8 @@ export default {
created:function(){ created:function(){
this.executeRule("bopmod.dbdp.basp").then((res) => { this.executeRule("bopmod.dbdp.basp").then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data); //this.copyValueFromVO(res.data);
Utils.copyValueFromVO(this.model, res.data);
} }
}); });
} }
......
...@@ -122,6 +122,7 @@ ...@@ -122,6 +122,7 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Cptati from "~/model/Cptati"; import Cptati from "~/model/Cptati";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
......
...@@ -135,6 +135,7 @@ ...@@ -135,6 +135,7 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/Event" import Event from "~/model/Brtset/Event"
...@@ -152,7 +153,7 @@ export default { ...@@ -152,7 +153,7 @@ export default {
created:function(){ created:function(){
this.executeRule("bopmod.dbbp.basp").then((res) => { this.executeRule("bopmod.dbbp.basp").then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data); Utils.copyValueFromVO(res.data);
} }
}); });
} }
......
...@@ -140,6 +140,7 @@ ...@@ -140,6 +140,7 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/Event" import Event from "~/model/Brtset/Event"
...@@ -157,7 +158,7 @@ export default { ...@@ -157,7 +158,7 @@ export default {
created:function(){ created:function(){
this.executeRule("bopmod.dbbp.basp").then((res) => { this.executeRule("bopmod.dbbp.basp").then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data); Utils.copyValueFromVO(res.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