Procházet zdrojové kódy

客户、项目商机、通讯录、销售线索跟进记录新增营销费用

qymljy před 1 rokem
rodič
revize
d06357d3f1

+ 3 - 3
src/HDrpManagement/marketingExpenseMag/components/expenseDetail.vue

@@ -27,7 +27,7 @@
     <div style="margin-top: 15px">
       <table-new-layout :layout="tablecols" :data="list"  :opwidth="200" :custom="true" :width="true" :customHeader="true"  fixedName="operation" :checkbox="true" @selectionChange="selectionChange" height="calc(100vh - 340px)">
         <template v-slot:header="data">
-          <div v-if="data.data.property == 'feestypefullname'">
+<!--          <div v-if="data.data.property == 'feestypefullname'">
             <el-select v-model="feestype" placeholder="请选择费用类型" class="inline-16" size="small"  @change="feesTypeAllChange">
               <el-option
                   v-for="item in feestypeList"
@@ -36,8 +36,8 @@
                   :value="item.value">
               </el-option>
             </el-select>
-          </div>
-          <div v-else>
+          </div>-->
+          <div>
             {{ data.data.label }}
           </div>
         </template>

+ 12 - 0
src/SManagement/orderclue_detail/components/followDetail.vue

@@ -57,6 +57,18 @@
                   </file-item>
                 </div>
               </el-col>
+              <el-col :span="24">
+                <div style="float: left;margin-top: 10px">
+                  <div style="float: left">营销费用:</div>
+                  <div style="float: left">
+                    <div v-if="item.salesfeesamount || item.salesfeesamount == 0">
+                      <span style="color: red">¥ </span>
+                      <span style="font-size: 12px;color: red">{{tool.formatAmount(item.salesfeesamount,2)}}</span>
+                    </div>
+                    <div v-else>--</div>
+                  </div>
+                </div>
+              </el-col>
             </el-row>
           </el-card>
         </el-timeline-item>

+ 8 - 0
src/components/normal-basic-layout-new/details/modules/followUp/followUp.vue

@@ -87,6 +87,14 @@
                 <div v-if="$route.path === '/projectChangeDetail' || $route.path === '/customerDetail' || $route.path === '/PublicCustomerDetail' || $route.path === '/phonebookDetail'">
                   <span>下次跟进计划:{{i.nextplan}}</span>
                 </div>
+                <div v-if="$route.path === '/projectChangeDetail' || $route.path === '/customerDetail' || $route.path === '/PublicCustomerDetail' || $route.path === '/phonebookDetail'">
+                  <span>营销费用:</span>
+                  <span v-if="i.salesfeesamount || i.salesfeesamount == 0">
+                    <span style="color: red">¥ </span>
+                      <span style="font-size: 12px;color: red">{{tool.formatAmount(i.salesfeesamount,2)}}</span>
+                  </span>
+                  <span v-else>--</span>
+                </div>
                 <div class="follow-progress">
                   <p v-if="$route.path !== '/projectChangeDetail' && $route.path !== '/customerDetail' && $route.path !== '/PublicCustomerDetail' && $route.path !== '/phonebookDetail'">{{i.content}}</p>
                   <div>

+ 9 - 0
src/components/normal-basic-layout/details/modules/followUp/followUp.vue

@@ -87,6 +87,15 @@
                 <div v-if="$route.path === '/projectChangeDetail' || $route.path === '/customerDetail' || $route.path === '/PublicCustomerDetail'">
                   <span>下次跟进计划:{{i.nextplan}}</span>
                 </div>
+                <div v-if="$route.path === '/projectChangeDetail' || $route.path === '/customerDetail' || $route.path === '/PublicCustomerDetail'">
+<!--                  <span>营销费用:{{i.salesfeesamount || i.salesfeesamount == 0?}}</span>-->
+                  <span>营销费用:</span>
+                  <span v-if="i.salesfeesamount || i.salesfeesamount == 0">
+                    <span style="color: red">¥ </span>
+                      <span style="font-size: 12px;color: red">{{tool.formatAmount(i.salesfeesamount,2)}}</span>
+                  </span>
+                  <span v-else>--</span>
+                </div>
                 <div class="follow-progress">
                   <p v-if="$route.path !== '/projectChangeDetail' && $route.path !== '/customerDetail' && $route.path !== '/PublicCustomerDetail'">{{i.content}}</p>
                   <div>