Commit 990a6f64 by liuxin

coninfp附言调整

parent ba674982
...@@ -25,7 +25,6 @@ export default { ...@@ -25,7 +25,6 @@ export default {
onChange(){ onChange(){
if(this.model && this.model.rows){ if(this.model && this.model.rows){
this.model["rows"]=this.value.split("\n"); this.model["rows"]=this.value.split("\n");
console.log(this.model["rows"]);
this.$emit("change",this.value); this.$emit("change",this.value);
} }
} }
......
...@@ -5,14 +5,14 @@ export default class Mtabut { ...@@ -5,14 +5,14 @@ export default class Mtabut {
oitinf: { oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: { oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt inftxt: {}, // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
}, },
}, },
oitset: { oitset: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: { oit: {
inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt inftxt: {}, // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
}, },
}, },
......
...@@ -290,9 +290,9 @@ ...@@ -290,9 +290,9 @@
--> -->
<c-ptapdome <c-ptapdome
:disabledBankno="true" :disabledBankno="this.model.dedgrp.rec.lcrtyp == 'I'"
:disabledJigomc="true" :disabledJigomc="this.model.dedgrp.rec.lcrtyp == 'I'"
:disabledDizhii="true" :disabledDizhii="this.model.dedgrp.rec.lcrtyp == 'I'"
:model="model" :model="model"
:argadr="{ :argadr="{
title: '转让行', title: '转让行',
......
<template> <template>
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="15"> <c-col :span="15">
<el-form-item <el-form-item
style="height:200px;" style="height: 200px"
label="General" label="General"
prop="mtabut.coninf.oitinf.oit.inftxt" prop="mtabut.coninf.oitinf.oit.inftxt"
> >
<i-stream-input <i-stream-input
type="textarea" type="textarea"
rows="6" rows="6"
maxlength="60" maxlength="60"
resize="none" resize="none"
show-word-limit show-word-limit
placeholder="请输入Infotext" placeholder="请输入Infotext"
@change="valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')" @change="
:model="model.mtabut.coninf.oitinf.oit.inftxt" valueChange(
></i-stream-input> $event,
</el-form-item> 'mtabut.coninf.oitinf.oit.inflev'
</c-col> )
<c-col :span="7" :offset="1"> "
<el-form-item :model="model.mtabut.coninf.oitinf.oit.inftxt"
label="Display Type" ></i-stream-input>
prop="mtabut.coninf.oitinf.oit.inflev" </el-form-item>
> </c-col>
<c-select <c-col :span="7" :offset="1">
v-model="model.mtabut.coninf.oitinf.oit.inflev" <el-form-item
:disabled="model.mtabut.coninf.oitinf.oit.inftxt ? false : true" label="Display Type"
placeholder="请选择Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev"
style="width: 100%" >
:code="inflev" <c-select
> v-model="model.mtabut.coninf.oitinf.oit.inflev"
</c-select> :disabled="GeneralIsEmpty"
</el-form-item> placeholder="请选择Infotext Level"
</c-col> style="width: 100%"
</c-col> :code="inflev"
<c-col :span="24"> >
<c-col :span="15"> </c-select>
<el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt"> </el-form-item>
<i-stream-input </c-col>
type="textarea" </c-col>
rows="6" <c-col :span="24">
maxlength="60" <c-col :span="15">
resize="none" <el-form-item
show-word-limit label="Settlement"
placeholder="请输入Infotext" prop="mtabut.coninf.oitset.oit.inftxt"
@change="valueChange($event, 'mtabut.coninf.oitset.oit.inflev')" >
:model="model.mtabut.coninf.oitset.oit.inftxt" <i-stream-input
></i-stream-input> type="textarea"
</el-form-item> rows="6"
</c-col> maxlength="60"
<c-col :span="7" :offset="1"> resize="none"
<el-form-item show-word-limit
label="Display Type" placeholder="请输入Infotext"
prop="mtabut.coninf.oitset.oit.inflev" @change="
> valueChange(
<c-select $event,
v-model="model.mtabut.coninf.oitset.oit.inflev" 'mtabut.coninf.oitset.oit.inflev'
:disabled="model.mtabut.coninf.oitset.oit.inftxt ? false : true" )
placeholder="请选择Infotext Level" "
style="width: 100%" :model="model.mtabut.coninf.oitset.oit.inftxt"
:code="inflev" ></i-stream-input>
> </el-form-item>
</c-select> </c-col>
</el-form-item> <c-col :span="7" :offset="1">
</c-col> <el-form-item
</c-col> label="Display Type"
<c-col :span="24"> prop="mtabut.coninf.oitset.oit.inflev"
<c-col :span="15"> >
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat"> <c-select
<c-date-picker v-model="model.mtabut.coninf.oitset.oit.inflev"
type="date" :disabled="SettlementIsEmpty"
v-model="model.mtabut.coninf.conexedat" placeholder="请选择Infotext Level"
style="width: 100%" style="width: 100%"
placeholder="请选择执行日期" :code="inflev"
></c-date-picker> >
</el-form-item> </c-select>
</c-col> </el-form-item>
<c-col :span="7" :offset="1"> </c-col>
<el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey"> </c-col>
<c-input <c-col :span="24">
v-model="model.mtabut.coninf.usr.extkey" <c-col :span="15">
maxlength="8" <el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
disabled="disabled" <c-date-picker
placeholder="请输入User ID" type="date"
></c-input> v-model="model.mtabut.coninf.conexedat"
</el-form-item> style="width: 100%"
</c-col> placeholder="请选择执行日期"
</c-col> ></c-date-picker>
</c-row> </el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="Send for Release to"
prop="mtabut.coninf.usr.extkey"
>
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
disabled="disabled"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</template> </template>
<script> <script>
// 附言页签,勿改 // 附言页签,勿改
import _ from "~/utils/Lodash.js"; import _ from "~/utils/Lodash.js";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import IStreamInput from '~/components/IStreamInput' import IStreamInput from "~/components/IStreamInput";
export default { export default {
components: {IStreamInput}, components: { IStreamInput },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
inflev: [ inflev: [
{ label: "Show", value: "$" }, { label: "Show", value: "$" },
{ label: "Do not show", value: "!" }, { label: "Do not show", value: "!" },
{ label: "Warn", value: "0" }, { label: "Warn", value: "0" },
], //码表 ], //码表
}; test:"",
}, };
methods: {
valueChange(event, type) {
if (!event) {
_.set(this.model, type, "");
}
}, },
}, methods: {
created: function () {}, valueChange(event, type) {
if (!event) {
_.set(this.model, type, "");
}
},
},
computed: {
GeneralIsEmpty: {
get() {
var temp = this.model.mtabut.coninf.oitinf.oit.inftxt.rows;
if(temp != null){
for(let i = 0; i < temp.length; i++){
if(temp[i].trim() > 0){
return false;
}
}
}
return true;
},
},
SettlementIsEmpty: {
get() {
var temp = this.model.mtabut.coninf.oitset.oit.inftxt.rows;
if(temp != null){
for(let i = 0; i < temp.length; i++){
if(temp[i].trim() > 0){
return false;
}
}
}
return true;
},
},
},
created: function () {},
}; };
</script> </script>
<style> <style>
......
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