wucl 7 mēneši atpakaļ
vecāks
revīzija
befc011c44

+ 3 - 3
src/views/complex/index.vue

@@ -199,7 +199,7 @@
               </svg>
               <div class="icon-word">我的收入</div>
             </div>
-            <!-- <div class="icon-area" @click="jumpToProductivityPlatform()">
+            <div class="icon-area" @click="jumpToProductivityPlatform()">
               <svg t="1729559237544" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
                 p-id="4820" width="48" height="48">
                 <path
@@ -213,7 +213,7 @@
                   fill="#FFFFFF" p-id="4822"></path>
               </svg>
               <div class="icon-word">生产力平台</div>
-            </div> -->
+            </div>
           </div>
         </el-card>
 
@@ -925,7 +925,7 @@ export default {
       handler(newv) {
         if (newv) {
           const postList = newv.postList.map(item => item.name)
-          const marketPosts = ['销售代表', '客户经理', '客户经理-业务员', '市场一部经理', '市场二部经理', '销售主管','市场部经理']
+          const marketPosts = ['销售代表', '客户经理', '客户经理-业务员', '市场一部经理', '市场二部经理', '销售主管','市场部经理','营销主管']
           postList.forEach(element => {
             if (marketPosts.includes(element)) {
               this.hasOpenBar = true;

+ 1 - 1
src/views/login/index.vue

@@ -40,7 +40,7 @@
             POWER BY:四川大友房地产土地资产评估有限公司软件开发部
           </span>
           <span>
-            VERSION:V2.2024116
+            VERSION:V2.20241227
           </span>
         </div>
     </div>

+ 20 - 11
src/views/major/myOrder.vue

@@ -65,8 +65,7 @@
         </el-table-column>
         <el-table-column label="应收款(元)" align="center" width='120'>
           <template slot-scope="{row}">
-            <span>{{ row.shouldAmount ? row.shouldAmount : (row.orderShouldAmount ? row.orderShouldAmount : '--')
-            }}</span>
+            <span>{{ row.shouldAmount!=null ? row.shouldAmount :  '--'}}</span>
           </template>
         </el-table-column>
         <el-table-column label="开票金额(元)" align="center" width='120'>
@@ -130,7 +129,7 @@
           <el-col :xs="24" :sm="12" :lg="24" :span="12">
             <el-form-item label="应收款金额(元):" prop="shouldAmount" label-width="160px" class="postInfo-container-item"
               :rules="{ required: true, message: '应收款金额不能为空', trigger: 'blur' }">
-              <el-input-number :precision="2" :min="0" :value-on-clear="0" v-model.number="fund.shouldAmount"
+              <el-input-number :precision="2" :min="0" :value-on-clear="0" v-model.number="fund.shouldAmount" :default="0"
                 type="number" style="width:300px" class="filter-item" />
             </el-form-item>
           </el-col>
@@ -142,7 +141,15 @@
             </el-form-item>
           </el-col>
         </el-row>
+        <el-row>
+          <el-col :xs="24" :sm="12" :lg="24" :span="12">
+            <el-form-item label="提醒:"  label-width="160px" class="postInfo-container-item">
+              <span style="color: red; font-weight: bold;">若不收款请填0,大于0将进入财务收款预警。</span>
+            </el-form-item>
+          </el-col>
+        </el-row>
       </el-form>
+      
       <span slot="footer" class="dialog-footer">
         <el-button @click="shouldAmountDialog = false">取 消</el-button>
         <el-button type="primary" @click="saveShouldAmount()">确 定</el-button>
@@ -815,18 +822,19 @@ export default {
                 if (res.code === 200 && res.data) {
                   this.$notify({
                     title: '成功',
-                    message: '订单应收款已完善',
+                    message: '应收款已保存',
                     type: 'success',
                     duration: 1000
                   });
                   this.getList();
                   this.shouldAmountDialog = false;
-                  this.shouldAmountDialog = false;
-                  this.productionList(this.todoBusinessId, this.reportNo == null ? this.statementNo : this.reportNo)
+                  if (this.productionListDialog){
+                    this.productionList(this.todoBusinessId, this.reportNo == null ? this.statementNo : this.reportNo)
+                  }
                 } else {
                   this.$notify({
                     title: '失败',
-                    message: '订单应收款保存错误',
+                    message: '应收款保存错误',
                     type: 'error',
                     duration: 1000
                   });
@@ -837,17 +845,18 @@ export default {
                 if (res.code === 200 && res.data) {
                   this.$notify({
                     title: '成功',
-                    message: '订单应收款已完善',
+                    message: '应收款已保存',
                     type: 'success',
                     duration: 1000
                   });
                   this.getList();
                   this.shouldAmountDialog = false;
-                  this.productionList(this.todoBusinessId, this.reportNo == null ? this.statementNo : this.reportNo)
-                } else {
+                  if (this.productionListDialog){
+                    this.productionList(this.todoBusinessId, this.reportNo == null ? this.statementNo : this.reportNo)
+                  }                } else {
                   this.$notify({
                     title: '失败',
-                    message: '订单应收款保存错误',
+                    message: '应收款保存错误',
                     type: 'error',
                     duration: 1000
                   });

+ 2 - 2
src/views/personal/order.vue

@@ -313,7 +313,7 @@
                             <el-input v-else :value="personal.terminalClienteleType" class="filter-item" />
                       </el-form-item>
                     </el-col>
-                    <el-col :xs="24" :sm="12" :lg="12" :span="6"  v-if="personal.terminalClienteleType!=''">
+                    <el-col :xs="24" :sm="12" :lg="12" :span="6"  v-if="personal.terminalClienteleType">
                       <el-form-item
                         label="终端客户名称:"
                         prop="terminalClienteleId"
@@ -351,7 +351,7 @@
                           <el-input :value="personal.tterminalClienteleContactName" class="filter-item" v-else />
                       </el-form-item>
                     </el-col>
-                    <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="personal.terminalClienteleType!=''">
+                    <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="personal.terminalClienteleType">
                     <el-form-item
                       label="终端联系电话:"
                       prop="clienteleType"