|
|
@@ -14,7 +14,7 @@
|
|
|
<el-input
|
|
|
placeholder="请选择"
|
|
|
v-model="form.contactName"
|
|
|
- disabled
|
|
|
+ disabled
|
|
|
maxlength="50"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
@@ -78,7 +78,6 @@
|
|
|
<el-col :span="8" style="height: 58px">
|
|
|
<el-form-item prop="files" label="附件">
|
|
|
<fileMain v-model="form.files"></fileMain>
|
|
|
-
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="16">
|
|
|
@@ -102,23 +101,11 @@
|
|
|
:isDiscount="false"
|
|
|
pageName="businessOpportunity"
|
|
|
:pricing-way="form.pricingWay"
|
|
|
+ :isProduceDeliveryDeadline="
|
|
|
+ taskDefinitionKey === 'productionSupervisorApprove2'
|
|
|
+ "
|
|
|
></inventoryTable>
|
|
|
|
|
|
- <!-- <headerTitle title="竞品"></headerTitle>
|
|
|
- <businessAddTable
|
|
|
- ref="businessAddTable"
|
|
|
- @timeAll="getDetailTable"
|
|
|
- :delDetailIds="delDetailIds"
|
|
|
- ></businessAddTable>
|
|
|
-
|
|
|
- <headerTitle title="关键人信息"></headerTitle>
|
|
|
- <personnelAddTable
|
|
|
- ref="personnelAddTable"
|
|
|
- :contactId="form.contactId"
|
|
|
- @timeAll="getPersonnelAddTable"
|
|
|
- :delDetailIds="PersonnelDetailIds"
|
|
|
- ></personnelAddTable> -->
|
|
|
-
|
|
|
<head-list ref="headRef" @changeParent="changeHead"></head-list>
|
|
|
<parentList
|
|
|
ref="parentRef"
|
|
|
@@ -140,20 +127,17 @@
|
|
|
import { copyObj } from '@/utils/util';
|
|
|
import inventoryTable from '@/BIZComponents/inventoryTable.vue';
|
|
|
|
|
|
- import fileUpload from '@/components/upload/fileUpload';
|
|
|
- // import fileMain from '@/components/addDoc/index.vue';
|
|
|
- import {contactDetail} from '@/api/bpm/components/saleManage/contact';
|
|
|
+ import { contactDetail } from '@/api/bpm/components/saleManage/contact';
|
|
|
|
|
|
export default {
|
|
|
props: {
|
|
|
businessId: {
|
|
|
default: ''
|
|
|
- }
|
|
|
+ },
|
|
|
+ taskDefinitionKey: ''
|
|
|
},
|
|
|
mixins: [dictMixins],
|
|
|
components: {
|
|
|
- // fileMain,
|
|
|
- fileUpload,
|
|
|
businessAddTable,
|
|
|
personnelAddTable,
|
|
|
headList,
|
|
|
@@ -339,7 +323,7 @@
|
|
|
this.loading = false;
|
|
|
if (data) {
|
|
|
this.form = data;
|
|
|
- this.getContactDetail()
|
|
|
+ this.getContactDetail();
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.inventoryTable &&
|
|
|
@@ -403,7 +387,7 @@
|
|
|
|
|
|
return;
|
|
|
}
|
|
|
- this.form.totalPrice= this.$refs.inventoryTable.getPrice()[0]
|
|
|
+ this.form.totalPrice = this.$refs.inventoryTable.getPrice()[0];
|
|
|
const commitData = {
|
|
|
opportunity: this.form,
|
|
|
competAnalysisList: this.form.competAnalysisList,
|
|
|
@@ -414,9 +398,8 @@
|
|
|
} catch (error) {
|
|
|
console.log(error);
|
|
|
// 表单验证未通过,不执行保存操作
|
|
|
- return false
|
|
|
+ return false;
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
cancel() {
|
|
|
this.$nextTick(() => {
|