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"
...@@ -9,101 +9,76 @@ ...@@ -9,101 +9,76 @@
> >
<c-input <c-input
type="textarea" type="textarea"
:rows="6"
@change="valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
v-model="model.mtabut.coninf.oitinf.oit.inftxt" v-model="model.mtabut.coninf.oitinf.oit.inftxt"
maxlength="60" maxlength="60"
:autosize="{ minRows: 4, maxRows: 6 }" resize="none"
show-word-limit show-word-limit
placeholder="请输入Infotext" placeholder="请输入Infotext"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> <c-col :span="7" :offset="1">
<c-col :span="24">
<c-col :span="6">
<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
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="15">
<el-form-item <el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
label="Settlement"
prop="mtabut.coninf.oitset.oit.inftxt"
>
<c-input <c-input
type="textarea" type="textarea"
:rows="6"
@change="valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
v-model="model.mtabut.coninf.oitset.oit.inftxt" v-model="model.mtabut.coninf.oitset.oit.inftxt"
maxlength="60" maxlength="60"
:autosize="{ minRows: 4, maxRows: 6 }" resize="none"
show-word-limit show-word-limit
placeholder="请输入Infotext" placeholder="请输入Infotext"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> <c-col :span="7" :offset="1">
<c-col :span="24">
<c-col :span="6">
<el-form-item <el-form-item
label="Display Type" label="Display Type"
prop="mtabut.coninf.oitset.oit.inflev" prop="mtabut.coninf.oitset.oit.inflev"
> >
<c-select <c-select
v-model="model.mtabut.coninf.oitset.oit.inflev" v-model="model.mtabut.coninf.oitset.oit.inflev"
style="width: 100%" :disabled="model.mtabut.coninf.oitset.oit.inftxt ? false : true"
disabled
placeholder="请选择Infotext Level" placeholder="请选择Infotext Level"
:code="inflev"
> >
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11">
<c-col :span="6">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat"> <el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<el-date-picker <el-date-picker
type="date" type="date"
v-model="model.mtabut.coninf.conexedat" v-model="model.mtabut.coninf.conexedat"
style="width: 100%" style="width: 50%"
placeholder="请选择执行日期" placeholder="请选择执行日期"
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7" :offset="5">
<c-col :span="6" style="text-align:right"> <el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey">
<el-form-item
label="Send for Release to"
prop="mtabut.coninf.usr.extkey"
label-width="140px"
>
<c-input <c-input
v-model="model.mtabut.coninf.usr.extkey" v-model="model.mtabut.coninf.usr.extkey"
maxlength="8" maxlength="8"
style="width: 100%"
disabled="disabled" disabled="disabled"
placeholder="请输入User ID" placeholder="请输入User ID"
></c-input> ></c-input>
...@@ -112,17 +87,29 @@ ...@@ -112,17 +87,29 @@
</c-row> </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>
......
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