Commit fd1fe244 by 王志慧

fixed

1 parent 6304d75e
......@@ -6,7 +6,7 @@
<div class="explanation-list">
<label class="label" for="">{{ `说明${idx + 1}:` }}</label>
<el-input :disabled="isCheck || isDisabled || item.operation == 1" :placeholder="`请输入说明${idx + 1}`" v-model="item.content" maxlength="200" type="textarea" :rows="3"></el-input>
<i class="el-icon-delete del" v-if="!isCheck && supplementListTemp.length > 1&&item.operation!=1" @click="handleDel(idx)"></i>
<i class="el-icon-delete del" v-if="!isCheck && supplementListTemp.length > 1 && item.operation != 1" @click="handleDel(idx)"></i>
<div class="follow-list" @click="showFollow">跟进记录</div>
</div>
<div class="operator">
......@@ -89,11 +89,16 @@ export default {
},
watch:{
supplementList(val){
this.supplementListTemp = val
supplementList:{
deep:true,
handler(val){
this.supplementListTemp = val
val.forEach(item=>{
item.operationTime = dayjs( item.operationTime).format('YYYY-MM-DD HH:mm:ss')
})
},
immediate:true
}
},
methods: {
......
......@@ -18,7 +18,6 @@
</el-tabs>
</div>
</template>
<!-- 底部按钮 -->
<div v-if="pageType != 2 && activeName != 'second'" class="btn-box">
<el-button plain class="btn-three" @click="toBackList">取消</el-button>
......@@ -136,6 +135,7 @@ export default {
maxlength: 200
}
],
isSave:true,
testServiceList: [],
insuranceAttachmentConfigs: [],
itemList: [],
......@@ -285,7 +285,9 @@ export default {
if (res.bankAccountDTO) {
this.accountForm = res.bankAccountDTO
}
console.log(this.repotData,'----------------')
})
},
// 处理查看状态下数据展示
handlerWatch(obj, type) {
......@@ -382,6 +384,7 @@ export default {
},
// 通过订单
toPassOrder() {
this.isSave =false
if (this.orderMsg.status == 12 || this.orderMsg.status == 2) {
const isPass = this.verifyImages(this.claimsAttachmentConfigs)
if (!isPass) {
......@@ -580,7 +583,7 @@ export default {
[claimsId]: this.orderMsg.id,
[content]: item.content,
[suppType]: item.suppType,
[operation]:1
[operation]:this.isSave&&!item.id?0:1
}
Object.assign(obj, temp)
})
......@@ -596,7 +599,8 @@ export default {
[claimsId]: this.orderMsg.id,
[content]: item.content,
[suppType]: item.suppType,
[operation]:1
[operation]:this.isSave&&!item.id?0:1
}
Object.assign(obj, temp)
})
......@@ -763,6 +767,7 @@ export default {
},
// 保存订单
toSaveOrder() {
this.isSave =true
let para = this.savePara()
const name = this.orderMsg.status == 12 || this.orderMsg.status == 2 ? 'saveClaimsCG' : 'saveCG'
let loading = this.createLoading()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!