Infsea.vue 9.2 KB
Newer Older
wangren committed
1 2
<template>
  <div class="eibs-tab">
3
    <c-content>
wangren committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
        <!-- ----------左 ---------->
        <c-col :span="11">
          <c-col :span="24">
            <el-form-item label=" Name" prop="ptysea.nam">
              <c-input
                v-model="model.ptysea.nam"
                placeholder="请输入External Visible Name"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Street" prop="adrsea.str1">
              <c-input
                v-model="model.adrsea.str1"
                maxlength="35"
                placeholder="请输入Street/SWIFT Line 3"
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="City" prop="adrsea.loctxt">
              <c-input
                v-model="model.adrsea.loctxt"
                maxlength="25"
                placeholder="请输入Textpart of City/Second Part of SWIFT Line 4"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="客户类别" prop="persontype">
              <c-select
                v-model="model.persontype"
                style="width: 100%"
                placeholder="请选择客户类别"
                :code="codes.persontype"
              >
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="支行行号" prop="zhbchinr">
              <c-select
                v-model="model.zhbchinr"
                style="width: 100%"
                placeholder="请选择支行行号"
                :code="codes.zhbchinr"
              >
              </c-select>
            </el-form-item>
          </c-col>
        </c-col>
        <!------------- 右 ---------->
wangren committed
58
        <c-col :span="12" :offset="1">
wangren committed
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
          <c-col :span="24">
            <el-form-item label="Party No." prop="ptysea.extkey">
              <c-input
                v-model="model.ptysea.extkey"
                maxlength="24"
                placeholder="请输入Party No."
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="BIC " prop="adrsea.bic">
              <c-input
                v-model="model.adrsea.bic"
                maxlength="11"
                placeholder="请输入BIC "
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="ZIP Code" prop="adrsea.loczip">
              <c-input
                v-model="model.adrsea.loczip"
                maxlength="10"
                placeholder="请输入ZIP Code"
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="交易主体" prop="jyzt">
              <c-select
                v-model="model.jyzt"
                style="width: 100%"
                placeholder="请选择交易主体"
                :code="codes.jyzt"
              >
              </c-select>
            </el-form-item>

            <c-col :span="24">
              <el-form-item label="统一社会信用代码" prop="shxydm">
                <c-input
                  v-model="model.shxydm"
                  maxlength="18"
                  placeholder="请输入统一社会信用代码"
                ></c-input>
              </el-form-item>
            </c-col>
          </c-col>
        </c-col>
wangren committed
111 112 113 114 115 116 117 118 119 120 121
      
      <c-col :span="24">
        <el-form-item label="Type">
          <el-radio-group v-model="radio">
            <el-radio :label="0" v-model="model.seatypb">Bank</el-radio>
            <el-radio :label="1" v-model="model.seatypc">Client</el-radio>
            <el-radio :label="2" v-model="model.seatypa">Own Address</el-radio>
            <el-radio :label="3" v-model="model.seatypo">Other</el-radio>
            <el-radio :label="4" v-model="model.seatyph">海关</el-radio>
          </el-radio-group>
        </el-form-item>
wangren committed
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
      </c-col>
      <c-col :span="24" style="text-align: right; height: 36.8px">
        <!--原生重置按钮 <c-col :span="12">
      <c-button size="small" type="primary" @click="onInfbutClr">
        重置
      </c-button>
    </c-col> -->
        <el-button size="small" @click="onInfbutClr">重置</el-button>
        <!--原生查询按钮  <c-col :span="12">
        <c-button size="small" type="primary"  @click="onInfbutSearow">
            &Search
        </c-button>
       </c-col> -->
        <el-button
          type="primary"
          icon="el-icon-search"
          size="small"
          @click="onInfbutSearow"
          >查询
        </el-button>
      </c-col>

      <c-col :span="24">
        <div style="border-bottom: 10px solid rgb(232, 232, 232)"></div>
      </c-col>

      <c-col :span="24" style="margin-top: 10px">
        <c-button
          size="small"
          type="primary"
          @click="onExcel"
153
          style="float: right"
wangren committed
154 155 156 157 158
        >
          导出Excel
        </c-button>
      </c-col>
      <c-col :span="24" >
