Sptnegp.vue 6.83 KB
Newer Older
潘际乾 committed
1 2
<template>
  <div class="eibs-tab">
吴佳 committed
3 4 5 6

    <!-- ========================左边======================= -->
    <c-col :span="12">
      <c-col :span="24" style="margin-top: 0">
nanrui committed
7
        <el-form-item label="文件路径" prop="recpan.filpth">
吴佳 committed
8 9 10
          <c-input
            v-model="model.recpan.filpth"
            maxlength="80"
nanrui committed
11
            placeholder="请输入文件路径"
吴佳 committed
12 13 14 15 16 17 18
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      
      <c-col :span="24">
nanrui committed
19
          <el-form-item label="文件名" prop="recpan.filnam">
吴佳 committed
20 21 22
            <c-select
              v-model="model.recpan.filnam"
              style="width: 100%"
nanrui committed
23
              placeholder="请选择文件名"
吴佳 committed
24 25 26 27 28 29 30
              disabled
            >
            </c-select>
          </el-form-item>
      </c-col>

      <c-col :span="24" >
nanrui committed
31
        <el-form-item label="类型" prop="spt.sta">
吴佳 committed
32 33 34
          <c-select
            v-model="model.spt.sta"
            style="width: 100%"
nanrui committed
35
            placeholder="请选择类型"
吴佳 committed
36 37 38 39 40 41 42 43
            disabled
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24" >
        <el-form-item
nanrui committed
44
            label="参考编号"
吴佳 committed
45 46 47 48 49
            prop="recpan.conget.selref"
          >
            <c-input
              v-model="model.recpan.conget.selref"
              maxlength="40"
nanrui committed
50
              placeholder="请输入参考编号"
吴佳 committed
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
               @keyup.enter.native="
                updateSelref
              "
            ></c-input>
          </el-form-item>
      </c-col>

      <c-col :span="24" >
        <el-form-item
					label=""
					prop="recpan.conget.selnam"
				>
					<c-input
						v-model="model.recpan.conget.selnam"
						maxlength="40"
nanrui committed
66
						placeholder="请输入选定合同的名称"
吴佳 committed
67 68 69 70 71 72
					></c-input>
				</el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
nanrui committed
73
            label="父合同"
吴佳 committed
74 75 76 77 78
            prop="recpan.dpcget.selref"
          >
            <c-input
              v-model="model.recpan.dpcget.selref"
              maxlength="40"
nanrui committed
79
              placeholder="请输入父合同参考号"
吴佳 committed
80 81 82 83 84 85 86 87 88 89 90 91
            ></c-input>
          </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
					label=""
					prop="recpan.dpcget.selnam"
				>
					<c-input
						v-model="model.recpan.dpcget.selnam"
						maxlength="40"
nanrui committed
92
						placeholder="请输入父合同名称"
吴佳 committed
93 94 95 96 97
					></c-input>
				</el-form-item>
      </c-col>

      <c-col :span="24">
nanrui committed
98
        <el-form-item label="工作用户" prop="spt.wrkusr">
吴佳 committed
99 100 101
          <c-select
            v-model="model.spt.wrkusr"
            style="width: 100%"
nanrui committed
102
            placeholder="请选择工作用户"
吴佳 committed
103 104 105 106 107 108 109 110
          >
          </c-select>
        </el-form-item>
      </c-col>
      

      <c-col :span="24" >
        <c-col :span="12">
nanrui committed
111
				<el-form-item label="经办柜员" prop="spt.usr">
吴佳 committed
112 113 114
					<c-input
						v-model="model.spt.usr"
						maxlength="8"
nanrui committed
115
						placeholder="请输入经办柜员"
吴佳 committed
116 117 118 119 120
					></c-input>
				</el-form-item>
			</c-col>

			<c-col :span="12">
nanrui committed
121
				<el-form-item label="创建时间" prop="spt.dattim"  label-width="60px">
吴佳 committed
122 123
					<c-input
						v-model="model.spt.dattim"
nanrui committed
124
						placeholder="请输入创建时间"
吴佳 committed
125 126 127 128 129 130 131 132 133 134 135 136
					></c-input>
				</el-form-item>
			</c-col>
      </c-col>

    </c-col>


    <!-- ========================右边======================= -->
    <c-col :span="12" >

      <c-col :span="24" style="margin-top: 0">
