瀏覽代碼

修改对账

qukaidi 4 年之前
父節點
當前提交
8e0fc6fbff
共有 2 個文件被更改,包括 32 次插入31 次删除
  1. 1 0
      src/views/finance/contrast/index.vue
  2. 31 31
      src/views/track/cabinet/index.vue

+ 1 - 0
src/views/finance/contrast/index.vue

@@ -1363,6 +1363,7 @@ export default {
     ApprovalComments,
   },
   created() {
+    this.typevalue=Cookies.get("sysType");
     this.getList();
     this.register();
     this.getDicts("data_unitfees").then((response) => {

+ 31 - 31
src/views/track/cabinet/index.vue

@@ -209,47 +209,45 @@
           >导出</el-button
         >
       </el-col>
-      <el-col :span="1.5"
-        ><el-button type="primary" size="mini" @click="handleQuery(null)"
-          >全 部</el-button
-        ></el-col
-      >
-      <el-col :span="1.5"
-        ><el-button
-          type="primary"
-          size="mini"
-          @click="handleQuery('acceptDate')"
-          >接 单</el-button
-        ></el-col
+      <el-col :span="1.5">
+        <el-badge :value="buttonValue.acceptDate" style="margin-right:10px">
+          <el-button size="mini" @click="handleQuery(null)">全 部</el-button>
+        </el-badge>
+      </el-col>
+      <el-col :span="1.5">
+        <el-badge :value="buttonValue.acceptDate"  style="margin-right:10px">
+          <el-button size="mini" @click="handleQuery('acceptDate')"
+            >接 单</el-button
+          >
+        </el-badge></el-col
       >
       <el-col :span="1.5"
-        ><el-button type="primary" size="mini" @click="handleQuery('loadDate')"
-          >提 箱</el-button
+        ><el-badge :value="buttonValue.loadDate"  style="margin-right:10px"
+          ><el-button size="mini" @click="handleQuery('loadDate')"
+            >提 箱</el-button
+          ></el-badge
         ></el-col
       >
 
       <el-col :span="1.5"
-        ><el-button
-          type="primary"
-          size="mini"
-          @click="handleQuery('mdLoadDate')"
-          >还卸货</el-button
-        ></el-col
-      >
+        ><el-badge :value="buttonValue.mdLoadDate"  style="margin-right:10px">
+          <el-button size="mini" @click="handleQuery('mdLoadDate')"
+            >还卸货</el-button
+          ></el-badge
+        >
+      </el-col>
       <el-col :span="1.5"
-        ><el-button
-          type="primary"
-          size="mini"
-          @click="handleQuery('unLoadDate')"
-          >还卸柜</el-button
+        ><el-badge :value="buttonValue.unLoadDate"  style="margin-right:10px"
+          ><el-button size="mini" @click="handleQuery('unLoadDate')"
+            >还卸柜</el-button
+          ></el-badge
         ></el-col
       >
       <el-col :span="1.5"
-        ><el-button
-          type="primary"
-          size="mini"
-          @click="handleQuery('waybillDate')"
-          >回 单</el-button
+        ><el-badge :value="buttonValue.waybillDate"
+          ><el-button size="mini" @click="handleQuery('waybillDate')"
+            >回 单</el-button
+          ></el-badge
         ></el-col
       >
       <div class="tabSetting">
@@ -739,6 +737,7 @@ export default {
       transTypeList: [],
       billTypeList: [],
       show: false,
+      buttonValue: {},
     };
   },
   // 使用子组件
@@ -887,6 +886,7 @@ export default {
           }
         });
         this.ftmsorderbillscarsList = response.dataTable.rows;
+        this.buttonValue = response.buttonValue;
         this.total = response.dataTable.total;
         this.loading = false;
       });