Sptnegp.vue 7.27 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="请选择类型"
36
            :code="codes.sptrelstatus"
吴佳 committed
37 38 39 40 41 42 43 44
            disabled
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24" >
        <el-form-item
nanrui committed
45
            label="参考编号"
吴佳 committed
46 47 48 49 50
            prop="recpan.conget.selref"
          >
            <c-input
              v-model="model.recpan.conget.selref"
              maxlength="40"
nanrui committed
51
              placeholder="请输入参考编号"
吴佳 committed
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
               @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
67
						placeholder="请输入选定合同的名称"
吴佳 committed
68 69 70 71 72 73
					></c-input>
				</el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
nanrui committed
74
            label="父合同"
吴佳 committed
75 76 77 78 79
            prop="recpan.dpcget.selref"
          >
            <c-input
              v-model="model.recpan.dpcget.selref"
              maxlength="40"
nanrui committed
80
              placeholder="请输入父合同参考号"
吴佳 committed
81 82 83 84 85 86 87 88 89 90 91 92
            ></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
93
						placeholder="请输入父合同名称"
吴佳 committed
94 95 96 97 98
					></c-input>
				</el-form-item>
      </c-col>

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

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

			<c-col :span="12">
123
				<el-form-item label="创建时间" prop="spt.dattim"  label-width="80px">
吴佳 committed
124 125
					<c-input
						v-model="model.spt.dattim"
nanrui committed
126
						placeholder="请输入创建时间"
127
            disabled
吴佳 committed
128 129 130 131 132 133 134 135 136 137 138 139
					></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
140
        <el-form-item label="消息引用" prop="spt.objnam">
吴佳 committed
141 142 143
          <c-input
            v-model="model.spt.objnam"
            maxlength="40"
nanrui committed
144
            placeholder="请输入消息引用"
吴佳 committed
145 146 147 148 149 150
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

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

      <c-col :span="24">
        <c-col :span="12">
nanrui committed
163
          <el-form-item label="交易" prop="recpan.atp.cod">
吴佳 committed
164 165 166
            <c-input
              v-model="model.recpan.atp.cod"
              maxlength="6"
nanrui committed
167
              placeholder="请输入交易"
吴佳 committed
168 169 170 171 172 173 174
              @keyup.enter.native="
                showGridPromptDialog('recpan.atp.cod')
              "

            ></c-input>
          </el-form-item>
        </c-col>
175
        <!-- <c-col :span="12">
吴佳 committed
176 177 178 179 180 181 182
          <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>
183 184 185 186 187 188 189 190 191
        </c-col> -->
        <c-col :span="12">
          <el-form-item label="" prop="recpan.atptxt"  label-width="10px">
            <c-input
              v-model="model.recpan.atptxt"
              placeholder="请输入"
              disabled
            ></c-input>
          </el-form-item>
吴佳 committed
192 193 194 195 196 197 198 199 200
        </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
201
						placeholder="请选择虚拟机构"
202
            :code="getValues('spt.wrkgrp')"
吴佳 committed
203 204 205 206 207 208
					>
					</c-select>
				</el-form-item>
      </c-col>

      <c-col :span="24" >
nanrui committed
209
        <el-form-item label="消息文本" prop="spt.inftxt">
吴佳 committed
210 211 212 213 214
					<c-input
						type="textarea"
						v-model="model.spt.inftxt"
						maxlength="65"
						show-word-limit
nanrui committed
215
						placeholder="请输入消息文本"
吴佳 committed
216 217 218 219 220 221 222 223 224 225
						: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
226
						placeholder="请选择消息文本"
227
            :code="codes.infdsp"
吴佳 committed
228 229 230 231 232 233
					>
					</c-select>
				</el-form-item>
      </c-col>

      <c-col :span="24" >
nanrui committed
234
        <el-form-item label="in trn" prop="spt.cretrn">
吴佳 committed
235 236 237
					<c-input
						v-model="model.spt.cretrn"
						maxlength="6"
nanrui committed
238
						placeholder="请输入创建交易id"
239
            disabled
吴佳 committed
240 241 242 243 244 245 246 247
					></c-input>
				</el-form-item>
      </c-col>
    </c-col>




nanrui committed
248
   
潘际乾 committed
249 250 251
  </div>
</template>
<script>
潘际乾 committed
252
import Api from "~/service/Api";
wangren committed
253
import commonProcess from "~/mixin/commonProcess";
潘际乾 committed
254 255
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptrou/Event";
潘际乾 committed
256 257

export default {
潘际乾 committed
258 259
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
260
  mixins: [commonProcess],
潘际乾 committed
261
  data() {
吴佳 committed
262
    return {
263
      // sptWrkgrp: []
吴佳 committed
264
    };
潘际乾 committed
265
  },
吴佳 committed
266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
  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
292 293
  created: function () {},
};
潘际乾 committed
294 295 296
</script>
<style>
</style>