Commit 4f91617e authored by 张伯涛's avatar 张伯涛

修改

parent c98325ee
...@@ -630,8 +630,8 @@ ...@@ -630,8 +630,8 @@
</div> </div>
<el-col :span="12" style="margin-top: 20px"> <el-col :span="12" style="margin-top: 20px">
<el-form-item <el-form-item
ref="TZXX.BILLDRAWERID"
v-if="$route.query.number === '28'" v-if="$route.query.number === '28'"
ref="TZXX.BILLDRAWERID"
label="票据出票人" label="票据出票人"
prop="TZXX.BILLDRAWERID" prop="TZXX.BILLDRAWERID"
:rules="[{ required: true, message: '票据出票人', trigger: 'change' }]" :rules="[{ required: true, message: '票据出票人', trigger: 'change' }]"
...@@ -1189,8 +1189,8 @@ ...@@ -1189,8 +1189,8 @@
<el-input v-model="form.JJXX.FUNDNAME" maxlength="150" placeholder="基金名称" /> <el-input v-model="form.JJXX.FUNDNAME" maxlength="150" placeholder="基金名称" />
</el-form-item> </el-form-item>
<el-form-item <el-form-item
label="基金是否托管"
ref="JJXX.ISTRUSTEESHIP" ref="JJXX.ISTRUSTEESHIP"
label="基金是否托管"
prop="JJXX.ISTRUSTEESHIP" prop="JJXX.ISTRUSTEESHIP"
> >
<el-radio-group v-if="$route.query.type === 'checkDetails'" v-model="form.JJXX.ISTRUSTEESHIP" :disabled="formType === 'examine'"> <el-radio-group v-if="$route.query.type === 'checkDetails'" v-model="form.JJXX.ISTRUSTEESHIP" :disabled="formType === 'examine'">
...@@ -1229,8 +1229,8 @@ ...@@ -1229,8 +1229,8 @@
<div v-if="$route.query.number === '26'"> <div v-if="$route.query.number === '26'">
<el-col :span="12"> <el-col :span="12">
<el-form-item <el-form-item
label="是否有约定保证金"
ref="TZXX.ISSFYBZJ" ref="TZXX.ISSFYBZJ"
label="是否有约定保证金"
prop="TZXX.ISSFYBZJ" prop="TZXX.ISSFYBZJ"
:rules="[{ required: true, message: '约定保证金', trigger: 'change' }]" :rules="[{ required: true, message: '约定保证金', trigger: 'change' }]"
> >
...@@ -1253,8 +1253,8 @@ ...@@ -1253,8 +1253,8 @@
</el-form-item> </el-form-item>
<el-form-item <el-form-item
ref="BZJXX[0].GUARANTYAMT"
v-if="form.TZXX.ISSFYBZJ === '1'" v-if="form.TZXX.ISSFYBZJ === '1'"
ref="BZJXX[0].GUARANTYAMT"
label="保证金金额" label="保证金金额"
prop="BZJXX[0].GUARANTYAMT" prop="BZJXX[0].GUARANTYAMT"
:rules="[ :rules="[
...@@ -3141,6 +3141,21 @@ export default { ...@@ -3141,6 +3141,21 @@ export default {
const list = { SJLYDWNAME, SJLYDWID } const list = { SJLYDWNAME, SJLYDWID }
this.SJLYList.push(list) this.SJLYList.push(list)
} }
for (let a = 0, b = this.form.FJXX.length; a < b; a++) {
delete this.form.FJXX[a].FROMID
delete this.form.FJXX[a].FILEID
// 生成新的uuid
let d = new Date().getTime()
if (window.performance && typeof window.performance.now === 'function') {
d += performance.now() // use high-precision timer if available
}
const uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
const r = (d + Math.random() * 16) % 16 | 0
d = Math.floor(d / 16)
return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
})
this.form.FJXX[a].BUSINESSID = uuid.replace(/-/g, '')
}
console.log('SJLYList', this.SJLYList) console.log('SJLYList', this.SJLYList)
if (this.$route.query.type === 'update') { if (this.$route.query.type === 'update') {
const FJXXList = { BUSINESSID: '', BUSITYPE: '合同签订文本扫描件', FILENAME: '', FILESAVENAME: '' } const FJXXList = { BUSINESSID: '', BUSITYPE: '合同签订文本扫描件', FILENAME: '', FILESAVENAME: '' }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment