Browse Source

前端gjy

gjy 3 năm trước cách đây
mục cha
commit
b23446672e

+ 5 - 1
src/api/V2/financialManagement/index.js

@@ -7,4 +7,8 @@ export const API_GET_KUGUAN_LIST = '/commonSysParameter/getStaffInfo'
 //派车查看
 export const API_GET_CHAKAN_LOOK = '/warehouseInOutInfo/selectDistributeCar'
 //删除
-export const API_POST_DEL_LIST = '/collectionManagement/deleteCar'
+export const API_POST_DEL_LIST = '/collectionManagement/deleteCar'
+// 编辑查看
+export const API_GET_EXAMINE_INFO = '/collectionManagement/getInfo'
+// 编辑
+export const API_GET_EDIT_INFO = '/collectionManagement/editInfo'

+ 5 - 5
src/lang/zh.js

@@ -1499,14 +1499,14 @@
       telephone: '联系电话:',
       trialDue: '试用到期',
       trialNotExpired: '试用天数剩余',
-      trialDueClues: '尊敬的用户您好,感谢您使用赢海云管船产品,您的试用账户已到期,如需重新试用或购买该产品,请联系您的产品顾问。',
-      trialNotExpiredBefore: '尊敬的用户您好,为您提供的赢海云管船产品使用天数剩余',
+      trialDueClues: '尊敬的用户您好,感谢您使用易粮易运产品,您的试用账户已到期,如需重新试用或购买该产品,请联系您的产品顾问。',
+      trialNotExpiredBefore: '尊敬的用户您好,为您提供的易粮易运产品使用天数剩余',
       trialNotExpiredAfter: '天,为了不影响您后续使用请尽快联系您的产品顾问。',
       dearUser: '尊敬的用户您好:',
-      dearUserClues: '恭喜您成为赢海云管船的正式用户, 赢海科技会第一时间为您提供最专业的服务,在系统使用期间,如遇任何问题,均可联系您的产品顾问。',
+      dearUserClues: '恭喜您成为易粮易运的正式用户, 易粮易运会第一时间为您提供最专业的服务,在系统使用期间,如遇任何问题,均可联系您的产品顾问。',
       customerService: '联系电话:',
-      stopTenantClues: '尊敬的用户您好,感谢您使用赢海云管船产品,您的试用账户已关闭,如需重新试用或购买该产品,请联系您的产品顾问。',
-      isZero: '尊敬的用户您好,今天是您使用赢海云管船产品最后一天,为了不影响您后续使用,请尽快联系您的产品顾问。'
+      stopTenantClues: '尊敬的用户您好,感谢您使用易粮易运产品,您的试用账户已关闭,如需重新试用或购买该产品,请联系您的产品顾问。',
+      isZero: '尊敬的用户您好,今天是您使用易粮易运产品最后一天,为了不影响您后续使用,请尽快联系您的产品顾问。'
     }
   },
   // 证书

+ 6 - 0
src/model/financialManagement/index.js

@@ -6,6 +6,8 @@ import {
     API_GET_KUGUAN_LIST,
     API_GET_CHAKAN_LOOK,
     API_POST_DEL_LIST,
+    API_GET_EXAMINE_INFO,
+    API_GET_EDIT_INFO
 } from '@/api/V2/financialManagement'
 //采购详情列表
 export const caiwuList = appRx.get(API_GET_CAIWU_LIST, errorCatcher, errorHandle, filter)
