|
@@ -167,8 +167,8 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="price" label="收款金额" align="center"></el-table-column>
|
|
<el-table-column prop="price" label="收款金额" align="center"></el-table-column>
|
|
<el-table-column prop="" align="center" label="收款凭证" >
|
|
<el-table-column prop="" align="center" label="收款凭证" >
|
|
- <template slot-scope="scope">
|
|
|
|
- <el-image :src="scope.row.urlPrc" fit="scale-down"></el-image>
|
|
|
|
|
|
+ <template slot-scope="scope" v-if="scope.row.urlPrc">
|
|
|
|
+ <el-image style="width: 80px;" :src="scope.row.urlPrc" fit="scale-down" :preview-src-list="[scope.row.urlPrc]"></el-image>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="remark" label="备注" align="center"></el-table-column>
|
|
<el-table-column prop="remark" label="备注" align="center"></el-table-column>
|
|
@@ -222,7 +222,8 @@
|
|
},
|
|
},
|
|
rules1: {
|
|
rules1: {
|
|
price: [
|
|
price: [
|
|
- { required: true, message: '请输入收款金额', trigger: 'blur' }
|
|
|
|
|
|
+ { required: true, message: '请输入收款金额', trigger: 'blur' },
|
|
|
|
+ { pattern:/^[1-9]\d*$/, message: '请输入大于0的正整数', trigger: 'blur' }
|
|
],
|
|
],
|
|
fileUrl: [
|
|
fileUrl: [
|
|
{ required: true, message: '请上传收款凭证', trigger: 'change' }
|
|
{ required: true, message: '请上传收款凭证', trigger: 'change' }
|