nanrui committed
137
        <el-form-item label="消息引用" prop="spt.objnam">
吴佳 committed
138 139 140
          <c-input
            v-model="model.spt.objnam"
            maxlength="40"
nanrui committed
141
            placeholder="请输入消息引用"
吴佳 committed
142 143 144 145 146 147
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
nanrui committed
148
        <el-form-item label="交易关键字名称" prop="spt.txt">
吴佳 committed
149 150 151
          <c-input
            v-model="model.spt.txt"
            maxlength="40"
nanrui committed
152
            placeholder="请输入交易关键字名称"
吴佳 committed
153 154 155 156 157 158 159
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
nanrui committed
160
          <el-form-item label="交易" prop="recpan.atp.cod">
吴佳 committed
161 162 163
            <c-input
              v-model="model.recpan.atp.cod"
              maxlength="6"
nanrui committed
164
              placeholder="请输入交易"
吴佳 committed
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
              @keyup.enter.native="
                showGridPromptDialog('recpan.atp.cod')
              "

            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="" prop="recpan.atpget.sdamod.seainf"  label-width="10px">
            <c-input
              v-model="model.recpan.atpget.sdamod.seainf"
              placeholder="请输入"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>


      <c-col :span="24" >
        <el-form-item label="虚拟机构" prop="spt.wrkgrp">
					<c-select
						v-model="model.spt.wrkgrp"
						style="width: 100%"
nanrui committed
189
						placeholder="请选择虚拟机构"
190
            :code="sptWrkgrp"
吴佳 committed
191 192 193 194 195 196
					>
					</c-select>
				</el-form-item>
      </c-col>

      <c-col :span="24" >
nanrui committed
197
        <el-form-item label="消息文本" prop="spt.inftxt">
吴佳 committed
198 199 200 201 202
					<c-input
						type="textarea"
						v-model="model.spt.inftxt"
						maxlength="65"
						show-word-limit
nanrui committed
203
						placeholder="请输入消息文本"
吴佳 committed
204 205 206 207 208 209 210 211 212 213
						:rows="4"
					></c-input>
				</el-form-item>
      </c-col>

      <c-col :span="24" >
        <el-form-item label="" prop="spt.infdsp">
					<c-select
						v-model="model.spt.infdsp"
						style="width: 100%"
nanrui committed
214
						placeholder="请选择消息文本"
吴佳 committed
215 216 217 218 219 220
					>
					</c-select>
				</el-form-item>
      </c-col>

      <c-col :span="24" >
nanrui committed
221
        <el-form-item label="in trn" prop="spt.cretrn">
吴佳 committed
222 223 224
					<c-input
						v-model="model.spt.cretrn"
						maxlength="6"
nanrui committed
225
						placeholder="请输入创建交易id"
吴佳 committed
226 227 228 229 230 231 232 233
					></c-input>
				</el-form-item>
      </c-col>
    </c-col>




nanrui committed
234
   
潘际乾 committed
235 236 237
  </div>
</template>
<script>
潘际乾 committed
238
import Api from "~/service/Api";
wangren committed
239
import commonProcess from "~/mixin/commonProcess";
潘际乾 committed
240 241
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptrou/Event";
潘际乾 committed
242 243

export default {
潘际乾 committed
244 245
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
246
  mixins: [commonProcess],
潘际乾 committed
247
  data() {
吴佳 committed
248
    return {
249
      sptWrkgrp: []
吴佳 committed
250
    };
潘际乾 committed
251
  },
吴佳 committed
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
  methods: { ...Event,
      async updateSelref(){
        let rtnmsg = await this.executeRule("recpan.conget.selref")
        if(rtnmsg.respCode == SUCCESS)
        {
          this.updateModel(rtnmsg.data);

        }
        else
        {
            this.$notify.error({title: '错误',message: '服务请求失败!'});
        }
      },
      async updateCretrn(){
        let rtnmsg = await this.executeRule("recpan.atp.cod")
        if(rtnmsg.respCode == SUCCESS)
        {
          this.updateModel(rtnmsg.data);

        }
        else
        {
            this.$notify.error({title: '错误',message: '服务请求失败!'});
        }
      },
   },
潘际乾 committed
278 279
  created: function () {},
};
潘际乾 committed
280 281 282
</script>
<style>
</style>