@@ -17,3 +19,7 @@ export const kuguan = appRx.get(API_GET_KUGUAN_LIST, errorCatcher, errorHandle,
 export const paiLook = appRx.get(API_GET_CHAKAN_LOOK, errorCatcher, errorHandle, filter)
 //删除
 export const carDel = appRx.post(API_POST_DEL_LIST,errorCatcher, errorHandle,filter)
+//编辑查看
+export const examineinfo = appRx.get(API_GET_EXAMINE_INFO,errorCatcher, errorHandle,filter)
+//编辑
+export const editinfo = appRx.post(API_GET_EDIT_INFO,errorCatcher, errorHandle,filter)

+ 2 - 2
src/views/customer/component/router/route.js

@@ -8,7 +8,7 @@ const customerRouter = {
     alwaysShow: true, // will always show the root menu
     meta: {
       title: 'customerList',
-      module: 'warehouseManagement.warehouse.warehouseInfo',
+      module: 'customerManagement.customer.customerInfo',
       icon: '-kehuguanli'
     },
     children: [
@@ -20,7 +20,7 @@ const customerRouter = {
         meta: {
           title: 'customerList',
           shortcutEntrance: 'customerList',
-          module: 'warehouseManagement.warehouse.warehouseInfo',
+          module: 'customerManagement.customer.customerInfo',
           permissicon: [],
           keepAlive: true
           // module: 'procurement.sparepart.applDetail'

+ 7 - 1
src/views/customer/customerList.vue

@@ -131,7 +131,7 @@
         class="wenzi"
         :data="customerList.records"
         style="width: 100%"
-        height="780"
+        height="680"
       >
         <el-table-column prop="index" label="序号" width="80">
           <template scope="scope">
@@ -218,11 +218,17 @@
             <el-button
               class="find"
               type="primary"
+              v-hasPermission="
+            `customerManagement.customer.customerInfo.View`
+          "
               @click="editClick(1, scope.row)"
               >增加定金</el-button
             >
             <el-button
               class="find"
+              v-hasPermission="
+            `customerManagement.customer.customerInfo.View`
+          "
               type="primary"
               @click="editClick(2, scope.row)"
               >退回定金</el-button

+ 247 - 6
src/views/financialManagement/collectionManagementList.vue

@@ -46,7 +46,7 @@
       class="wenzi"
       :data="warehouseList.records"
       style="width: 100%; margin-top: 10px"
-      height="780"
+      height="680"
     >
       <el-table-column type="index" label="序号">
         <template scope="scope">
@@ -58,12 +58,28 @@
       <el-table-column class="table_td" prop="goodsName" label="货名"></el-table-column>
       <el-table-column class="table_td" prop="buyer" label="买方"></el-table-column>
       <el-table-column class="table_td" prop="seller" label="卖方"></el-table-column>
+      <el-table-column class="table_td" prop="loan" label="货款(元)"></el-table-column>
+      <el-table-column class="table_td" prop="freight" label="运费(元)"></el-table-column>
+      <el-table-column width='100' class="table_td" prop="storageFee" label="仓储费(元)"></el-table-column>
+      <el-table-column class="table_td" prop="interest" label="利息(元)"></el-table-column>
       <el-table-column class="table_td" prop="collectionIngPayable" label="应收(元)"></el-table-column>
       <el-table-column class="table_td" prop="collectionEdPayable" label="已收(元)"></el-table-column>
       <el-table-column class="table_td" prop="collectionNotPayable" label="未收(元)"></el-table-column>
-      <el-table-column class="table_td" prop="outWeight" label="出货量(吨)"></el-table-column>
-      <el-table-column class="table_td" prop="alreadyInvoice" label="已开发票(元)"></el-table-column>
-      <el-table-column class="table_td" prop="notInvoice" label="未开发票(元)"></el-table-column>
+      <el-table-column width='100' class="table_td" prop="outWeight" label="出货量(吨)"></el-table-column>
+      <el-table-column width='120' class="table_td" prop="alreadyInvoice" label="已开发票(元)"></el-table-column>
+      <el-table-column width='120' class="table_td" prop="notInvoice" label="未开发票(元)"></el-table-column>
+      <el-table-column class="table_td" prop="notInvoice" label="附加">
+        <template slot-scope="scope">
+            <img
+              width="18"
+              height="20"
+              style="vertical-align: text-top; position: relative; top: -1px"
+              src="../../../public/img/fujian.png"
+              @click="fujian(scope.row)"
+              alt=""
+            />
+          </template>
+      </el-table-column>
       <el-table-column prop="status" label="状态">
             <template slot-scope="scope">
               <el-popover
@@ -85,9 +101,12 @@
             </template>
           </el-table-column>
       <el-table-column class="table_td" prop="updateDate" label="更新时间" width="130"></el-table-column>
-      <el-table-column prop="seller" label="操作" width="200">
+      <el-table-column prop="seller" label="操作" width='200'>
         <template slot-scope="scope">
           <div class="record" @click="dianlog(scope.row)">派发</div>
+          <div class="record" v-hasPermission="
+            `financial.collection.collectionInfo.edit`
+          " @click="edit(scope.row)">编辑</div>
         </template>
       </el-table-column>
     </el-table>
@@ -170,6 +189,82 @@
         </el-table>
       </el-form>
     </el-dialog>
+    <el-dialog width="60%" :visible.sync="editshow" :append-to-body="true">
+      <el-form>
+        <el-form-item label="货款(元)" :label-width="formLabelWidth">
+          <el-input
+              @input='calculate'
+              v-model="editlist.loan"
+              class="typeselect"
+              placeholder="请输入贷款"
+            />
+        </el-form-item>
+        <el-form-item label="运费(元)" :label-width="formLabelWidth">
+          <el-input
+          @input='calculate'
+              v-model="editlist.freight"
+              class="typeselect"
+              placeholder="请输入运费"
+            />
+        </el-form-item>
+        <el-form-item label="仓储费(元)" :label-width="formLabelWidth">
+          <el-input
+          @input='calculate'
+              v-model="editlist.storageFee"
+              class="typeselect"
+              placeholder="请输入仓储费"
+            />
+        </el-form-item>
+        <el-form-item label="利息(元)" :label-width="formLabelWidth">
+          <el-input
+          @input='calculate'
+              v-model="editlist.interest"
+              class="typeselect"
+              placeholder="请输入利息"
+            />
+        </el-form-item>
+        <el-form-item label="合计应收(元)" :label-width="formLabelWidth">
+          <el-input
+              v-model="editlist.collectionIngPayable"
+              class="typeselect"
+              placeholder=""
+            />
+        </el-form-item>
+        <el-form-item label="已收金额(元)" :label-width="formLabelWidth">
+          <el-input
+              v-model="editlist.collectionEdPayable"
+              class="typeselect"
+              placeholder="请输入已收金额"
+            />
+        </el-form-item>
+        <el-form-item label="已开发票(元)" :label-width="formLabelWidth">
+          <el-input
+              v-model="editlist.alreadyInvoice"
+              class="typeselect"
+              placeholder="请输入发票金额"
+            />
+        </el-form-item>
+      </el-form>
+       <div slot="footer" class="dialog-footer">
+              <el-button @click="editshow = false">取 消</el-button>
+              <el-button type="primary" @click="editconfirm">确 定</el-button>
+            </div>
+    </el-dialog>
+    <!-- 附件弹框 -->
+    <el-dialog width="60%" :visible.sync="accessoryTFs" :before-close="handlefujianClose" :append-to-body="true">
+      <p>查看附件</p>
+      <el-upload
+  class="avatar-uploader"
+  action="https://www.zthymaoyi.com/upload/admin"
+  :show-file-list="false"
+  :on-success="handleAvatarSuccess">
+  <i style='margin:0 auto;' class="el-icon-plus avatar-uploader-icon"></i>
+</el-upload>
+<div style='display:inline-block;' v-for='item in addressUrls'>
+  <img style='width:100px;height:100px;' :src="item" alt="">
+</div>
+
+   </el-dialog>
   </div>
 </template>
 <script>
@@ -178,7 +273,9 @@ import {
   paifa,
   kuguan,
   paiLook,
-  carDel
+  carDel,
+  examineinfo,
+  editinfo
 } from '@/model/financialManagement/index'
 import { downloadFile } from '@/utils/batchDown'
 import Pagination from '@/components/Pagination'
@@ -200,6 +297,15 @@ export default {
   },
   data() {
     return {
+      editlist:{
+        loan:0,
+        freight:0,
+        storageFee:0,
+        interest:0,
+        collectionIngPayable:0,
+        collectionEdPayable:0,
+        alreadyInvoice:0
+      },
       paifaDialogForm: {},
       paifaKuguanList: [],
       //弹出框
@@ -247,6 +353,7 @@ export default {
           agent: ''
         }
       ],
+      editshow:false,
       carNo: '',
       boxNo: '',
       titleNo: '',
@@ -321,6 +428,126 @@ export default {
     },
   },
   methods: {
+     handlefujianClose() {
+        this.accessoryTFs=false
+        this.getList()
+      },
+    fujian(row) {
+      this.addressUrls=row.addressUrl.split(',')
+      this.editlist.id=row.id
+      this.accessoryTFs=true
+    },
+    handleAvatarSuccess(res){
+      this.addressUrls.push(res.url)
+       editinfo({addressUrl:this.addressUrls.join(),id:this.editlist.id}).toPromise().then(response => {
+      })
+    },
+    calculate(){
+      if(this.editlist.loan&&this.editlist.freight&&this.editlist.storageFee&&this.editlist.interest){
+        this.editlist.collectionIngPayable=Number(this.editlist.loan)+Number(this.editlist.freight)+Number(this.editlist.storageFee)+Number(this.editlist.interest)
+      }else if(this.editlist.loan&&this.editlist.freight&&this.editlist.storageFee){
+        this.editlist.collectionIngPayable=Number(this.editlist.loan)+Number(this.editlist.freight)+Number(this.editlist.storageFee)
+      }else if(this.editlist.loan&&this.editlist.freight&&this.editlist.interest){
+        this.editlist.collectionIngPayable=Number(this.editlist.loan)+Number(this.editlist.freight)+Number(this.editlist.interest)
+      }else if(this.editlist.loan&&this.editlist.storageFee&&this.editlist.interest){
+        this.editlist.collectionIngPayable=Number(this.editlist.loan)+Number(this.editlist.storageFee)+Number(this.editlist.interest)
+      }else if(this.editlist.freight&&this.editlist.storageFee&&this.editlist.interest){
+        this.editlist.collectionIngPayable=Number(this.editlist.freight)+Number(this.editlist.storageFee)+Number(this.editlist.interest)
+      }else if(this.editlist.loan&&this.editlist.freight){
+        this.editlist.collectionIngPayable=Number(this.editlist.loan)+Number(this.editlist.freight)
+      }else if(this.editlist.loan&&this.editlist.storageFee){
+        this.editlist.collectionIngPayable=Number(this.editlist.loan)+Number(this.editlist.storageFee)
+      }else if(this.editlist.loan&&this.editlist.interest){
+        this.editlist.collectionIngPayable=Number(this.editlist.loan)+Numberthis.editlist.interest()
+      }else if(this.editlist.freight&&this.editlist.storageFee){
+        this.editlist.collectionIngPayable=Number(this.editlist.freight)+Number(this.editlist.storageFee)
+      }else if(this.editlist.freight&&this.editlist.interest){
+        this.editlist.collectionIngPayable=Number(this.editlist.freight)+Number(this.editlist.interest)
+      }else if(this.editlist.storageFee&&this.editlist.interest){
+        this.editlist.collectionIngPayable=Number(this.editlist.storageFee)+Number(this.editlist.interest)
+      }else if(this.editlist.loan){
+        this.editlist.collectionIngPayable=this.editlist.loan
+      }else if(this.editlist.freight){
+        this.editlist.collectionIngPayable=this.editlist.freight
+      }else if(this.editlist.storageFee){
+        this.editlist.collectionIngPayable=this.editlist.storageFee
+      }else if(this.editlist.interest){
+        this.editlist.collectionIngPayable=this.editlist.interest
+      }else{
+        this.editlist.collectionIngPayable=0
+      }
+    },
+    editconfirm(){
+      if(this.editlist.loan<0||this.editlist.loan>100000000|| String(this.editlist.loan).indexOf('.') != -1 &&
+            String(this.editlist.loan).length - String(this.editlist.loan).indexOf('.') + 1 >
+              2){
+         this.$message({
+              message: '货款输入错误!',
+              type: 'warning',
+            })
+        return
+      }
+      if(this.editlist.freight<0||this.editlist.freight>1000000|| String(this.editlist.freight).indexOf('.') != -1 &&
+            String(this.editlist.freight).length - String(this.editlist.freight).indexOf('.') + 1 >
+              2){
+         this.$message({
+              message: '运费输入错误!',
+              type: 'warning',
+            })
+        return
+      }
+      if(this.editlist.storageFee<0||this.editlist.storageFee>1000000|| String(this.editlist.storageFee).indexOf('.') != -1 &&
+            String(this.editlist.storageFee).length - String(this.editlist.storageFee).indexOf('.') + 1 >
+              2){
+         this.$message({
+              message: '仓储费输入错误!',
+              type: 'warning',
+            })
+        return
+      }
+      if(this.editlist.interest<0||this.editlist.interest>1000000|| String(this.editlist.interest).indexOf('.') != -1 &&
+            String(this.editlist.interest).length - String(this.editlist.interest).indexOf('.') + 1 >
+              2){
+         this.$message({
+              message: '利息输入错误!',
+              type: 'warning',
+            })
+        return
+      }
+      if(this.editlist.collectionEdPayable<0||this.editlist.collectionEdPayable>100000000|| String(this.editlist.collectionEdPayable).indexOf('.') != -1 &&
+            String(this.editlist.collectionEdPayable).length - String(this.editlist.collectionEdPayable).indexOf('.') + 1 >
+              2){
+         this.$message({
+              message: '已收金额输入错误!',
+              type: 'warning',
+            })
+        return
+      }
+      if(this.editlist.alreadyInvoice<0||this.editlist.alreadyInvoice>1000000|| String(this.editlist.alreadyInvoice).indexOf('.') != -1 &&
+            String(this.editlist.alreadyInvoice).length - String(this.editlist.alreadyInvoice).indexOf('.') + 1 >
+              2){
+         this.$message({
+              message: '发票金额输入错误!',
+              type: 'warning',
+            })
+        return
+      }
+      if(this.editlist.collectionEdPayable==0&&this.editlist.alreadyInvoice>0){
+         this.$message({
+              message: '发票金额不能超过已收金额!',
+              type: 'warning',
+            })
+        return
+      }
+      editinfo(this.editlist).toPromise().then(response => {
+        this.editshow=false
+        this.$message({
+              message: '编辑成功',
+              type: 'success',
+            })
+        this.getList()
+      })
+    },
     changeCarNo(e) {
       this.$forceUpdate()
       this.$set(this.freightspace[0],'carNo',e)
@@ -651,6 +878,12 @@ export default {
           return false
         })
     },
+    edit(item){
+      this.editshow=true
+      examineinfo({id:item.id}).toPromise().then(response => {
+          this.editlist=response
+      })
+    },
     selecttaskType(e) {
       for (var i = 0; i < this.taskTypeList.length; i++) {
         if (this.taskTypeList[i].value == e) {
@@ -826,6 +1059,11 @@ export default {
 .vertical-circle:first-child {
   color: red;
 }
+.avatar-uploader{
+  border:1px solid #ccc;
+  width:100px;height:100px;border-radius:3px;
+  line-height:100px;
+}
 .vertical-text {
   margin: 0 10px;
   color: #8890b1;
@@ -1076,4 +1314,7 @@ export default {
   border-bottom-left-radius: 0px;
   margin-top: 0px;
 }
+/deep/.el-upload--text{
+  width:100px;
+}
 </style>

+ 2 - 2
src/views/financialManagement/component/routers/route.js

@@ -8,7 +8,7 @@ const financialManagementRouter = {
   alwaysShow: true, // will always show the root menu
   meta: {
     title: 'financialManagement',
-    module: 'contractManagement',
+    module: 'financial.collection',
     icon: '-caiwuguanli'
   },
   children: [
@@ -21,7 +21,7 @@ const financialManagementRouter = {
       meta: {
         title: 'collectionManagementList',
         shortcutEntrance: 'financialManagement',
-        module: 'contractManagement.salesContract',
+        module: 'financial.collection.collectionInfo',
         permissicon: [],
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'

+ 5 - 5
src/views/platformaudit/component/router/route.js

@@ -8,7 +8,7 @@ const platformauditRouter = {
     alwaysShow: true, // will always show the root menu
     meta: {
       title: 'platformaudit',
-      module: '',
+      module: 'audit.driverMerchant',
       icon: '-shenhe'
     },
     children: [
@@ -22,7 +22,7 @@ const platformauditRouter = {
         meta: {
           title: 'grainmerchantreview',
           shortcutEntrance: 'grainmerchantreview',
-          module: 'warehouseManagement.warehouse.warehouseInfo',
+          module: 'audit.grainMerchant.grainMerchantInfo',
           permissicon: [],
           keepAlive: true
         },
@@ -37,7 +37,7 @@ const platformauditRouter = {
         meta: {
           title: 'driverreview',
           shortcutEntrance: 'driverreview',
-          module: 'warehouseManagement.warehouse.warehouseInfo',
+          module: 'audit.driverMerchant.driverMerchantInfo',
           permissicon: [],
           keepAlive: true
         },
@@ -52,7 +52,7 @@ const platformauditRouter = {
         meta: {
           title: 'transactioninformationreview',
           shortcutEntrance: 'transactioninformationreview',
-          module: 'warehouseManagement.warehouse.warehouseInfo',
+          module: 'audit.tranMerchant.tranMerchantInfo',
           permissicon: [],
           keepAlive: true
         },
@@ -67,7 +67,7 @@ const platformauditRouter = {
         meta: {
           title: 'saletransactioninformationreview',
           shortcutEntrance: 'saletransactioninformationreview',
-          module: 'warehouseManagement.warehouse.warehouseInfo',
+          module: 'audit.tranMerchant.tranMerchantInfo',
           permissicon: [],
           keepAlive: true
         },

+ 27 - 8
src/views/platformaudit/driverreview.vue

@@ -4,9 +4,6 @@
     <BaseHeaderLayout :leftSpan="15">
       <template slot="left"> </template>
       <template slot="right">
-        <span style="width: 70px; display: inline-block; color: #8890b1"
-          >状态:</span
-        >
         <ws-select
           v-model="searchTypeText"
           placeholder=""
@@ -158,7 +155,6 @@
             <ws-select
               v-model="scope.row.carNumber"
               placeholder=""
-              class="typeselect"
               @change="selectcar($event, scope.row)"
             >
               <ws-option
@@ -238,6 +234,9 @@
               type="text"
               class="record"
               v-if="scope.row.authenticationStatusKey==1"
+              v-hasPermission="
+            `audit.driverMerchant.driverMerchantInfo.view`
+          "
               @click="reject(scope.row)"
               >驳回</el-button
             >
@@ -246,13 +245,19 @@
               type="text"
               class="record"
               v-if="scope.row.authenticationStatusKey==1"
+              v-hasPermission="
+            `audit.driverMerchant.driverMerchantInfo.view`
+          "
               @click="adopt(scope.row)"
               >通过</el-button
             >
-             <template v-else-if="scope.row.authenticationStatusKey == 3" slot-scope="scope">
+             <template v-hasPermission="
+            `audit.driverMerchant.driverMerchantInfo.view`
+          " v-else-if="scope.row.authenticationStatusKey == 3" slot-scope="scope">
               已驳回
             </template>
-            <template v-else slot-scope="scope"> 
+            <template v-hasPermission="
+            `audit.driverMerchant.driverMerchantInfo.view`" v-else slot-scope="scope"> 
             {{ scope.row.authenticationStatus}}
           </template>
           </template>
@@ -531,6 +536,9 @@ export default {
         .toPromise()
         .then((response) => {
           for (var i = 0; i < response.records.length; i++) {
+            response.records[i].carNumber =''
+            response.records[i].carModel =''
+            response.records[i].carLength =''
             response.records[i].expandsStatus = false
             if (response.records[i].addressUrl != null) {
               response.records[i].addressUrlArray =
@@ -539,8 +547,16 @@ export default {
             } else {
               response.records[i].addressUrlArray = []
             }
+            if(response.records[i].driverCarInfoList.length>0){
+              response.records[i].carNumber =
+              response.records[i].driverCarInfoList[0].carNumber
+              response.records[i].carModel =
+              response.records[i].driverCarInfoList[0].carModel
+              response.records[i].carLength =
+              response.records[i].driverCarInfoList[0].carLength
+            }
           }
-
+            
           this.deptCircularPage.currentPage = response.current
           this.deptCircularPage.pageSize = response.size
           this.deptBudgetTotal = response.total
@@ -553,6 +569,7 @@ export default {
           this.searchType = this.searchTypeList[i].type
         }
       }
+      this.getList()
     },
     fujian(row) {
       if (row.addressUrl === null || row.addressUrl === '') {
@@ -636,7 +653,9 @@ export default {
   color: #8890b1;
   font-size: 12px;
 }
-
+.typeselect{
+  margin-right:10px;
+}
 /deep/.ws-info-table .el-form-item.company,
 /deep/.ws-info-table .el-form-item.personage {
   width: 33.333%;

+ 36 - 14
src/views/platformaudit/grainmerchantreview.vue

@@ -4,9 +4,6 @@
     <BaseHeaderLayout :leftSpan="15">
       <template slot="left"> </template>
       <template slot="right">
-        <span style="width: 70px; display: inline-block; color: #8890b1"
-          >状态:</span
-        >
         <ws-select
           v-model="searchTypeText"
           placeholder=""
@@ -54,7 +51,7 @@
         ref="expandstable"
         :expand-row-keys="expands"
         :row-key="getRowKeys"
-        height="780"
+        height="680"
       >
         <el-table-column type="expand">
           <template slot-scope="props">
@@ -255,9 +252,29 @@
       <p>查看附件</p>
       <div
         style="display: inline-block; margin: 5px"
-        v-for="item in appendixIdss"
+        v-if='accessoryimages.businessLicenseAddressUrl'
+      >
+        <img width="100" height="100" :src="accessoryimages.businessLicenseAddressUrl" alt="" />
+      </div>
+      <div
+        style="display: inline-block; margin: 5px"
+      >
+        <img width="100" height="100" :src="accessoryimages.cardAddressUrl" alt="" />
+      </div>
+      <div
+        style="display: inline-block; margin: 5px"
+      >
+        <img width="100" height="100" :src="accessoryimages.cardAddressUrl1" alt="" />
+      </div>
+      <div
+        style="display: inline-block; margin: 5px"
       >
-        <img width="100" height="100" :src="item" alt="" />
+        <img width="100" height="100" :src="accessoryimages.payeeAddressUrl" alt="" />
+      </div>
+      <div
+        style="display: inline-block; margin: 5px"
+      >
+        <img width="100" height="100" :src="accessoryimages.payeeAddressUrl" alt="" />
       </div>
     </WinseaContentModal>
     <WinseaContentModal
@@ -306,6 +323,7 @@ export default {
       showType: true,
       // 年
       year: '',
+      accessoryimages:{},
       deptBudgetTotal: 0,
       currentPage: 1,
       pageSize: 10,
@@ -524,6 +542,7 @@ export default {
           this.searchType = this.searchTypeList[i].type
         }
       }
+      this.getList()
     },
     handlestatus(status) {
       this.searchType = status
@@ -537,15 +556,15 @@ export default {
       this.getList()
     },
     fujian(row) {
-      if (row.addressUrl === null || row.addressUrl === '') {
-        EventBus.$emit(
-          'warning',
-          this.$t('system.noticeCircular.NoInformation')
-        )
-      } else {
-        this.accessoryTFs = true
+      console.log(row)
+      if(row.customerTypeFlag==2){
+        this.accessoryimages.businessLicenseAddressUrl=row.businessLicenseAddressUrl
       }
-      this.appendixIdss = row.addressUrlArray
+      this.accessoryimages.cardAddressUrl=row.cardAddressUrl.split(',')[0]
+      this.accessoryimages.cardAddressUrl1=row.cardAddressUrl.split(',')[1]
+      this.accessoryimages.payeeAddressUrl=row.payeeAddressUrl.split(',')[0]
+      this.accessoryimages.payeeAddressUrl1=row.payeeAddressUrl.split(',')[1]
+      this.accessoryTFs=true
     },
     fujian1(item) {
       if (item.cardAddressUrl === null || item.cardAddressUrl === '') {
@@ -586,6 +605,9 @@ export default {
 }
 </script>
 <style lang="scss" scoped>
+.typeselect{
+  margin-right:10px;
+}
 .connert {
   width: 90%;
   margin: 0 auto;

+ 14 - 8
src/views/platformaudit/saletransactioninformationreview.vue

@@ -3,9 +3,6 @@
   <div>
     <BaseHeaderLayout :leftSpan="15">
       <template slot="right">
-        <span style="width: 70px; display: inline-block; color: #8890b1"
-          >状态:</span
-        >
         <ws-select
           v-model="searchTypeText"
           placeholder=""
@@ -49,7 +46,7 @@
         class="wenzi"
         :data="tranManagementList.records"
         style="width: 100%"
-        height="780"
+        height="680"
       >
         <el-table-column type="index" label="序号" width="50">
           <template scope="scope">
@@ -79,21 +76,21 @@
               class="record"
               @click="nocomplete(scope.row)"
               v-hasPermission="
-           `warehouseManagement.warehouse.warehouseInfoTask.View`
+           `audit.tranMerchant.tranMerchantInfo.view`
           "
             >查看</div>
             <div
               class="record"
               @click="delivery(scope.row)"
               v-hasPermission="
-           `transportationTask.transportation.transportationInfo.edit`
+           `audit.tranMerchant.tranMerchantInfo.view`
           "
             >编辑</div>
             <div
               class="record"
               @click="deleteclick(scope.row)"
               v-hasPermission="
-           `transportationTask.transportation.transportationInfo.delete`
+           `audit.tranMerchant.tranMerchantInfo.view`
           "
             >删除</div>
           </template>
@@ -105,6 +102,9 @@
               type="text"
               class="record"
               v-if="scope.row.statusFlag==1"
+              v-hasPermission="
+           `audit.tranMerchant.tranMerchantInfo.view`
+          "
               @click="reject(scope.row)"
               >驳回</el-button
             >
@@ -114,9 +114,14 @@
               class="record"
               v-if="scope.row.statusFlag==1"
               @click="adopt(scope.row)"
+              v-hasPermission="
+           `audit.tranMerchant.tranMerchantInfo.view`
+          "
               >通过</el-button
             >
-            <template v-else slot-scope="scope"> 
+            <template v-else v-hasPermission="
+           `audit.tranMerchant.tranMerchantInfo.view`
+          " slot-scope="scope"> 
             {{ scope.row.status}}
           </template>
           </template>
@@ -288,6 +293,7 @@ export default {
           this.searchType = this.searchTypeList[i].type
         }
       }
+      this.getList()
     },
     //审核通过
     adopt(row) {

+ 14 - 8
src/views/platformaudit/transactioninformationreview.vue

@@ -3,9 +3,6 @@
   <div>
     <BaseHeaderLayout :leftSpan="15">
       <template slot="right">
-        <span style="width: 70px; display: inline-block; color: #8890b1"
-          >状态:</span
-        >
         <ws-select
           v-model="searchTypeText"
           placeholder=""
@@ -49,7 +46,7 @@
         class="wenzi"
         :data="tranManagementList.records"
         style="width: 100%"
-        height="780"
+        height="680"
       >
         <el-table-column type="index" label="序号" width="50">
           <template scope="scope">
@@ -79,21 +76,21 @@
               class="record"
               @click="nocomplete(scope.row)"
               v-hasPermission="
-           `warehouseManagement.warehouse.warehouseInfoTask.View`
+           `audit.tranMerchant.tranMerchantInfo.view`
           "
             >查看</div>
             <div
               class="record"
               @click="delivery(scope.row)"
               v-hasPermission="
-           `transportationTask.transportation.transportationInfo.edit`
+           `audit.tranMerchant.tranMerchantInfo.view`
           "
             >编辑</div>
             <div
               class="record"
               @click="deleteclick(scope.row)"
               v-hasPermission="
-           `transportationTask.transportation.transportationInfo.delete`
+           `audit.tranMerchant.tranMerchantInfo.view`
           "
             >删除</div>
           </template>
@@ -105,6 +102,9 @@
               type="text"
               class="record"
               v-if="scope.row.statusFlag==1"
+              v-hasPermission="
+           `audit.tranMerchant.tranMerchantInfo.view`
+          "
               @click="reject(scope.row)"
               >驳回</el-button
             >
@@ -113,10 +113,15 @@
               type="text"
               class="record"
               v-if="scope.row.statusFlag==1"
+              v-hasPermission="
+           `audit.tranMerchant.tranMerchantInfo.view`
+          "
               @click="adopt(scope.row)"
               >通过</el-button
             >
-            <template v-else slot-scope="scope"> 
+            <template v-else v-hasPermission="
+           `audit.tranMerchant.tranMerchantInfo.view`
+          " slot-scope="scope"> 
             {{ scope.row.status}}
           </template>
           </template>
@@ -288,6 +293,7 @@ export default {
           this.searchType = this.searchTypeList[i].type
         }
       }
+      this.getList()
     },
     //审核通过
     adopt(row) {

+ 6 - 6
src/views/purchasingManagement/component/routers/route.js

@@ -8,7 +8,7 @@ const purchasingManagementRouter = {
   alwaysShow: true, // will always show the root menu
   meta: {
     title: 'purchasingManagement',
-    module: 'contractManagement',
+    module: 'procurement',
     icon: '-caigouguanli'
   },
   children: [
@@ -21,7 +21,7 @@ const purchasingManagementRouter = {
       meta: {
         title: 'procurementPlanList',
         shortcutEntrance: 'purchasingManagement',
-        module: 'contractManagement.salesContract',
+        module: 'procurement.procurementPlan',
         permissicon: [],
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
@@ -36,7 +36,7 @@ const purchasingManagementRouter = {
       meta: {
         title: 'procurementPlanAdd',
         shortcutEntrance: 'purchasingManagement',
-        module: 'contractManagement.salesContract',
+        module: 'procurement.procurementPlan.procurementInfo.add',
         permissicon: [],
         keepAlive: true
       },
@@ -51,7 +51,7 @@ const purchasingManagementRouter = {
       meta: {
         title: 'procurementPlanEdit',
         shortcutEntrance: 'purchasingManagement',
-        module: 'contractManagement.salesContract',
+        module: 'procurement.procurementPlan.procurementInfo.edit',
         permissicon: [],
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
@@ -66,7 +66,7 @@ const purchasingManagementRouter = {
       meta: {
         title: 'procurementPlanLook',
         shortcutEntrance: 'purchasingManagement',
-        module: 'contractManagement.salesContract',
+        module: 'procurement.procurementPlan.procurementInfo.view',
         permissicon: [],
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'
@@ -82,7 +82,7 @@ const purchasingManagementRouter = {
       meta: {
         title: 'purchaseOrderList',
         shortcutEntrance: 'purchasingManagement',
-        module: 'contractManagement.salesContract',
+        module: 'procurement.procurementOrder.view',
         permissicon: [],
         keepAlive: true
         // module: 'procurement.sparepart.applDetail'

+ 1 - 1
src/views/purchasingManagement/procurementPlanEdit.vue

@@ -472,7 +472,7 @@ export default {
     returnsales() {
       this.dataList = {}
       // this.selectedOptions = ''
-      this.$router.push({ path: 'procurementPlanList' })
+      this.$router.go(-1)
     },
     // 获取当前年月日
     getdate() {

+ 12 - 4
src/views/purchasingManagement/procurementPlanList.vue

@@ -3,7 +3,9 @@
   <div class="container">
     <BaseHeaderLayout :leftSpan="10">
       <template slot="left">
-        <ws-button type="primary" @click="handleAdd()">添加</ws-button>
+        <ws-button type="primary" v-hasPermission="
+            `procurement.procurementPlan.procurementInfo.add`
+          " @click="handleAdd()">添加</ws-button>
       </template>
 
       <!-- 接单开始 -->
@@ -187,9 +189,15 @@
       ></el-table-column>
       <el-table-column prop="seller" label="操作" width="300">
         <template slot-scope="scope">
-          <div class="record" @click="handleLook(scope.row)">查看</div>
-          <div class="record" @click="handleEdit(scope.row)">编辑</div>
-          <div class="record" @click="handleDelete(scope.row)">删除</div>
+          <div class="record"  v-hasPermission="
+            `procurement.procurementPlan.procurementInfo.view`
+          " @click="handleLook(scope.row)">查看</div>
+          <div class="record" v-hasPermission="
+            `procurement.procurementPlan.procurementInfo.edit`
+          " @click="handleEdit(scope.row)">编辑</div>
+          <div class="record" v-hasPermission="
+            `procurement.procurementPlan.procurementInfo.delete`
+          " @click="handleDelete(scope.row)">删除</div>
         </template>
       </el-table-column>
     </el-table>

+ 1 - 1
src/views/purchasingManagement/procurementPlanLook.vue

@@ -267,7 +267,7 @@ export default {
       this.$router.go(-1)
     },
     returnsales() {
-      this.$router.push({ path: 'procurementPlanList' })
+      this.$router.go(-1)
     },
     // 获取当前年月日
     getdate() {

+ 1 - 1
src/views/salesManagement/salesPlanEdit.vue

@@ -414,7 +414,7 @@ export default {
     returnsales() {
       this.dataList = {}
       // this.selectedOptions = ''
-      this.$router.push({ path: 'salesPlanList' })
+      this.$router.go(-1)
     },
     // 获取当前年月日
     getdate() {

+ 1 - 1
src/views/salesManagement/salesPlanLook.vue

@@ -265,7 +265,7 @@ export default {
       this.$router.go(-1)
     },
     returnsales() {
-      this.$router.push({ path: 'salesPlanList' })
+      this.$router.go(-1)
     },
     // 获取当前年月日
     getdate() {