会员项目字段修改 jupload修改
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<!-- 操作按钮区域 -->
|
||||
<div class="table-operator">
|
||||
<a-button @click="handleAdd" type="primary" icon="plus">添加</a-button>
|
||||
<a-button type="primary" icon="download" @click="handleExportXls('混淆表')">导出</a-button>
|
||||
<a-button type="primary" icon="download" @click="handleExportXls('会员项目')">导出</a-button>
|
||||
<a-button type="danger" icon="delete" @click="batchDel">批量删除</a-button>
|
||||
<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl"-->
|
||||
<!-- @change="handleImportExcel">-->
|
||||
@@ -107,7 +107,7 @@ export default {
|
||||
{
|
||||
title: '收费标准',
|
||||
align: "center",
|
||||
dataIndex: 'chargStandard',
|
||||
dataIndex: 'chargeStandard',
|
||||
|
||||
},
|
||||
{
|
||||
@@ -155,7 +155,7 @@ export default {
|
||||
<style scoped lang="less">
|
||||
@import '~@assets/less/common.less';
|
||||
.color_blue {
|
||||
color: dodgerblue;
|
||||
color: #069f99;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<label>负责人:</label><span>{{currentInfo.directorName}}</span>
|
||||
</a-col>
|
||||
<a-col :xl="5" :lg="4" :md="4" :sm="8">
|
||||
<label>收费标准:</label><span>{{currentInfo.chargStandard}}</span>
|
||||
<label>收费标准:</label><span>{{currentInfo.chargeStandard}}</span>
|
||||
</a-col>
|
||||
<a-col :xl="4" :lg="4" :md="4" :sm="8">
|
||||
<label>收费通知号:</label><span>{{currentInfo.chargeNoticeNo}}</span>
|
||||
@@ -234,7 +234,7 @@ export default {
|
||||
}
|
||||
|
||||
.color_blue {
|
||||
color: dodgerblue;
|
||||
color: #069f99;
|
||||
cursor: pointer;
|
||||
}
|
||||
.btn-arrow-left {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<a-form-item label="收费标准" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-input placeholder="请输入收费标准"
|
||||
:maxLength='50'
|
||||
v-decorator="[ 'chargStandard']"
|
||||
v-decorator="[ 'chargeStandard']"
|
||||
@change="(e) => {e.target.value = e.target.value.replace(/[^0-9.]/g,'')}"></a-input>
|
||||
<span class="yuan">元</span>
|
||||
</a-form-item>
|
||||
@@ -55,7 +55,7 @@
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="收费通知" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<j-upload file-type="pdf" file-type-error-message="请上传收费通知" :multiple="false" :number="1"
|
||||
<j-upload file-type="pdf" file-type-error-message="请上传收费通知" :multiple="false" :number="1" :return-id="true"
|
||||
bizPath="payment" v-decorator="['chargeNoticeFileId']"
|
||||
:trigger-change="true"></j-upload>
|
||||
</a-form-item>
|
||||
@@ -147,7 +147,7 @@ export default {
|
||||
this.model = Object.assign({}, record)
|
||||
this.visible = true
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue(pick(this.model, 'projectName', 'particularYear', 'chargeNoticeNo', 'chargeNoticeFileId','chargStandard','remark'))
|
||||
this.form.setFieldsValue(pick(this.model, 'projectName', 'particularYear', 'chargeNoticeNo','directorId', 'chargeNoticeFileId','chargeStandard','remark'))
|
||||
})
|
||||
},
|
||||
close() {
|
||||
@@ -166,7 +166,7 @@ export default {
|
||||
method = 'post'
|
||||
} else {
|
||||
httpurl += this.url.edit
|
||||
method = 'put'
|
||||
method = 'post'
|
||||
}
|
||||
const formData = Object.assign(this.model, values)
|
||||
console.log('表单提交数据', formData)
|
||||
|
||||
@@ -307,7 +307,6 @@ export default {
|
||||
* */
|
||||
addContacts() {
|
||||
if (this.selectedCompany.id) {
|
||||
debugger
|
||||
this.$refs.contactForm.add()
|
||||
this.$refs.contactForm.title = "新增";
|
||||
this.$refs.contactForm.disableSubmit = false;
|
||||
|
||||
Reference in New Issue
Block a user