Przeglądaj źródła

Merge branch 'xiaoqin' into mergeBranch

codeMan 2 lat temu
rodzic
commit
e3b7a7ca5e

+ 1 - 1
src/Form/competitor/edit.vue

@@ -4,7 +4,7 @@
     <el-drawer
         title="编辑竞争对手"
         :visible.sync="dialogFormVisible"
-        size="30%"
+        size="600px"
         direction="rtl"
         append-to-body
         @close="dialogFormVisible = false">

+ 2 - 1
src/HDrpManagement/dispatch/modules/add.vue

@@ -108,8 +108,9 @@ export default {
       this.tool.showMessage(res,()=>{
         this.dialogTableVisible = false
         this.$emit('onSuccess')
+        this.$store.dispatch('changeDetailDrawer',true)
+        this.$router.push({path:'/dispatchdetail',query:{id:res.data.sa_dispatchid,rowindex:res.data.rowindex}})
       })
-      this.$store.dispatch('DrawerShowChange',true)
     }
   }
 }

+ 1 - 1
src/HDrpManagement/logistics/details/index.vue

@@ -17,7 +17,7 @@
         </div>
         <div slot="customOperation" >
           <Edit class="inline-16" v-if="tool.checkAuth($route.name,'update')" :data="mainData" @onSuccess="queryMainData(),$refs.dispatch.listData()"/>
-          <el-button type="primary" size="mini"  v-if="tool.checkAuth($route.name,'confirmRec')" :disabled="mainData.status == '收货'" @click="onConfimRec">确认收货</el-button>
+          <el-button type="primary" size="mini"  v-if="tool.checkAuth($route.name,'confirmRec') && mainData.status =='审核'" :disabled="mainData.status == '收货'" @click="onConfimRec">确认收货</el-button>
           <el-button class="inline-16" type="primary" size="mini"  v-if="tool.checkAuth($route.name,'check')" :disabled="mainData.status != '新建'" @click="onCheck">{{mainData.status === '审核'?'反审':'审核'}}</el-button>
         </div>
         <div slot="slot0" >

+ 1 - 0
src/HDrpManagement/orderManage/details/index.vue

