Sfoglia il codice sorgente

更改跳转路径

chen 3 anni fa
parent
commit
5701e36be7

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

@@ -328,7 +328,7 @@ export default {
     //复核
     secondFn(id) {
       this.$router.push({
-        path: "/finance/rebate_list",
+        path: "/finance/rebate/rebate_list",
         query: {
           id,
         },

+ 8 - 2
src/views/engin_deposit/components/refund_list-detail.vue

@@ -188,7 +188,10 @@
             show-overflow-tooltip
           >
             <template slot-scope="scope">
-              <el-input v-model="scope.row.dataQty"></el-input>
+              <el-input
+                :disabled="title == '详情'"
+                v-model="scope.row.dataQty"
+              ></el-input>
             </template>
           </el-table-column>
           <el-table-column
@@ -199,7 +202,10 @@
             show-overflow-tooltip
           >
             <template slot-scope="scope">
-              <el-input v-model="scope.row.diffAmount"></el-input>
+              <el-input
+                :disabled="title == '详情'"
+                v-model="scope.row.diffAmount"
+              ></el-input>
             </template>
           </el-table-column>
         </el-table>

+ 2 - 2
src/views/finance/balance_sum.vue

@@ -158,7 +158,7 @@ export default {
     //余额
     walletFn(v) {
       this.$router.push({
-        path: "/finance/wallet",
+        path: "/finance/details/wallet",
         query: {
           id: v,
         },
@@ -167,7 +167,7 @@ export default {
     //明细
     seeFN(customerName, customerNumber) {
       this.$router.push({
-        path: "/finance/standbook_list",
+        path: "/finance/details/standbook_list",
         query: {
           customerName,
           customerNumber,

+ 1 - 1
src/views/finance/change_apply.vue

@@ -334,7 +334,7 @@ export default {
         amount: amount * 1,
       });
 
-      this.$router.push("/finance/change_list");
+      this.$router.push("/finance/rebate/change_list");
       this.$message.success("申请成功");
     },
     async getUserInfoFn() {

+ 1 - 1
src/views/finance/rebate_form.vue

@@ -436,7 +436,7 @@ export default {
       console.log(this.dataList);
       await getRebateOrderAdd({ ...this.searchForm, items: this.dataList });
       this.$message.success("保存成功");
-      this.$router.push("/finance/rebate_list");
+      this.$router.push("/finance/rebate/rebate_list");
     },
     //选择经销商名称事件
     async changeCustomerFn(v, index, value) {

+ 1 - 1
src/views/finance/wallet.vue

@@ -309,7 +309,7 @@ export default {
     },
     //返回
     goBack() {
-      this.$router.push("/finance/balance_sum");
+      this.$router.push("/finance/details/balance_sum");
     },
     //取消
     async cancelFn() {