Prechádzať zdrojové kódy

feature(订单管理系统):
1.公海客户按照所在省、所在市查询
2.储备客户增加所属销售、所在省、所在市查询类型
3.打卡方式显示居家
4.跟进方式修改

niezch 2 rokov pred
rodič
commit
5d187ad293
1 zmenil súbory, kde vykonal 20 pridanie a 5 odobranie
  1. 20 5
      src/views/contract/components/Edit.vue

+ 20 - 5
src/views/contract/components/Edit.vue

@@ -1,10 +1,10 @@
 <!--
  * @Author: liuzhenlin 461480418@qq.ocm
  * @Date: 2023-01-09 15:49:34
- * @LastEditors: liuzhenlin
- * @LastEditTime: 2023-01-11 19:11:20
+ * @LastEditors: niezch@dashoo.cn
+ * @LastEditTime: 2023-03-29 16:32:46
  * @Description: file content
- * @FilePath: \订单全流程管理系统\src\views\contract\components\Edit.vue
+ * @FilePath: \opms_frontend\src\views\contract\components\Edit.vue
 -->
 <template>
   <el-dialog class="edit-container" :title="title" top="5vh" :visible.sync="editVisible" @close="handleClose">
@@ -74,7 +74,7 @@
           <el-form-item label="销售工程师" prop="inchargeName">
             <el-input
               v-model="editForm.inchargeName"
-              :disabled="editForm.id > 0"
+              :disabled="true"
               placeholder="请选择销售工程师"
               readonly
               suffix-icon="el-icon-search"
@@ -129,6 +129,17 @@
               @focus="openContact" />
           </el-form-item>
         </el-col>
+        <el-col :span="12">
+          <el-form-item label="运维服务费约定" prop="serviceFeeAgreement">
+            <el-input
+              v-model="editForm.serviceFeeAgreement"
+              placeholder="请输入运维服务费约定"
+              :rows="5"
+              type="textarea" />
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
         <el-col :span="12">
           <el-form-item label="备注" prop="remark">
             <el-input v-model="editForm.remark" placeholder="请输入备注" :rows="5" type="textarea" />
@@ -231,6 +242,7 @@
           custSignatoryId: null, //客户签约人id
           custSignatoryName: '', //客户签约人name
           remark: '', //备注
+          serviceFeeAgreement: '', // 运维服务费约定
         },
         editRules: {
           contractName: [{ required: true, trigger: 'blur', message: '请输入合同名称' }],
@@ -350,13 +362,15 @@
       getBusinessInfo(data) {
         let business = data[0] || null
         if (!business) return
-
+        console.log(business, 'business')
         this.editForm.contractName = business.nboName
         this.editForm.custName = business.custName
         this.editForm.nboId = business.id
         this.editForm.nboName = business.nboName
         this.editForm.custSignatoryId = business.contactId
         this.editForm.custSignatoryName = business.contactName
+        this.editForm.inchargeId = business.saleId
+        this.editForm.inchargeName = business.saleName
         this.businessUserQueryParams = { busId: business.id, custId: business.custId }
         // 获取产品信息
         this.getProjectInfo(business.id)
@@ -506,6 +520,7 @@
           distributorId: null, //经销商id
           distributorName: '', //经销商name
           remark: '', //备注
+          serviceFeeAgreement: '', //运维服务费约定
         }
         this.productData = []
         this.stepActive = 0