瀏覽代碼

bug修改

master
yangpeilai 6 天之前
父節點
當前提交
e5ebd035ff
共有 1 個檔案被更改,包括 15 行新增8 行删除
  1. 15
    8
      src/views/system/agency/index.vue

+ 15
- 8
src/views/system/agency/index.vue 查看文件

@@ -33,30 +33,33 @@
<el-table-column label="协议名称">
<template v-slot="scope">
<div class="input-wrap">
<el-form-item prop="agreementName">
<el-input size="small" maxlength="60" v-trim clearable v-model="scope.row.agreementName"
<el-form-item v-if="typeOption!=='info'" prop="agreementName">
<el-input size="small" maxlength="60" v-trim clearable v-model="scope.row.agreementName"
placeholder="协议名称" :disabled="typeOption==='info'" ></el-input>
</el-form-item>
<span v-else>{{scope.row.agreementName}}</span>
</div>
</template>
</el-table-column>
<el-table-column label="协议编号">
<template v-slot="scope">
<div class="input-wrap">
<el-form-item prop="agreementId">
<el-form-item v-if="typeOption!=='info'" prop="agreementId">
<el-input size="small" maxlength="60" v-trim clearable v-model="scope.row.agreementId"
placeholder="协议编号" :disabled="typeOption==='info'"></el-input>
</el-form-item>
<span v-else>{{scope.row.agreementId}}</span>
</div>
</template>
</el-table-column>
<el-table-column label="有效期">
<template v-slot="scope">
<div class="input-wrap">
<el-form-item prop="termOfValidity">
<el-form-item v-if="typeOption!=='info'" prop="termOfValidity">
<el-date-picker size="small" maxlength="60" v-trim clearable v-model="scope.row.termOfValidity"
placeholder="有效期" value-format="YYYY-MM-DD" :disabled="typeOption==='info'"></el-date-picker>
</el-form-item>
<span v-else>{{scope.row.termOfValidity}}</span>
</div>
</template>
</el-table-column>
@@ -75,30 +78,33 @@
<el-table-column label="对公账户">
<template v-slot="scope">
<div class="input-wrap">
<el-form-item prop="corporateAccount">
<el-form-item v-if="typeOption!=='info'" prop="corporateAccount">
<el-input size="small" maxlength="60" v-trim clearable v-model="scope.row.corporateAccount"
placeholder="对公账户" :disabled="typeOption==='info'"></el-input>
</el-form-item>
<span v-else>{{scope.row.corporateAccount}}</span>
</div>
</template>
</el-table-column>
<el-table-column label="商户号">
<template v-slot="scope">
<div class="input-wrap">
<el-form-item prop="merchantId">
<el-form-item v-if="typeOption!=='info'" prop="merchantId">
<el-input size="small" maxlength="60" v-trim clearable v-model="scope.row.merchantId"
placeholder="商户号" :disabled="typeOption==='info'"></el-input>
</el-form-item>
<span v-else>{{scope.row.merchantId}}</span>
</div>
</template>
</el-table-column>
<el-table-column label="开户行">
<template v-slot="scope">
<div class="input-wrap">
<el-form-item prop="openingBank">
<el-form-item v-if="typeOption!=='info'" prop="openingBank">
<el-input size="small" maxlength="60" v-trim clearable v-model="scope.row.openingBank"
placeholder="开户行" :disabled="typeOption==='info'"></el-input>
</el-form-item>
<span v-else>{{scope.row.openingBank}}</span>
</div>
</template>
</el-table-column>
@@ -397,7 +403,7 @@ const field = ref({
}
}, {
hide: true,
prop: "taxPayerCode",
prop: "taxPayercode",
label: "纳税人识别号",
form: {
width: '45%',
@@ -700,6 +706,7 @@ function submitClick(data: any) {
if (typeOption.value === 'edit') {
api = '/userw/agency/agencyupdate';
}
// console.log("===>data",data)
BaseService.postN(api, data).then((res: any) => {
if (res && res.code === 0) {
ElMessage.success("操作成功");

Loading…
取消
儲存