Commit 46934df2 by wangyanjiao

#287

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