wangren committed
159 160 161
        <c-istream-table 
        :list="stmData.data" 
        :columns="stmData.columns"
wangren committed
162
        :showButtonFlg="true">
wangren committed
163 164
          <c-table-column fixed="right" prop="op" label="操作" width="165px">
            
wangren committed
165 166 167 168
            <template slot-scope="{ scope }">
              <c-button
                style="margin-left: 0"
                size="small"
wangren committed
169
                @click="onInfbutDsp(scope.$index, scope.row)"
wangren committed
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
              >
                详情
              </c-button>
              <c-button
                style="margin-left: 0"
                size="small"
                type="primary"
                @click="continueEdit(scope.row)"
              >
                处理
              </c-button>
              <el-popover placement="top-start" width="50" trigger="click">
                <ul class="table-button-item-list">
                  <li>
                    <c-button size="small" style="margin-left: 0"
                      >指派</c-button
                    >
                  </li>
                  <li>
                    <c-button size="small" style="margin-left: 0"
                      >删除</c-button
                    >
                  </li>
                </ul>
                <a
                  slot="reference"
                  href="javascript:void(0)"
                  style="margin-left: 5px"
                  ><i class="el-icon-more"></i
                ></a>
              </el-popover>
            </template>
wangren committed
202
          </c-table-column>
wangren committed
203 204
        </c-istream-table>
      </c-col>
205
    </c-content>
wangren committed
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252
      <!-- <c-col :span="12">
      <c-button size="small" type="primary" @click="onInfbutDsp">
        Display
      </c-button>
    </c-col> -->

      <!-- <c-col :span="12">
      <c-button size="small" type="primary" @click="onInfbutUserow">
        Use
      </c-button>
    </c-col> -->

      <!-- <c-col :span="12">
      <c-button size="small" type="primary" @click="onInfbutButprt">
        导Excel
      </c-button>
    </c-col> -->

      <!-- <c-col :span="12">
      <el-form-item label="display stream" prop="infbut.dspstm">
        <c-input
          v-model="model.infbut.dspstm"
          placeholder="请输入display stream"
        ></c-input>
      </el-form-item>
    </c-col> -->

      <!-- <c-col :span="12">
      <c-button size="small" type="primary" @click="onInfbutExi">
        Exit
      </c-button>
    </c-col> -->
      <!-- <c-col :span="8">
          <c-checkbox v-model="model.seatyph">海关</c-checkbox>
        </c-col> -->
      <!-- <c-col :span="8">
            <c-checkbox v-model="model.seatypo">Other</c-checkbox>
          </c-col> -->
      <!-- <c-col :span="8">
            <c-checkbox v-model="model.seatypa">Own Address</c-checkbox>
          </c-col> -->
      <!-- <c-col :span="8">
            <c-checkbox v-model="model.seatypb">Bank</c-checkbox>
          </c-col> -->
      <!-- <c-col :span="8">
            <c-checkbox v-model="model.seatypc">Client</c-checkbox>
          </c-col> -->
wangren committed
253
    
wangren committed
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infpty/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      initdialog: false,
      radio: 1,
      stmData: {
        columns: [
          '1 1 "客户号" 98 ',
          '8 2 "中文名称" 150 ',
          '2 3 "Name" 198 ',
          '9 4 "客户类别" 98 1 0 1 KEHULB',
          '3 5 "Street" 200 ',
          '10 6 "支行名称" 98 ',
          '4 7 "ZIP" 98  ',
          '11 8 "支行行号" 200 ',
          '5 9 "City" 120',
          '12 10 "组织机构代码" 98',
          '6 11 "BIC" 70',
          '13 12 "统一社会信用代码" 200',
          '7 13 "交易主体" 98  1 0 1 TRNMAN',
        ],
        data: [],
      },
    };
  },
wangren committed
290
  methods: {...Event},
wangren committed
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306
  created: function () {},
};
</script>
<style scoped>
.table-button-item-list {
  padding: 0;
  margin: 0;
}
.table-button-item-list li {
  list-style: none;
  padding: 5px 0;
  text-align: center;
  color: #606266;
  cursor: pointer;
}
</style>