高敬炎 2 年之前
父节点
当前提交
bea6d77aab
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      src/views/profitable/cashout.vue
  2. 1 1
      src/views/profitable/payment.vue

+ 3 - 3
src/views/profitable/cashout.vue

@@ -43,9 +43,9 @@
           <el-form-item label-width='100px' v-if='deptBudgetList.purpose == "库点费用"' label="是否自动分配" span="1"
             prop="contractNo" class="readonly">
             <ws-select v-model="deptBudgetList.autoAssign" class="typeselect">
-              <ws-option label="不自动分配" value="不自动分配" style="color: #8890b1" />
+              <ws-option label="不自动分配" value="1" style="color: #8890b1" />
               <!-- <ws-option label="仓储费自动分配" value="仓储费自动分配" style="color: #8890b1" /> -->
-              <ws-option label="燃料费自动分配" value="燃料费自动分配" style="color: #8890b1" />
+              <ws-option label="燃料费自动分配" value="5" style="color: #8890b1" />
             </ws-select>
           </el-form-item>
           <el-form-item label-width='100px' label="单价(元/吨)" span="1" prop="coalPrice"
@@ -914,7 +914,7 @@ export default {
         })
         return
       }
-      if (this.deptBudgetList.autoAssign != '燃料费自动分配') {//库点费用  仓储费自动分配和煤款自动分配不需要自动请款
+      if (this.deptBudgetList.autoAssign != '5') {//库点费用  仓储费自动分配和煤款自动分配不需要自动请款
         if (this.deptBudgetList.expensesPurpose == 1 && this.deptBudgetList.costType == 3 && this.mode == '全部分配' || this.deptBudgetList.expensesPurpose == 3 && this.mode == '全部分配') {
           this.deptBudgetList.amountMoney = Number(this.deptBudgetList.amountMoney).toFixed(2)
           if (this.amount != this.deptBudgetList.amountMoney) {

+ 1 - 1
src/views/profitable/payment.vue

@@ -252,7 +252,7 @@
           }).catch((response) => {
             this.$message({
               message: '提交失败!',
-              type: 'success',
+              type: 'error',
             })
           })
         })