@@ -145,6 +145,7 @@ export default {
         const res = await this.$api.requested({
           "id":'20221108151302',
           "content": {
+            "nocache":true,
             "sa_orderid": this.$route.query.id
           }
         })

+ 1 - 1
src/HDrpManagement/orderManage/details/tabs/defaultInfo.vue

@@ -5,7 +5,7 @@
       <el-descriptions-item label="账户名称">{{ mainData.accountclass?mainData.accountclass.accountname:"--" }}</el-descriptions-item>
       <el-descriptions-item label="使用金额">{{ mainData.accountclass?mainData.accountclass.amount:"--" }}</el-descriptions-item>
       <el-descriptions-item label="是否使用返利金">{{ mainData.accountclass?mainData.accountclass.rebate_used ? '是' : '否' : '--' }}</el-descriptions-item>
-      <el-descriptions-item label="返利金使用金额">{{ mainData.accountclass?mainData.accountclass.rebateamount:"--" }}</el-descriptions-item>
+      <el-descriptions-item label="返利金使用金额">{{ mainData.rebateamount?mainData.rebateamount:"--" }}</el-descriptions-item>
     </el-descriptions>
     <el-descriptions  class="normal-margin" border :column="2" labelClassName="my-label" contentClassName="my-content">
       <div slot="title" class="my-label__title">开票信息</div>

+ 30 - 7
src/HDrpManagement/orderManage/modules/edit.vue

@@ -9,7 +9,7 @@
     size="80%">
     <div slot="title">
       <div class="flex-align-center">
-        <p><span style="font-size:14px">订单合计:</span><span style="color:red;font-size:16px;"><b>¥&nbsp;{{tool.formatAmount(data.amount,2)}}</b></span></p>
+        <p><span style="font-size:14px">订单合计:</span><span style="color:red;font-size:16px;"><b>¥&nbsp;{{tool.formatAmount(data.defaultamount,2)}}</b></span></p>
       </div>
         <div class="flex-align-center">
         <p style="font-size: 13px !important;color: #8888;font-weight: normal">{{data.amount > freefreightamount?'当前订单免运费':`订单满${freefreightamount}元免运费,当前还差${freefreightamount - data.amount}元`}}</p>
@@ -46,10 +46,10 @@
             <p><small>本单金额:&nbsp;</small>{{data.rebate_used ? tool.formatAmount(data.defaultamount - rebateamount,2) : data.defaultamount}}</p>
           </div>
           <div v-if="(data.type === '标准订单' ||  data.type === '特殊订单') && isusedrebate === 1">
-            <el-checkbox v-model="checked" :true-label="1" :false-label="0">使用返利金</el-checkbox>
+            <el-checkbox v-model="checked" :true-label="1" :false-label="0" @change="rebateUsedChange">使用返利金</el-checkbox>
             <div v-if="checked" class="flex-align-center">
               <p class="inline-16"><b>返利金余额:{{tool.formatAmount(defaultData.rebatebalance,2)}}</b></p>
-              <el-input class="inline-16" size="mini" style="width:150px" v-model="rebateamount" @blur="useRebate(data.rebateamount)" placeholder="输入使用金额"></el-input>
+              <el-input class="inline-16" size="mini" style="width:150px" v-model="data.rebateamount" @blur="useRebate(data.rebateamount)" placeholder="输入使用金额"></el-input>
               <small>(返利金最高使用比例{{data.order_rebate_userate}})</small>
             </div>
           </div>
@@ -275,12 +275,30 @@ export default {
   methods:{
     async queryBasicInfo () {
       const res = await this.$api.requested({
-        "id":20220920084001,"content":{},
+        "id":20220920084001,"content":{
+          sys_enterpriseid:this.data.sys_enterpriseid
+        },
       })
       this.freefreightamount = res.data.freefreightamount
       console.log(res.data);
       
     },
+    async rebateUsedChange(){
+      console.log(this.data)
+      if(this.data.status != '新建') return 1
+      let amount = parseInt(this.data.order_rebate_userate * this.data.defaultamount); //最大可用金额
+      let rebatebalance = this.data.rebatebalance; //返利金账户余额
+      const res = await this.$api.requested({
+        "id": 20230218225002,
+        "content": {
+          "sa_orderid": this.data.sa_orderid, //订单金额
+          "isused": this.data.rebate_used == 1 ? 0 : 1, //是否使用
+          "rebateamount": rebatebalance > amount ? amount : rebatebalance //返利金使用金额
+        }
+      })
+      console.log(res)
+      this.data.rebate_used = res.msg !== '成功' ? this.data.rebate_used == 0?1:0:this.data.rebate_used
+    },
     onShow () {
       this.initPage()
     },
@@ -295,13 +313,18 @@ export default {
       this.selectOptions()
 
       this.checked = this.data.rebate_used
-      this.rebateamount = this.data.rebateamount
+      if (this.data.rebateamount > this.data.defaultamount) {
+        this.rebateamount = this.tool.formatAmount(+this.data.defaultamount / 2)
+      } else {
+        this.rebateamount = this.data.rebateamount
+      }
     },
     // 收货信息:合作企业联系人
     async receiveAddress (fn) {
       const res = await this.$api.requested({
         "id": "20230220002602",
         "content": {
+          "nocache":true,
           "sys_enterpriseid": this.data.sys_enterpriseid,
           "where": {
               "condition": ""
@@ -372,8 +395,8 @@ export default {
     async useRebate (e) {
       let that = this
       /* 修改返利金 */
-        let rebateamount = e;
-        let amount = this.data.order_rebate_userate * this.data.defaultamount;//最大可用金额
+      let rebateamount = e;
+      let amount = this.data.order_rebate_userate * this.data.defaultamount;//最大可用金额
       const res = await this.$api.requested({
               "id":20230218225002,
               "content":{

+ 12 - 0
src/HDrpManagement/serveBill/components/changeBill.vue

@@ -92,10 +92,22 @@ export default {
           "version":1,
           "content": this.form
         })
+        console.log(res);
+        
         this.tool.showMessage(res,()=>{
           this.$emit('onSuccess')
           this.$refs['form'].resetFields();
           this.dialogFormVisible = false
+          if (route.path !== '/workorderDetail') {
+            this.oldRoute = {path:route.path,query:route.query}
+            this.$store.dispatch('setHistoryRouter',this.oldRoute)
+          }
+          this.$router.push({
+            path:'/workorderDetail',
+            query:{
+              id:res.data,
+            }
+          })
         })
       })
     },

+ 1 - 1
src/HDrpManagement/serveBill/components/edit.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <el-button size="mini" type="ptext" @click="editBtn">编 辑</el-button>
+    <el-button size="mini" type="primary" @click="editBtn">编 辑</el-button>
     <el-drawer title="新 建" append-to-body :show-close="false" :visible.sync="dialogFormVisible" size="50%">
       <div slot="title" style="font-size: 15px">
         编辑服务申请单

+ 2 - 2
src/HDrpManagement/serveBill/modules/detail.vue

@@ -29,7 +29,7 @@
           :paramData="[{key:'issumbit',value:1}]"
           @onSuccess="queryMainData"
           class="inline-16"
-          v-if="mainData.status == '新建'"
+          v-if="mainData.status == '新建' && tool.checkAuth($route.name,'submit')"
         />
         <customBtn 
           btnName="退回"
@@ -43,7 +43,7 @@
           dialogKey="backreason"
           @onSuccess="queryMainData"
           class="inline-16"
-          v-if="mainData.status == '提交'"
+          v-if="mainData.status == '待指派' && tool.checkAuth($route.name,'resubmit')"
         />
       </div>
       <div slot="slot0" >

+ 3 - 1
src/SDrpManagement/agentOrder/modules/edit.vue

@@ -260,7 +260,9 @@ export default {
   methods:{
     async queryBasicInfo () {
       const res = await this.$api.requested({
-        "id":20220920084001,"content":{},
+        "id":20220920084001,"content":{
+          sys_enterpriseid:this.data.sys_enterpriseid
+        },
       })
       this.freefreightamount = res.data.freefreightamount
     },

+ 5 - 2
src/SDrpManagement/salerOrder/details/index.vue

@@ -3,7 +3,6 @@
     <basicDetails
         ref="details"
         :titleText="`${mainData.sonum}`"
-        :oldFormPath="{edit:'SDrpManagement/salerOrder/modules'}"
         :editData="mainData"
         :mainAreaData="mainAreaData"
         turnPageId="20221111145202"
@@ -16,6 +15,7 @@
         @pageChange="pageChange"
         @onEditSuccess="queryMainData($route.query.id)">
         <div slot="customOperation" class="inline-16">
+          <Edit class="inline-16" v-if="tool.checkAuth($route.name,'update') && mainData.status == '新建'" :data="mainData" @onSuccess="queryMainData();$refs.prod && $refs.prod.listData()" />
           <el-button :disabled="mainData.status !== '交期待确认'"  type="primary" size="mini" @click="confirmdate">确认交期</el-button>
           <el-button v-if="tool.checkAuth($route.name,'submit')" :disabled="mainData.status !== '新建'"  type="primary" size="mini" @click="onSubmit('提交')">提 交</el-button>
           <el-button v-if="tool.checkAuth($route.name,'insert')"  type="primary" size="mini" @click="onCopy">复 制</el-button>
@@ -56,7 +56,8 @@
 </template>
 
 <script>
-import defaultInfo from './tabs/defaultInfo.vue';
+import Edit from '../modules/edit'
+import defaultInfo from './tabs/defaultInfo.vue'
 import productList from '../modules/productlist.vue'
 import rebat from './tabs/rebatesettlement.vue'
 import orderprogress from './tabs/orderpProgress.vue'
@@ -81,6 +82,7 @@ export default {
     }
   },
   components:{
+    Edit,
     defaultInfo,
     productList,
     rebat,
@@ -96,6 +98,7 @@ export default {
         const res = await this.$api.requested({
           "id":'20221108151302',
           "content": {
+            "nocache":true,
             "sa_orderid": this.$route.query.id
           }
         })

+ 1 - 1
src/SDrpManagement/salerOrder/details/tabs/defaultInfo.vue

@@ -5,7 +5,7 @@
       <el-descriptions-item label="账户名称">{{ mainData.accountclass?mainData.accountclass.accountname:"--" }}</el-descriptions-item>
       <el-descriptions-item label="使用金额">{{ mainData.accountclass?mainData.accountclass.amount:"--" }}</el-descriptions-item>
       <el-descriptions-item label="是否使用返利金">{{ mainData.accountclass?mainData.accountclass.rebate_used ? '是' : '否' : '--' }}</el-descriptions-item>
-      <el-descriptions-item label="返利金使用金额">{{ mainData.accountclass?mainData.accountclass.rebate_amount:"--" }}</el-descriptions-item>
+      <el-descriptions-item label="返利金使用金额">{{ mainData.rebateamount?mainData.rebateamount:"--" }}</el-descriptions-item>
     </el-descriptions>
     <el-descriptions  class="normal-margin" border :column="2" labelClassName="my-label" contentClassName="my-content">
       <div slot="title" class="my-label__title">开票信息</div>

+ 63 - 37
src/SDrpManagement/salerOrder/modules/edit.vue

@@ -9,10 +9,10 @@
     size="80%">
     <div slot="title">
       <div class="flex-align-center">
-        <p><span style="font-size:14px">订单合计:</span><span style="color:red;font-size:16px;"><b>¥&nbsp;{{tool.formatAmount(data.amount,2)}}</b></span></p>
-        <!-- <label style="font-size:14px;margin-left:10px" for="">备注:</label>
-        <input class="order__note__input" v-model="defaultData.remarks" type="text" placeholder="请输入订单备注"> -->
-        <p>运费:{{data.amount > freefreightamount >= 0?'当前订单免运费':`订单满${freefreightamount}元免运费,当前还差${freefreightamount - data.amount}元`}}</p>
+        <p><span style="font-size:14px">订单合计:</span><span style="color:red;font-size:16px;"><b>¥&nbsp;{{tool.formatAmount(data.defaultamount,2)}}</b></span></p>
+      </div>
+      <div class="flex-align-center">
+        <p style="font-size: 13px !important;color: #8888;font-weight: normal">{{data.amount > freefreightamount?'当前订单免运费':`订单满${freefreightamount}元免运费,当前还差${freefreightamount - data.amount}元`}}</p>
       </div>
     </div>
     <div class="drawer__panel">
@@ -32,14 +32,14 @@
           <div class="flex-align-center">
             <p class="inline-16"><small>账户余额:&nbsp;</small><b>¥{{tool.formatAmount(defaultData.accountclass.balance?defaultData.accountclass.balance:0,2)}}</b></p>
             <p class="inline-16"><small>账户名称:&nbsp;</small>{{defaultData.accountclass.accountname?defaultData.accountclass.accountname:'未选择账户'}}</p>
-            <p><small>本单金额:&nbsp;</small>{{tool.formatAmount(data.amount - rebateamount,2)}}</p>
+            <p><small>本单金额:&nbsp;</small>{{data.rebate_used ? tool.formatAmount(data.defaultamount - rebateamount,2) : data.defaultamount}}</p>
           </div>
           <div v-if="(data.type === '标准订单' ||  data.type === '特殊订单') && isusedrebate === 1">
-            <el-checkbox v-model="checked" :true-label="1" :false-label="0">使用返利金</el-checkbox>
+            <el-checkbox v-model="checked" :true-label="1" :false-label="0" @change="rebateUsedChange">使用返利金</el-checkbox>
             <div v-if="checked" class="flex-align-center">
               <p class="inline-16"><b>返利金余额:{{tool.formatAmount(defaultData.rebatebalance,2)}}</b></p>
-              <el-input class="inline-16" size="mini" style="width:150px" v-model="rebateamount" @blur="useRebate" placeholder="输入使用金额"></el-input>
-              <small>(返利金最高使用比例{{data.order_rebate_userate}}%,本单上限:{{tool.formatAmount(data.amount * data.order_rebate_userate / 100,2)}})</small>
+              <el-input class="inline-16" size="mini" style="width:150px" v-model="data.rebateamount" @blur="useRebate(data.rebateamount)" placeholder="输入使用金额"></el-input>
+              <small>(返利金最高使用比例{{data.order_rebate_userate}})</small>
             </div>
           </div>
         </div>
@@ -173,15 +173,15 @@
       <div class="mt-10">
         <div>
           <p class="normal-title inline-16">订单产品</p>
-          <el-button type="text" size="mini" @click="addMoreProduct">{{setcol === 12?'关闭选择':'添加产品'}}</el-button>
+          <!-- <el-button type="text" size="mini" @click="addMoreProduct">{{setcol === 12?'关闭选择':'添加产品'}}</el-button> -->
         </div>
         <el-row :gutter="10">
           <el-col :span="setcol">
             <product-list ref="prolist" :data="data" :type="'edit'" @onSuccess="onEditSuccess"></product-list>
           </el-col>
-          <el-col :span="24 - setcol">
+          <!-- <el-col :span="24 - setcol">
             <add-product ref="addpro" :data="data" @onConfirm="onConfirm"></add-product>
-          </el-col>
+          </el-col> -->
         </el-row>
       </div>
     </div>
@@ -213,6 +213,7 @@ export default {
   inject:['thisDetail'],
   data () {
     return {
+      freefreightamount:'',
       checked:0,
       visible:false,
       visible1:false,
@@ -249,10 +250,28 @@ export default {
   methods:{
     async queryBasicInfo () {
       const res = await this.$api.requested({
-        "id":20220920084001,"content":{},
+        "id":20220920084001,"content":{
+          sys_enterpriseid:this.data.sys_enterpriseid
+        },
       })
       this.freefreightamount = res.data.freefreightamount
     },
+    async rebateUsedChange(){
+      console.log(this.data)
+      if(this.data.status != '新建') return 1
+      let amount = parseInt(this.data.order_rebate_userate * this.data.defaultamount); //最大可用金额
+      let rebatebalance = this.data.rebatebalance; //返利金账户余额
+      const res = await this.$api.requested({
+        "id": 20230218225002,
+        "content": {
+          "sa_orderid": this.data.sa_orderid, //订单金额
+          "isused": this.data.rebate_used == 1 ? 0 : 1, //是否使用
+          "rebateamount": rebatebalance > amount ? amount : rebatebalance //返利金使用金额
+        }
+      })
+      console.log(res)
+      this.data.rebate_used = res.msg !== '成功' ? this.data.rebate_used == 0?1:0:this.data.rebate_used
+    },
     onShow () {
       this.initPage()
     },
@@ -267,7 +286,11 @@ export default {
       this.selectOptions()
 
       this.checked = this.data.rebate_used
-      this.rebateamount = this.data.rebateamount
+      if (this.data.rebateamount > this.data.defaultamount) {
+        this.rebateamount = this.tool.formatAmount(+this.data.defaultamount / 2)
+      } else {
+        this.rebateamount = this.data.rebateamount
+      }
     },
     // 收货信息:合作企业联系人
     async receiveAddress (fn) {
@@ -326,8 +349,10 @@ export default {
       this.tool.showMessage(res,()=>{
         this.$emit('onSuccess')
         if (this.data.type === '标准订单' ||  this.data.type === '特殊订单') {
-          this.isusedrebate === 1?this.useRebate():""
+          this.isusedrebate === 1?this.useRebate(this.data.rebateamount):""
         }
+        console.log('触发');
+        
         this.drawer = false
       })
     },
@@ -361,31 +386,32 @@ export default {
         this.$emit('onSuccess')
       })
     },
-    async useRebate () {
+    async useRebate (e) {
       let that = this
-      if (this.rebateamount > this.defaultData.rebatebalance ||this.rebateamount > (this.data.amount * this.data.order_rebate_userate / 100) ) return  this.$message({
-        message:`余额不足或已超过可用上限!`,
-        type:function () {
-          that.rebateamount = 0
-          return 'error'
-        }()
-      })
-      if (this.rebateamount == null) return this.$message({
-          message:"返利金不能为空",
-          type:'error'
-        })
+      /* 修改返利金 */
+      let rebateamount = e;
+      let amount = this.data.order_rebate_userate * this.data.defaultamount;//最大可用金额
       const res = await this.$api.requested({
-        "id": 20230218225002,
-        "content": {
-          "sa_orderid": this.data.sa_orderid, //订单金额
-          "isused": this.checked, //是否使用
-          "rebateamount": this.rebateamount //返利金使用金额
-        },
-      })
-      if (res.code === 0) this.$message({
-        message:`使用返利金失败!${res.msg}`,
-        type:'error'
-      })
+              "id":20230218225002,
+              "content":{
+                "sa_orderid":this.data.sa_orderid,//订单金额
+                "isused":1,//是否使用
+                "rebateamount":rebateamount>amount?amount:rebateamount
+              }
+            })
+      if(res.data=='成功'){
+        this.$emit('onSuccess')
+        this.initPage()
+        if(rebateamount>amount){
+          this.data.rebateamount=amount
+          this.$message({
+            message: '返利金最大可用值'+ amount,
+            type: 'warning'
+          });
+        }
+      }else{
+        this.$message.error(res.msg);
+      }
     },
     // 查询站点是否使用返利金
     async queryUsedrebate () {

+ 1 - 0
src/SDrpManagement/salerOrder/modules/productlist.vue

@@ -308,6 +308,7 @@ export default {
       this.tool.showMessage(res,()=>{
         this.setcol = 24
         this.listData()
+        this.$emit('onSuccess')
       })
     },
   },

+ 1 - 1
src/SDrpManagement/salerToolBorrowing/detail/index.vue

@@ -137,7 +137,7 @@ export default {
     pageChange (id,rowindex,tabIndex) {
       this.$refs['details'].param.content.isManage = 0
       tabIndex = this.$route.query.tabIndex
-      this.$router.replace({path:'/toolBorrowingMagDetail',query:{id:id,rowindex:rowindex,tabIndex:tabIndex}})
+      this.$router.replace({path:'/toolBorrowing_salerDetail',query:{id:id,rowindex:rowindex,tabIndex:tabIndex}})
       this.queryMainData(id)
     },
     onSuccess(){

+ 4 - 4
src/SDrpManagement/salerToolBorrowing/modules/add.vue

@@ -14,7 +14,7 @@
           <el-form size="small" ref="form" :model="form" :rules="rules" label-width="100px" :status-icon="false">
             <el-col :span="24">
               <el-form-item label="企业信息" prop="sys_enterpriseid">
-                <enterprise @rowClick="rowClick"></enterprise>
+                <enterprise ref="enterprise" :type="9" @rowClick="rowClick"></enterprise>
               </el-form-item>
             </el-col>
             <el-col :span="24">
@@ -41,7 +41,7 @@
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button type="primary" size="small" @click="submitForm">创 建</el-button>
-        <el-button size="small" @click="refresh">取 消</el-button>
+        <el-button size="small" @click="refresh()">取 消</el-button>
       </span>
     </el-dialog>
   </div>
@@ -138,9 +138,9 @@ export default {
           }
 
           this.drawer = false
-         
+          this.refresh()
           this.$store.dispatch('changeDetailDrawer',true)
-          this.$router.push({path:'/toolBorrowingMagDetail',query:{id:res.data.sa_orderid,rowindex:res.data.rowindex}})
+          this.$router.push({path:'/toolBorrowing_salerDetail',query:{id:res.data.sa_orderid,rowindex:res.data.rowindex}})
         })
       })
     },

+ 1 - 1
src/SDrpManagement/salerToolBorrowing/modules/edit.vue

@@ -288,7 +288,7 @@ export default {
         }
       })
       this.receiveAddresslist = res.data
-      this.defaultData.re_info = res.data[0]
+      this.defaultData.re_info = res.data[0] ? res.data[0] : {}
     },
 
     // 账号信息

+ 3 - 1
src/SDrpManagement/shopCart/modules/total.vue

@@ -94,7 +94,9 @@ export default {
     },
     async queryBasicInfo () {
       const res = await this.$api.requested({
-        "id":20220920084001,"content":{},
+        "id":20220920084001,"content":{
+          sys_enterpriseid:this.data.sys_enterpriseid
+        },
       })
       this.freefreightamount = res.data.freefreightamount
     }

+ 3 - 1
src/SDrpManagement/toolBorrowing/modules/edit.vue

@@ -270,7 +270,9 @@ export default {
   methods:{
     async queryBasicInfo () {
       const res = await this.$api.requested({
-        "id":20220920084001,"content":{},
+        "id":20220920084001,"content":{
+          sys_enterpriseid:this.data.sys_enterpriseid
+        },
       })
       this.freefreightamount = res.data.freefreightamount
     },

+ 1 - 1
src/router/SDrpManagement.js

@@ -208,7 +208,7 @@ const SDrpManagement = [
           ast_nav: true,
           keeproute: true,
         },
-        component: () => import(/* webpackChunkName: "about" */ '@/SDrpManagement/salerToolBorrowing/detail')
+        component: () => import(/* webpackChunkName: "about" */ '@/SDrpManagement/salerToolBorrowing/detail/index')
       },
     ]
   },