Commit 46934df2 by wangyanjiao

#287

parent 99a7bc5b
......@@ -79,7 +79,7 @@ export default {
"bodgrp.blk.resrej":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 700,message:"长度不能超过700"}
],
"bodgrp.blk.colins":[
......
......@@ -125,17 +125,21 @@
<c-checkbox v-model="clsflg" :disabled="model.rejtypsel != 'R'">Close Contract</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="21">
<c-col :span="24">
<el-form-item label="Reason for Non-Payment/Non-Acceptance" prop="bodgrp.blk.resrej">
<c-input type="textarea" :autosize="{ minRows: 5, maxRows: 20 }" v-model="model.bodgrp.blk.resrej"
maxlength="700" show-word-limit placeholder="请输入Reason for Non-Payment/Non-Acceptance"></c-input>
<c-fullbox>
<c-input type="textarea" :autosize="{ minRows: 5, maxRows: 20 }" v-model="model.bodgrp.blk.resrej" maxlength="700" show-word-limit
placeholder="请输入Reason for Non-Payment/Non-Acceptance">
</c-input>
<template slot="footer">
<c-button size="small" type="primary"
@click="showGridPromptDialog('botp.proins.buttxmsel',null,null,{TXT:'bodgrp.blk.resrej'},{TXT:false},'doxpDialog')">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onResrejButtxmsel">
...
</c-button>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
......@@ -212,18 +216,13 @@
</c-table>
</c-col> -->
<c-col>
<c-docpre
:model="model"
:argadr="{
<c-docpre :model="model" :argadr="{
path: 'bodgrp.blk.docpre',
grp: 'botp',
code: 'docpre',
}"
:disabledDocnam="model.rejtypsel != 'R'"
:disabledCmail2="model.rejtypsel != 'R'"
:disabledCmail1="model.rejtypsel != 'R'"
:ifShowAdd="model.rejtypsel == 'R'"
:ifShowDelete="model.rejtypsel == 'R'">
}" :disabledDocnam="model.rejtypsel != 'R'" :disabledCmail2="model.rejtypsel != 'R'"
:disabledCmail1="model.rejtypsel != 'R'" :ifShowAdd="model.rejtypsel == 'R'"
:ifShowDelete="model.rejtypsel == 'R'">
</c-docpre>
</c-col>
......@@ -237,49 +236,49 @@
</c-row>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdcr/Event"
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdcr/Event"
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default {
components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
computed: {
clsflg: {
get() {
return this.model.rejtypsel == "R";
},
set(val) {
this.model.mtabut.clsflg = val ? "C" : "O";
},
}
},
methods: {
...Event,
},
export default {
components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
computed: {
clsflg: {
get() {
return this.model.rejtypsel == "R";
},
set(val) {
this.model.mtabut.clsflg = val ? "C" : "O";
},
}
},
methods: {
...Event,
},
created: function () {
console.log(this.root);
created: function () {
console.log(this.root);
}
}
}
</script>
<style>
.messageLabel>>>.el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
.messageLabel>>>.el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
\ No newline at end of file
......@@ -65,6 +65,9 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="doxpDialog" :isPty="false" :promptData="promptData"
@select-ety="selectMsg">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
......
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