Sun hace 3 años
padre
commit
ff9563ec5d
Se han modificado 2 ficheros con 11 adiciones y 18 borrados
  1. 6 13
      src/api/otherFinancial/index.js
  2. 5 5
      src/views/finance/otherFinancial/index.vue

+ 6 - 13
src/api/otherFinancial/index.js

@@ -12,7 +12,7 @@ export function listCorps(query) {
 // 查询客户详情列表
 export function listCorps_s(query) {
     return request({
-        url: '/finance/other/list',
+        url: '/warehouseBusiness/otherFees/list',
         method: 'get',
         params: query
     })
@@ -21,14 +21,14 @@ export function listCorps_s(query) {
 export function single(fId) {
     return request({
         // url: '/basicdata/corps/selectCustomerDriverList',
-        url: '/finance/other/' + fId,
+        url: '/warehouseBusiness/otherFees/' + fId,
         method: 'get',
     })
 }
 // 新增
 export function preservation(data) {
     return request({
-        url: '/finance/other/save',
+        url: '/warehouseBusiness/otherFees/save',
         method: 'post',
         data: data
     })
@@ -36,29 +36,22 @@ export function preservation(data) {
 // 删除
 export function singleDeletion(fId) {
     return request({
-        url: '/finance/other/remove/' + fId,
+        url: '/warehouseBusiness/otherFees/remove/' + fId,
         method: 'get'
     })
 }
 // 撤销
 export function revokeContainerPort(fId) {
     return request({
-        url: '/finance/other/revoke/' + fId,
+        url: '/warehouseBusiness/otherFees/revoke/' + fId,
         method: 'get'
     })
 }
 // 提交
 export function submit(data) {
     return request({
-        url: '/finance/other/add',
+        url: '/warehouseBusiness/otherFees/add',
         method: 'post',
         data: data
     })
 }
-// 基础资料
-export function allInformation() {
-    return request({
-        url: '/warehouseBusiness/containerPort/selectBasicInformation',
-        method: 'get',
-    })
-}

+ 5 - 5
src/views/finance/otherFinancial/index.vue

@@ -52,7 +52,7 @@
             icon="el-icon-plus"
             size="mini"
             @click="handleAdd()"
-            v-hasPermi="['finance:other:add']"
+            v-hasPermi="['warehouseBusiness:otherFees:add']"
           >新增
           </el-button>
         </el-col>
@@ -63,7 +63,7 @@
             size="mini"
             :disabled="single"
             @click="handleUpdate"
-            v-hasPermi="['finance:other:edit']"
+            v-hasPermi="['warehouseBusiness:otherFees:edit']"
           >修改
           </el-button>
         </el-col>
@@ -186,7 +186,7 @@
               icon="el-icon-edit"
               @click="handleUpdate(scope.row)"
               v-if="scope.row.fBillstatus === '暂存'"
-              v-hasPermi="['finance:other:edit']"
+              v-hasPermi="['warehouseBusiness:otherFees:edit']"
             >修改
             </el-button>
             <el-button
@@ -195,7 +195,7 @@
               icon="el-icon-delete"
               @click="handleDelete(scope.row)"
               v-if="scope.row.fBillstatus === '暂存'"
-              v-hasPermi="['finance:other:remove']"
+              v-hasPermi="['warehouseBusiness:otherFees:remove']"
             >删除
             </el-button>
           </template>
@@ -217,7 +217,7 @@
         <el-button round icon="el-icon-arrow-left" @click="open" size="small">返回列表</el-button>
         <el-button type="primary" round size="small" @click="submitForm" icon="el-icon-edit">保 存</el-button>
         <el-button type="success" round size="small" @click="submit" icon="el-icon-check" :disabled="disabled">提 交</el-button>
-        <el-button type="danger" round size="small" icon="el-icon-close" @click="cancellation" v-hasPermi="['finance:other:revoke']"
+        <el-button type="danger" round size="small" icon="el-icon-close" @click="cancellation" v-hasPermi="['warehouseBusiness:otherFees:revoke']"
                    v-if="queryParams.fBillstatus >2">撤销提交
         </el-button>
       </div>