Commit 1ffc7f0e by zhengxiaokui

coninfp

parent 800aa84b
<template> <template>
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <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"
> >
<c-input <c-input
type="textarea" type="textarea"
v-model="model.mtabut.coninf.oitinf.oit.inftxt" :rows="6"
maxlength="60" @change="valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
:autosize="{ minRows: 4, maxRows: 6 }" v-model="model.mtabut.coninf.oitinf.oit.inftxt"
show-word-limit maxlength="60"
placeholder="请输入Infotext" resize="none"
></c-input> show-word-limit
</el-form-item> placeholder="请输入Infotext"
</c-col> ></c-input>
</c-col> </el-form-item>
<c-col :span="24"> </c-col>
<c-col :span="6"> <c-col :span="7" :offset="1">
<el-form-item <el-form-item
label="Display Type" label="Display Type"
prop="mtabut.coninf.oitinf.oit.inflev" prop="mtabut.coninf.oitinf.oit.inflev"
> >
<c-select <c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev" v-model="model.mtabut.coninf.oitinf.oit.inflev"
style="width: 100%" :disabled="model.mtabut.coninf.oitinf.oit.inftxt ? false : true"
disabled placeholder="请选择Infotext Level"
placeholder="请选择Infotext Level" :code="inflev"
> >
<el-option </c-select>
v-for="item in codes.inflev" </el-form-item>
:key="item.value" </c-col>
:label="item.label" </c-col>
:value="item.value" <c-col :span="24">
> <c-col :span="15">
</el-option> <el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
</c-select> <c-input
</el-form-item> type="textarea"
</c-col> :rows="6"
</c-col> @change="valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
<c-col :span="24"> maxlength="60"
<c-col :span="12"> resize="none"
<el-form-item show-word-limit
label="Settlement" placeholder="请输入Infotext"
prop="mtabut.coninf.oitset.oit.inftxt" ></c-input>
> </el-form-item>
<c-input </c-col>
type="textarea" <c-col :span="7" :offset="1">
v-model="model.mtabut.coninf.oitset.oit.inftxt" <el-form-item
maxlength="60" label="Display Type"
:autosize="{ minRows: 4, maxRows: 6 }" prop="mtabut.coninf.oitset.oit.inflev"
show-word-limit >
placeholder="请输入Infotext" <c-select
></c-input> v-model="model.mtabut.coninf.oitset.oit.inflev"
</el-form-item> :disabled="model.mtabut.coninf.oitset.oit.inftxt ? false : true"
</c-col> placeholder="请选择Infotext Level"
</c-col> :code="inflev"
<c-col :span="24"> >
<c-col :span="6"> </c-select>
<el-form-item </el-form-item>
label="Display Type" </c-col>
prop="mtabut.coninf.oitset.oit.inflev" </c-col>
> <c-col :span="11">
<c-select <el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
v-model="model.mtabut.coninf.oitset.oit.inflev" <el-date-picker
style="width: 100%" type="date"
disabled v-model="model.mtabut.coninf.conexedat"
placeholder="请选择Infotext Level" style="width: 50%"
> placeholder="请选择执行日期"
<el-option ></el-date-picker>
v-for="item in codes.inflev" </el-form-item>
:key="item.value" </c-col>
:label="item.label" <c-col :span="7" :offset="5">
:value="item.value" <el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey">
> <c-input
</el-option> v-model="model.mtabut.coninf.usr.extkey"
</c-select> maxlength="8"
</el-form-item> disabled="disabled"
</c-col> placeholder="请输入User ID"
</c-col> ></c-input>
</el-form-item>
<c-col :span="6"> </c-col>
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat"> </c-row>
<el-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 100%"
placeholder="请选择执行日期"
></el-date-picker>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align:right">
<el-form-item
label="Send for Release to"
prop="mtabut.coninf.usr.extkey"
label-width="140px"
>
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
style="width: 100%"
disabled="disabled"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-row>
</template> </template>
<script> <script>
// 附言页签,勿改
import _ from "~/utils/Lodash.js";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
return {}; return {
inflev: [
{ label: "Show", value: "$" },
{ label: "Do not show", value: "!" },
{ label: "Warn", value: "0" },
], //码表
};
},
methods: {
valueChange(event, type) {
if (!event) {
_.set(this.model, type, "");
}
}, },
methods: { ...Event }, },
created: function () {}, created: function () {},
}; };
</script> </script>
<style> <style>
</style> </style>
\ No newline at end of file
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