浏览代码

返利互转增加修改操作

chen 3 年之前
父节点
当前提交
6bf73b7760

+ 3 - 0
src/views/finance/change_list.vue

@@ -271,6 +271,7 @@
                   type="text"
                   class="textColor"
                   slot="reference"
+                  @click="withdrawFn"
                   >撤回</el-button
                 >
                 <el-button
@@ -376,6 +377,8 @@ export default {
     this.getDataList({ pageSize: this.pageSize, pageNum: this.currentPage });
   },
   methods: {
+    //撤回
+    withdrawFn() {},
     //刷新
     refreshFn() {
       this.getDataList({ pageSize: this.pageSize, pageNum: this.currentPage });

+ 2 - 2
src/views/finance/components/change_list-detail.vue

@@ -65,7 +65,7 @@
               ></el-input>
             </el-form-item>
           </el-col>
-          <el-col :xs="24" :sm="12" :lg="6">
+          <el-col v-if="detailList.examineBy" :xs="24" :sm="12" :lg="6">
             <el-form-item label="审核人" prop="">
               <el-input
                 disabled
@@ -74,7 +74,7 @@
               ></el-input>
             </el-form-item>
           </el-col>
-          <el-col :xs="24" :sm="12" :lg="6">
+          <el-col v-if="detailList.examineBy" :xs="24" :sm="12" :lg="6">
             <el-form-item label="审核日期" prop="">
               <el-input
                 disabled

+ 22 - 4
src/views/finance/components/change_list-examine.vue

@@ -13,22 +13,35 @@
         <el-row :gutter="20">
           <el-col :xs="24" :sm="12" :lg="6">
             <el-form-item label="返利互转单号" prop="">
-              <el-input v-model="detailList.id" placeholder=""></el-input>
+              <el-input
+                disabled
+                v-model="detailList.id"
+                placeholder=""
+              ></el-input>
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :lg="6">
             <el-form-item label="单据日期" prop="">
-              <el-input v-model="detailList.theTime" placeholder=""></el-input>
+              <el-input
+                disabled
+                v-model="detailList.theTime"
+                placeholder=""
+              ></el-input>
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :lg="6">
             <el-form-item label="制单人" prop="">
-              <el-input placeholder=""></el-input>
+              <el-input
+                disabled
+                v-model="detailList.createBy"
+                placeholder=""
+              ></el-input>
             </el-form-item>
           </el-col>
           <el-col :xs="24" :sm="12" :lg="6">
             <el-form-item label="经销商编号" prop="">
               <el-input
+                disabled
                 v-model="detailList.customerNumber"
                 placeholder=""
               ></el-input>
@@ -37,6 +50,7 @@
           <el-col :xs="24" :sm="12" :lg="6">
             <el-form-item label="经销商名称" prop="">
               <el-input
+                disabled
                 v-model="detailList.customerName"
                 placeholder=""
               ></el-input>
@@ -44,7 +58,11 @@
           </el-col>
           <el-col :xs="24" :sm="12" :lg="6">
             <el-form-item label="备注信息" prop="">
-              <el-input v-model="detailList.remark" placeholder=""></el-input>
+              <el-input
+                disabled
+                v-model="detailList.remark"
+                placeholder=""
+              ></el-input>
             </el-form-item>
           </el-col>
           <!-- <el-col :xs="24" :sm="12" :lg="6">

+ 12 - 2
src/views/finance/components/change_list-review.vue

@@ -67,7 +67,12 @@
               <el-input v-model="detailList.remark" placeholder=""></el-input>
             </el-form-item>
           </el-col>
-          <el-col :xs="24" :sm="12" :lg="6">
+          <el-col
+            v-if="detailList.examineStatus == 'FAIL_ONE'"
+            :xs="24"
+            :sm="12"
+            :lg="6"
+          >
             <el-form-item label="审核人" prop="">
               <el-input
                 disabled
@@ -76,7 +81,12 @@
               ></el-input>
             </el-form-item>
           </el-col>
-          <el-col :xs="24" :sm="12" :lg="6">
+          <el-col
+            v-if="detailList.examineStatus == 'FAIL_ONE'"
+            :xs="24"
+            :sm="12"
+            :lg="6"
+          >
             <el-form-item label="审核日期" prop="">
               <el-input
                 disabled

+ 6 - 4
src/views/sales_rebate/rebate_list_type.vue

@@ -186,8 +186,8 @@
             </el-switch>
           </el-form-item> -->
         </el-form>
-        <template v-if="type !== 3">
-          <span slot="footer" class="dialog-footer">
+        <template>
+          <span v-show="type !== 3" slot="footer" class="dialog-footer">
             <el-button @click="hanleCancel">取 消</el-button>
             <el-button type="primary" @click="handelInfo">确 定</el-button>
           </span>
@@ -395,9 +395,10 @@ export default {
       };
     },
     hanelclose() {
-      this.type = "";
-      this.hanleReset();
       this.$refs.dialogForm.resetFields();
+      this.hanleReset();
+
+      this.type = "";
     },
     handelInfo() {
       console.log(this.$refs.dialogForm);
@@ -444,6 +445,7 @@ export default {
       this.getList();
     },
     hanleCancel() {
+      // this.type = "";
       this.hanleReset();
       this.dialogVisible = false;
     },