|
@@ -7,7 +7,7 @@
|
|
|
<div style="margin-left: 20px;margin-right: 20px">
|
|
|
<!-- 工作流 -->
|
|
|
<div v-show="dataForm.workFlowBusinessExt">
|
|
|
- <el-steps :active="dataForm.workFlowBusinessExt?dataForm.workFlowBusinessExt.workFlowProcessStepList.length + 2:0" align-center style="margin-bottom: 20px">
|
|
|
+ <el-steps :active="dataForm.workFlowBusinessExt&&dataForm.workFlowBusinessExt.workFlowProcessStepList?dataForm.workFlowBusinessExt.workFlowProcessStepList.length + 2:0" align-center style="margin-bottom: 20px">
|
|
|
<template v-for="(item, i) in stepList">
|
|
|
<el-step :icon="item.icon" :title="item.title" :description="item.description"></el-step>
|
|
|
</template>
|
|
@@ -32,7 +32,7 @@
|
|
|
<e-desc-item label="客户名称">{{dataForm.customerName}}</e-desc-item>
|
|
|
|
|
|
<e-desc-item label="业务员">{{dataForm.salesmanName}}</e-desc-item>
|
|
|
- <e-desc-item label="合同交期" span="2">{{dataForm.contactDate}}</e-desc-item>
|
|
|
+ <e-desc-item label="合同交期" span="2">{{dataForm.contactDate?dataForm.contactDate.substring(0,10):''}}</e-desc-item>
|
|
|
|
|
|
<e-desc-item label="备注说明" span="3">{{dataForm.notes}}</e-desc-item>
|
|
|
</e-desc>
|
|
@@ -144,7 +144,9 @@
|
|
|
this.visible = true
|
|
|
this.isFlow = !!(businessType && businessType !== '')
|
|
|
this.id = id || 0
|
|
|
- this.dataForm = {}
|
|
|
+ this.dataForm = {
|
|
|
+ workFlowBusinessExt: null
|
|
|
+ }
|
|
|
this.productDetails = []
|
|
|
this.stepList = []
|
|
|
this.logList = []
|