瀏覽代碼

前端fjy

gjy 3 年之前
父節點
當前提交
d9679a7aad
共有 53 個文件被更改,包括 590 次插入885 次删除
  1. 2 2
      public/static/inspection.html
  2. 21 19
      public/static/payprint.html
  3. 1 1
      public/static/weightCheck.html
  4. 2 0
      src/api/V2/houseSelfCollect/index.js
  5. 1 1
      src/api/V2/statisticalReport/index.js
  6. 3 0
      src/model/houseSelfCollect/index.js
  7. 2 2
      src/model/statisticalReport/index.js
  8. 6 1
      src/router/index.js
  9. 9 2
      src/store/modules/permission.js
  10. 7 7
      src/views/contractManagement/futuresPurchaseContractAdd.vue
  11. 7 7
      src/views/contractManagement/futuresPurchaseContractEdit.vue
  12. 1 1
      src/views/contractManagement/futuresPurchaseContractExamine.vue
  13. 7 7
      src/views/contractManagement/futuresSalesContractAdd.vue
  14. 7 7
      src/views/contractManagement/futuresSalesContractEdit.vue
  15. 1 1
      src/views/contractManagement/futuresSalesContractExamine.vue
  16. 6 6
      src/views/contractManagement/purchaseContractAdd.vue
  17. 3 3
      src/views/contractManagement/purchaseContractEdit.vue
  18. 1 1
      src/views/contractManagement/purchaseContractExamine.vue
  19. 6 6
      src/views/contractManagement/salesContractAdd.vue
  20. 7 7
      src/views/contractManagement/salesContractEdit.vue
  21. 1 1
      src/views/contractManagement/salesContractExamine.vue
  22. 2 0
      src/views/home/service.js
  23. 4 3
      src/views/houseSelfCollect/acquisitionManagement.vue
  24. 4 28
      src/views/houseSelfCollect/acquisitionManagementAdd.vue
  25. 1 1
      src/views/houseSelfCollect/component/inspectInfoPrint.vue
  26. 34 22
      src/views/houseSelfCollect/component/paymentPrint.vue
  27. 6 6
      src/views/houseSelfCollect/component/routers/route.js
  28. 1 1
      src/views/houseSelfCollect/component/weightCheckPrint.vue
  29. 13 11
      src/views/houseSelfCollect/customerManagement.vue
  30. 19 12
      src/views/houseSelfCollect/customerManagementAdd.vue
  31. 4 6
      src/views/houseSelfCollect/inspectInfo.vue
  32. 5 15
      src/views/houseSelfCollect/inspectionManagement.vue
  33. 11 46
      src/views/houseSelfCollect/paymentManagement.vue
  34. 7 5
      src/views/houseSelfCollect/settlement.vue
  35. 3 20
      src/views/houseSelfCollect/weighingManagement.vue
  36. 2 4
      src/views/houseSelfCollect/weightCheck.vue
  37. 3 3
      src/views/outboundManagement/collectionment.vue
  38. 3 3
      src/views/outboundManagement/qualityInspection.vue
  39. 1 1
      src/views/purchasingManagement/procurementPlanEdit.vue
  40. 1 1
      src/views/purchasingManagement/procurementPlanLook.vue
  41. 1 1
      src/views/salesManagement/salesPlanEdit.vue
  42. 260 514
      src/views/statisticalReport/stockPurchaseReceiptReportList.vue
  43. 6 6
      src/views/taskManagement/inOutWarehouseTaskEdit.vue
  44. 29 26
      src/views/taskManagement/tranManagementWarehouseInOutTaskAdd.vue
  45. 6 6
      src/views/taskManagement/tranManagementWarehouseInOutTaskAudit.vue
  46. 6 6
      src/views/taskManagement/tranManagementWarehouseInOutTaskEdit.vue
  47. 15 15
      src/views/warehouse/warehouseManagementDelivery.vue
  48. 10 10
      src/views/warehouse/warehouseManagementPerfectDelivery.vue
  49. 10 10
      src/views/warehouse/warehouseManagementPerfectput.vue
  50. 15 15
      src/views/warehouse/warehouseManagementPut.vue
  51. 2 2
      src/views/warehouse/warehouseManagementPutOutLook.vue
  52. 2 2
      src/views/warehouse/warehouseManagementRecord.vue
  53. 3 2
      vue.config.js

+ 2 - 2
public/static/inspection.html

@@ -143,7 +143,7 @@
             <td class="col">{{tableData.type}}</td>
             <td class="col col-bgc">容量(克/升)</td>
             <td class="col">{{tableData.bulkDensity}}</td>
-            <td class="col col-bgc">不完粒(%)</td>
+            <td class="col col-bgc">不完粒(%)</td>
             <td class="col">{{tableData.imperfectGrain}}</td>
           </tr>
           <tr class="row">
@@ -226,7 +226,7 @@
           <div>{{tableData.bulkDensity}}</div>
         </div>
         <div class="small-row">
-          <div>不完粒(%)</div>
+          <div>不完粒(%)</div>
           <div>{{tableData.imperfectGrain}}</div>
         </div>
         <div class="small-row">

+ 21 - 19
public/static/payprint.html

@@ -156,7 +156,7 @@
             <div>No.</div>
           </div>
           <div class="header-top">
-            <div>开票日期:{{date}}</div>
+            <div>开票日期:{{printData.currentTime}}</div>
             <div class="number">{{100000000000000}}</div>
           </div>
           <table class="table">
@@ -164,7 +164,7 @@
               <td rowspan="4" class="col col-bgc">买方</td>
               <td class="col col-bgc">单位名称</td>
               <td class="col" colspan="3">{{printData.compName}}</td>
-              <td rowspan="4" class="col col-bgc">方</td>
+              <td rowspan="4" class="col col-bgc">方</td>
               <td class="col col-bgc">姓名</td>
               <td class="col" colspan="3">{{printData.customerName}}</td>
             </tr>
@@ -172,19 +172,19 @@
               <td class="col col-bgc">税务登记号</td>
               <td class="col" colspan="3">{{ printData.taxRegistrationNo}}</td>
               <td class="col col-bgc">身份证号</td>
-              <td class="col" colspan="3">{{printData.customerNumberCard}}</td>
+              <td class="col" colspan="3">{{printData.identityAuthenticationInfo.customerNumberCard}}</td>
             </tr>
             <tr class="row">
               <td class="col col-bgc">化验单号</td>
               <td class="col" colspan="3">{{printData.paymentNo}}</td>
               <td class="col col-bgc">卡号</td>
-              <td class="col" colspan="3">{{printData.bankCard}}</td>
+              <td class="col" colspan="3">{{printData.identityAuthenticationInfo.bankDeposit}}{{printData.identityAuthenticationInfo.bankCard}}</td>
             </tr>
             <tr class="row">
               <td class="col col-bgc">收货仓库</td>
               <td class="col" colspan="3">{{printData.warehouseName}}</td>
               <td class="col col-bgc">地址</td>
-              <td class="col" colspan="3">{{printData.compAddress}}</td>
+              <td class="col" colspan="3">{{printData.identityAuthenticationInfo.compAddress}}</td>
             </tr>
             <tr class="row">
               <td class="col col-bgc">货名</td>
@@ -201,17 +201,18 @@
             <tr class="row">
               <td class="col">{{printData.goodsName}}</td>
               <td class="col">{{printData.type}}</td>
-              <td class="col">{{printData.grade}}</td>
-              <td class="col">{{printData.waterContent}}</td>
-              <td class="col">{{printData.impurity}}</td>
+              <td class="col">{{printData.qualityInspectionManagement.grade}}</td>
+              <td class="col">{{printData.qualityInspectionManagement.waterContent}}</td>
+              <td class="col">{{printData.qualityInspectionManagement.impurity}}</td>
               <td class="col">{{printData.grossWeight}}</td>
               <td class="col">{{printData.tare}}</td>
-              <td class="col">{{printData.buckleMiscellaneous}}</td>
+              <td class="col">{{printData.qualityInspectionManagement.buckleWeightRatio}}</td>
               <td class="col">{{printData.netWeight}}</td>
               <td class="col">{{printData.pureWeight}}</td>
             </tr>
             <tr class="row">
-              <td class="col col-bgc">净重单价</td>
+              <td class="col col-bgc" v-if="printData.type == '潮粮'">净重单价</td>
+              <td class="col col-bgc" v-if="printData.type == '干粮'">单价</td>
               <td class="col col-bgc">粮款</td>
               <td class="col col-bgc">称重补助</td>
               <td class="col col-bgc">运费补助</td>
@@ -223,7 +224,8 @@
               <td class="col col-bgc">质量扣款</td>
             </tr>
             <tr class="row">
-              <td class="col ">{{printData.tidalGrainPrice}}</td>
+              <td class="col " v-if="printData.type == '潮粮'">{{printData.tidalGrainPrice}}</td>
+              <td class="col " v-if="printData.type == '干粮'">{{printData.qualityInspectionManagement.dryGrainPrice}}</td>
               <td class="col ">{{printData.grainMoney}}</td>
               <td class="col ">{{printData.weighingSubsidy}}</td>
               <td class="col ">{{printData.freightSubsidy}}</td>
@@ -236,7 +238,7 @@
             </tr>
             <tr class="row">
               <td class="col col-bgc">其他扣款</td>
-              <td class="col col-bgc">纯重单价</td>
+              <td class="col col-bgc" v-if="printData.type == '潮粮'">纯重单价</td>
               <td class="col col-bgc">合计应付</td>
               <td class="col col-bgc">购粮性质</td>
               <td class="col col-bgc">车牌号</td>
@@ -244,9 +246,9 @@
             </tr>
             <tr class="row">
               <td class="col ">{{printData.otherDeduction}}</td>
-              <td class="col ">{{printData.solidGrainPrice}}</td>
+              <td class="col " v-if="printData.type == '潮粮'">{{printData.solidGrainPrice}}</td>
               <td class="col ">{{printData.calculationPayable}}</td>
-              <td class="col ">{{printData.natureOfGrainPurchase}}</td>
+              <td class="col ">{{printData.qualityInspectionManagement.natureOfGrainPurchase}}</td>
               <td class="col ">{{printData.carNo}}</td>
               <td class="col " colspan="5">{{printData.remarks}}</td>
             </tr>
@@ -261,12 +263,12 @@
 
           <div class="bottom">
             <div class="bottom-row1">
-              <div>质检:{{printData.qualityInspector}}</div>
-              <div>毛检:{{printData.secretaryWeigher}}</div>
-              <div>皮检:{{printData.skinInspector}}</div>
+              <div>质检:{{printData.qualityInspectionManagement.qualityInspector}}</div>
+              <div>毛检:{{printData.weighingManagement.secretaryWeigher}}</div>
+              <div>皮检:{{printData.weighingManagement.skinInspector}}</div>
               <div>结算:{{printData.settlementClerk}}</div>
-              <div>付款:{{printData.actualPayment}}</div>
-              <div>复点:{{}}</div>
+              <div>付款:{{printData.cashier}}</div>
+              <div>复点:{{printData.qualityInspector}}</div>
             </div>
             <div class="bottom-row2">
               <div class="left">

+ 1 - 1
public/static/weightCheck.html

@@ -146,7 +146,7 @@
             <td class="col">{{tableData.type}}</td>
             <td class="col col-bgc">容量(克/升)</td>
             <td class="col">{{tableData.qualityInspectionManagement.bulkDensity}}</td>
-            <td class="col col-bgc">不完粒(%)</td>
+            <td class="col col-bgc">不完粒(%)</td>
             <td class="col">{{tableData.qualityInspectionManagement.imperfectGrain}}</td>
           </tr>
           <tr class="row">

+ 2 - 0
src/api/V2/houseSelfCollect/index.js

@@ -34,6 +34,8 @@ export const API_POST_INSPECT_ADD = '/qualityInspectionManagement/api/addQuality
 export const API_GET_INSPECT_GETBINNUMBER = '/warehouseBaseInfo/getWarehouse'
 //客户下拉
 export const API_GET_INSPECT_GETCUSTOMER = '/identityAuthenticationInfo/identityAuthenticationInfoCustomer'
+//获取二维码
+export const API_GET_INSPECT_GETQRCODE = '/identityAuthenticationInfo/generateQRCodeImage'
 //质检列表
 export const API_GET_INSPECT_GETINSPECTLIST = '/qualityInspectionManagement/selectQualityInspection'
 //质检查看

+ 1 - 1
src/api/V2/statisticalReport/index.js

@@ -80,4 +80,4 @@ export const API_POST_ADDDISORREMARKS = '/stockPurchaseReceiptReport/api/disAndR
 //现货采购入库修改结算重量
 export const API_POST_EDITSETTLEMENTWEIGHT = '/stockPurchaseReceiptReport/api/edit'
 //现货采购入库合同
-export const API_GET_STOCK_PURCHASE_CONTRACTNO = '/stockPurchaseReceiptReport/selectContractNoList'
+export const API_GET_STOCK_PURCHASE_CONTRACTNO = '/stockPurchaseReceiptReport/selectContractNoList'

+ 3 - 0
src/model/houseSelfCollect/index.js

@@ -18,6 +18,7 @@ import {
   API_POST_INSPECT_ADD,
   API_GET_INSPECT_GETBINNUMBER,
   API_GET_INSPECT_GETCUSTOMER,
+  API_GET_INSPECT_GETQRCODE,
   API_GET_INSPECT_GETINSPECTLIST,
   API_GET_INSPECT_GETINSPECTLOOK,
   API_GET_INSPECT_GETINSPECTLOOKUNITPRICE,
@@ -79,6 +80,8 @@ export const inspectAdd = appRx.post(API_POST_INSPECT_ADD, errorCatcher, errorHa
 export const getbinNumber = appRx.get(API_GET_INSPECT_GETBINNUMBER, errorCatcher, errorHandle, filter)
 //客户下拉
 export const getcustomer = appRx.get(API_GET_INSPECT_GETCUSTOMER, errorCatcher, errorHandle, filter)
+//获取二维码
+export const getQRCode = appRx.get(API_GET_INSPECT_GETQRCODE, errorCatcher, errorHandle, filter)
 //质检列表
 export const getinspectList = appRx.get(API_GET_INSPECT_GETINSPECTLIST, errorCatcher, errorHandle, filter)
 //质检查看

+ 2 - 2
src/model/statisticalReport/index.js

@@ -38,7 +38,7 @@ import {
     API_POST_STOCKPURCHASEPAYMONEY,
     API_POST_ADDDISORREMARKS,
     API_POST_EDITSETTLEMENTWEIGHT,
-    API_GET_STOCKPURCHASECONTRACTNOLIST
+    API_GET_STOCK_PURCHASE_CONTRACTNO,
 } from '@/api/V2/statisticalReport'
 //期货采购入库报表
 export const getpurchreceipt = appRx.get(API_GET_PURCHRECEIPT, errorCatcher, errorHandle, filter)
@@ -123,4 +123,4 @@ export const addDisOrRemarks = appRx.post(API_POST_ADDDISORREMARKS, errorCatcher
 //现货采购入库修改结算重量
 export const editSettlementWeight = appRx.post(API_POST_EDITSETTLEMENTWEIGHT, errorCatcher, errorHandle, filter)
 //现货采购入库合同编号下拉
-export const getStockPurchaseContractNoList = appRx.get(API_GET_STOCKPURCHASECONTRACTNOLIST, errorCatcher, errorHandle, filter)
+export const getStockPurchaseContractNoList = appRx.get(API_GET_STOCK_PURCHASE_CONTRACTNO, errorCatcher, errorHandle, filter)

+ 6 - 1
src/router/index.js

@@ -4,7 +4,7 @@ import page from '@/config/page'
 import store from '@/vendors/vuex'
 import { renewalHead } from '@/model/indexRx'
 
-
+import { clearStorage } from '../utils/auth'
 Vue.use(Router)
 
 // 组件实验室
@@ -217,6 +217,11 @@ router.beforeEach(async (to, from, next) => {
     renewalHead(data).toPromise().then(() => {
       next()
     })
+    .catch((err) => {
+      clearStorage()
+      resetRouter()
+      next(`/login?redirect=${to.path}`);
+    })
   } else {
     next()
   }

+ 9 - 2
src/store/modules/permission.js

@@ -1,11 +1,12 @@
 import {
   asyncRoutes,
-  constantRoutes
+  constantRoutes,
+  resetRouter
 } from '@/router';
 import {
   getRoule
 } from '@/model/indexRx'
-
+import { clearStorage } from '../../utils/auth'
 /**
  * 递归过滤异步路由表,返回符合用户角色权限的路由表
  * @param routes asyncRoutes
@@ -123,6 +124,12 @@ const actions = {
   }) {
     return new Promise(async resolve => {
       const data = await getRoule().toPromise()
+      .catch((err) => {
+        clearStorage()
+        resetRouter()
+        window.location.href="https://www.eliangeyun.com"
+      })
+        
       const roles = [];
       handleRoles(data, roles, '');
       // console.log(roles)

+ 7 - 7
src/views/contractManagement/futuresPurchaseContractAdd.vue

@@ -420,8 +420,8 @@
           />
         </ws-form-item>
 
-        <!--容量(克/升)>=-->
-        <ws-form-item label="容量(克/升)" span="1" prop="bulkDensity">
+        <!--容重(克/升)>=-->
+        <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.bulkDensity"
             placeholder="请输入容重"
@@ -449,17 +449,17 @@
             size="small"
           />
         </ws-form-item>
-        <!--不完粒(%)<=-->
-        <ws-form-item label="不完整粒(%)" span="1" prop="imperfectGrain">
+        <!--不完粒(%)<=-->
+        <ws-form-item label="不完善粒(%)<=" span="1" prop="imperfectGrain">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.imperfectGrain"
-            placeholder="请输入不完粒占比(%)"
+            placeholder="请输入不完粒占比(%)"
             maxlength="100"
             size="small"
           />
         </ws-form-item>
         <!--蛋白(%)>=-->
-        <ws-form-item label="蛋白(%)" span="1" prop="protein">
+        <ws-form-item label="蛋白(%)>=" span="1" prop="protein">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.protein"
             placeholder="请输入蛋白占比(%)"
@@ -1335,7 +1335,7 @@ export default {
             2||this.deptBudgetList.contractGoodsInfo.imperfectGrain>40||this.deptBudgetList.contractGoodsInfo.imperfectGrain<0)
       ) {
         this.$message({
-          message: '不完粒输入错误',
+          message: '不完粒输入错误',
           type: 'warning',
         })
         return

+ 7 - 7
src/views/contractManagement/futuresPurchaseContractEdit.vue

@@ -418,8 +418,8 @@
           />
         </ws-form-item>
 
-        <!--容量(克/升)>=-->
-        <ws-form-item label="容量(克/升)" span="1" prop="bulkDensity">
+        <!--容重(克/升)>=-->
+        <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.bulkDensity"
             placeholder="请输入容重"
@@ -447,17 +447,17 @@
             size="small"
           />
         </ws-form-item>
-        <!--不完粒(%)<=-->
-        <ws-form-item label="不完整粒(%)" span="1" prop="imperfectGrain">
+        <!--不完粒(%)<=-->
+        <ws-form-item label="不完善粒(%)<=" span="1" prop="imperfectGrain">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.imperfectGrain"
-            placeholder="请输入不完粒占比(%)"
+            placeholder="请输入不完粒占比(%)"
             maxlength="100"
             size="small"
           />
         </ws-form-item>
         <!--蛋白(%)>=-->
-        <ws-form-item label="蛋白(%)" span="1" prop="protein">
+        <ws-form-item label="蛋白(%)>=" span="1" prop="protein">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.protein"
             placeholder="请输入蛋白占比(%)"
@@ -1478,7 +1478,7 @@ export default {
             2||this.deptBudgetList.contractGoodsInfo.imperfectGrain>40||this.deptBudgetList.contractGoodsInfo.imperfectGrain<0)
       ) {
         this.$message({
-          message: '不完粒输入错误',
+          message: '不完粒输入错误',
           type: 'warning',
         })
         return

+ 1 - 1
src/views/contractManagement/futuresPurchaseContractExamine.vue

@@ -167,7 +167,7 @@
         <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
           {{ deptBudgetList.contractGoodsInfo.impurity }}
         </ws-form-item>
-        <ws-form-item label="容重(克/升)<=" span="1" prop="bulkDensity">
+        <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
           {{ deptBudgetList.contractGoodsInfo.bulkDensity }}
         </ws-form-item>
         <ws-form-item

+ 7 - 7
src/views/contractManagement/futuresSalesContractAdd.vue

@@ -412,8 +412,8 @@
           />
         </ws-form-item>
 
-        <!--容量(克/升)>=-->
-        <ws-form-item label="容量(克/升)" span="1" prop="bulkDensity">
+        <!--容重(克/升)>=-->
+        <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.bulkDensity"
             placeholder="请输入容重"
@@ -441,17 +441,17 @@
             size="small"
           />
         </ws-form-item>
-        <!--不完粒(%)<=-->
-        <ws-form-item label="不完整粒(%)" span="1" prop="imperfectGrain">
+        <!--不完粒(%)<=-->
+        <ws-form-item label="不完善粒(%)<=" span="1" prop="imperfectGrain">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.imperfectGrain"
-            placeholder="请输入不完粒占比(%)"
+            placeholder="请输入不完粒占比(%)"
             maxlength="100"
             size="small"
           />
         </ws-form-item>
         <!--蛋白(%)>=-->
-        <ws-form-item label="蛋白(%)" span="1" prop="protein">
+        <ws-form-item label="蛋白(%)>=" span="1" prop="protein">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.protein"
             placeholder="请输入蛋白占比(%)"
@@ -1314,7 +1314,7 @@ export default {
             2||this.deptBudgetList.contractGoodsInfo.imperfectGrain>40||this.deptBudgetList.contractGoodsInfo.imperfectGrain<0)
       ) {
         this.$message({
-          message: '不完粒输入错误',
+          message: '不完粒输入错误',
           type: 'warning',
         })
         return

+ 7 - 7
src/views/contractManagement/futuresSalesContractEdit.vue

@@ -412,8 +412,8 @@
           />
         </ws-form-item>
 
-        <!--容量(克/升)>=-->
-        <ws-form-item label="容量(克/升)" span="1" prop="bulkDensity">
+        <!--容重(克/升)>=-->
+        <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.bulkDensity"
             placeholder="请输入容重"
@@ -441,17 +441,17 @@
             size="small"
           />
         </ws-form-item>
-        <!--不完粒(%)<=-->
-        <ws-form-item label="不完整粒(%)" span="1" prop="imperfectGrain">
+        <!--不完粒(%)<=-->
+        <ws-form-item label="不完善粒(%)<=" span="1" prop="imperfectGrain">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.imperfectGrain"
-            placeholder="请输入不完粒占比(%)"
+            placeholder="请输入不完粒占比(%)"
             maxlength="100"
             size="small"
           />
         </ws-form-item>
         <!--蛋白(%)>=-->
-        <ws-form-item label="蛋白(%)" span="1" prop="protein">
+        <ws-form-item label="蛋白(%)>=" span="1" prop="protein">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.protein"
             placeholder="请输入蛋白占比(%)"
@@ -1440,7 +1440,7 @@ export default {
             2||this.deptBudgetList.contractGoodsInfo.imperfectGrain>40||this.deptBudgetList.contractGoodsInfo.imperfectGrain<0)
       ) {
         this.$message({
-          message: '不完粒输入错误',
+          message: '不完粒输入错误',
           type: 'warning',
         })
         return

+ 1 - 1
src/views/contractManagement/futuresSalesContractExamine.vue

@@ -164,7 +164,7 @@
         <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
           {{ deptBudgetList.contractGoodsInfo.impurity }}
         </ws-form-item>
-        <ws-form-item label="容重(克/升)<=" span="1" prop="bulkDensity">
+        <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
           {{ deptBudgetList.contractGoodsInfo.bulkDensity }}
         </ws-form-item>
         <ws-form-item

+ 6 - 6
src/views/contractManagement/purchaseContractAdd.vue

@@ -397,8 +397,8 @@
           />
         </ws-form-item>
 
-        <!--容量(克/升)>=-->
-        <ws-form-item label="容量(克/升)" span="1" prop="bulkDensity">
+        <!--容重(克/升)>=-->
+        <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.bulkDensity"
             placeholder="请输入容重"
@@ -426,11 +426,11 @@
             size="small"
           />
         </ws-form-item>
-        <!--不完粒(%)<=-->
-        <ws-form-item label="不完整粒(%)" span="1" prop="imperfectGrain">
+        <!--不完粒(%)<=-->
+        <ws-form-item label="不完善粒(%)<=" span="1" prop="imperfectGrain">
           <ws-input
             v-model="deptBudgetList.contractGoodsInfo.imperfectGrain"
-            placeholder="请输入不完粒占比(%)"
+            placeholder="请输入不完粒占比(%)"
             maxlength="100"
             size="small"
           />
@@ -1198,7 +1198,7 @@ export default {
             2||this.deptBudgetList.contractGoodsInfo.imperfectGrain>40||this.deptBudgetList.contractGoodsInfo.imperfectGrain<0)
       ) {
         this.$message({
-          message: '不完粒输入错误',
+          message: '不完粒输入错误',
           type: 'warning',
         })
         return

+ 3 - 3
src/views/contractManagement/purchaseContractEdit.vue

@@ -360,7 +360,7 @@
               size="small"
             />
           </ws-form-item>
-          <ws-form-item label="容重(克/升)<=" span="1" prop="bulkDensity">
+          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
             <ws-input
               v-model="deptBudgetList.contractGoodsInfo.bulkDensity"
               placeholder="请输入容重"
@@ -397,7 +397,7 @@
           >
             <ws-input
               v-model="deptBudgetList.contractGoodsInfo.imperfectGrain"
-              placeholder="请输入不完粒占比(%)"
+              placeholder="请输入不完粒占比(%)"
               maxlength="100"
               size="small"
             />
@@ -1280,7 +1280,7 @@ export default {
             2||this.deptBudgetList.contractGoodsInfo.imperfectGrain>40||this.deptBudgetList.contractGoodsInfo.imperfectGrain<0)
       ) {
         this.$message({
-          message: '不完粒输入错误',
+          message: '不完粒输入错误',
           type: 'warning',
         })
         return

+ 1 - 1
src/views/contractManagement/purchaseContractExamine.vue

@@ -161,7 +161,7 @@
         <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
           {{ deptBudgetList.contractGoodsInfo.impurity }}
         </ws-form-item>
-        <ws-form-item label="容重(克/升)<=" span="1" prop="bulkDensity">
+        <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
           {{ deptBudgetList.contractGoodsInfo.bulkDensity }}
         </ws-form-item>
         <ws-form-item

+ 6 - 6
src/views/contractManagement/salesContractAdd.vue

@@ -402,8 +402,8 @@
             />
           </ws-form-item>
 
-          <!--容量(克/升)>=-->
-          <ws-form-item label="容量(克/升)" span="1" prop="bulkDensity">
+          <!--容重(克/升)>=-->
+          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
             <ws-input
               v-model="deptBudgetList.contractGoodsInfo.bulkDensity"
               placeholder="请输入容重"
@@ -431,11 +431,11 @@
               size="small"
             />
           </ws-form-item>
-          <!--不完粒(%)<=-->
-          <ws-form-item label="不完整粒(%)" span="1" prop="imperfectGrain">
+          <!--不完粒(%)<=-->
+          <ws-form-item label="不完善粒(%)<=" span="1" prop="imperfectGrain">
             <ws-input
               v-model="deptBudgetList.contractGoodsInfo.imperfectGrain"
-              placeholder="请输入不完粒占比(%)"
+              placeholder="请输入不完粒占比(%)"
               maxlength="40"
               size="small"
             />
@@ -1180,7 +1180,7 @@ export default {
             2||this.deptBudgetList.contractGoodsInfo.imperfectGrain>40||this.deptBudgetList.contractGoodsInfo.imperfectGrain<0)
       ) {
         this.$message({
-          message: '不完粒输入错误',
+          message: '不完粒输入错误',
           type: 'warning',
         })
         return

+ 7 - 7
src/views/contractManagement/salesContractEdit.vue

@@ -371,11 +371,11 @@
             />
           </ws-form-item>
 
-          <!--容量(克/升)>=-->
-          <ws-form-item label="容量(克/升)" span="1" prop="contractNo">
+          <!--容重(克/升)>=-->
+          <ws-form-item label="容重(克/升)>=" span="1" prop="contractNo">
             <ws-input
               v-model="deptBudgetList.contractGoodsInfo.bulkDensity"
-              placeholder="请输入容量(克/升)"
+              placeholder="请输入容重(克/升)"
               maxlength="100"
               size="small"
             />
@@ -400,11 +400,11 @@
               size="small"
             />
           </ws-form-item>
-          <!--不完粒(%)<=-->
-          <ws-form-item label="不完整粒(%)" span="1" prop="contractNo">
+          <!--不完粒(%)<=-->
+          <ws-form-item label="不完善粒(%)<=" span="1" prop="contractNo">
             <ws-input
               v-model="deptBudgetList.contractGoodsInfo.imperfectGrain"
-              placeholder="请输入不完粒(%)"
+              placeholder="请输入不完粒(%)"
               maxlength="100"
               size="small"
             />
@@ -1247,7 +1247,7 @@ export default {
             2||this.deptBudgetList.contractGoodsInfo.imperfectGrain>40||this.deptBudgetList.contractGoodsInfo.imperfectGrain<0)
       ) {
         this.$message({
-          message: '不完粒输入错误',
+          message: '不完粒输入错误',
           type: 'warning',
         })
         return

+ 1 - 1
src/views/contractManagement/salesContractExamine.vue

@@ -233,7 +233,7 @@
               {{ deptBudgetList.contractGoodsInfo.impurity }}
             </div>
           </ws-form-item>
-          <ws-form-item label="容重(克/升)<=" span="1" prop="bulkDensity">
+          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
             <div class="unchanged">
               {{ deptBudgetList.contractGoodsInfo.bulkDensity }}
             </div>

+ 2 - 0
src/views/home/service.js

@@ -602,6 +602,8 @@ export default {
         isTask: isTask ? 1 : 0
       }
       getRoule().toPromise().then(response => {
+        
+        debugger
         let list = []
         response.forEach(item => {
           if (item.name === 'crewManagement') {

+ 4 - 3
src/views/houseSelfCollect/acquisitionManagement.vue

@@ -3,7 +3,7 @@
   <div >
     <BaseHeaderLayout :leftSpan="12">
       <template slot="left">
-        <el-button type="primary" @click="newAcquisition('','','新增')">新增</el-button>
+        <el-button type="primary" @click="newAcquisition('','','新增')" v-hasPermission=" `acquisitionManagement.acquisitionCustomer.add`">新增</el-button>
          <div>
         <el-select v-model="selectVal" placeholder="请选择" @change="warehouseChange" style="margin:0 20px">
           <el-option v-for="item in warehouseList" :key="item.id" :label="item.warehouseName" :value="item.id">
@@ -50,9 +50,9 @@
         <el-table-column label="操作" width="300">
           <template slot-scope="scope">
             <el-button size="mini" @click="newAcquisition(scope.$index, scope.row,'查看')">查看</el-button>
-            <el-button v-if="scope.row.status!='审核中'" size="mini" @click="newAcquisition(scope.$index, scope.row,'编辑')">编辑</el-button>
+            <el-button v-if="scope.row.status!='审核中'" size="mini" @click="newAcquisition(scope.$index, scope.row,'编辑')" v-hasPermission=" `acquisitionManagement.acquisitionCustomer.edit`">编辑</el-button>
             <el-button v-if="scope.row.status=='审核中'" size="mini" :disabled="!userJurisdictionAudit" @click="newAcquisition(scope.$index, scope.row,'审核中')">审核中</el-button>
-            <el-button size="mini" :disabled="!userJurisdiction" type="danger" @click="delRow(scope.$index, scope.row)">删除</el-button>
+            <el-button size="mini" :disabled="!userJurisdiction" type="danger" @click="delRow(scope.$index, scope.row)" v-hasPermission=" `acquisitionManagement.acquisitionCustomer.delete`">删除</el-button>
             <el-button size="mini" @click="print(scope.$index, scope.row)">打印</el-button>
           </template>
         </el-table-column>
@@ -191,6 +191,7 @@
       },
       //获取列表数据
       getList() {
+        this.goodsNameList=[]
         getPurchasePrice({
           currentPage: this.currentPage,
           pageSize: this.pageSize,

+ 4 - 28
src/views/houseSelfCollect/acquisitionManagementAdd.vue

@@ -32,7 +32,7 @@
             </el-form-item>
           </div>
           <div class="grid-content">
-            <el-form-item label="干粮收购价格">
+            <el-form-item label="干粮收购价格(元/公斤)">
               <el-input v-model="baseInfoForm.dryGrainPrice" :disabled="!isEdit"></el-input>
             </el-form-item>
           </div>
@@ -68,7 +68,6 @@
             </div>
             <el-button @click="delSetPrice(item,index)" :disabled="!isEdit">删除</el-button>
           </div>
-          {{item}}
           <div class="level">
             <el-checkbox-group v-model="item.checkList" @change="changeLevel($event,index)">
               <el-checkbox label="一等" :disabled="!isEdit"></el-checkbox>
@@ -268,7 +267,10 @@
             this.selectVal = response[0].constValue
           }else{
             this.goodnameList = _list
+            this.goodnameList = _list
+            if(_list.length!=0){
             this.selectVal = _list[0].constValue
+            }
           }
         })
       switch (this.$route.query.type) {
@@ -371,10 +373,8 @@
         })
       },
       goodsChange(e) {
-        console.log(e)
       },
       changeBaseWater(val) {
-        console.log('val', val)
         for (let i = 0; i < this.priceList.length; i++) {
           for (let k = 0; k < this.priceList[i].detailList.length; k++) {
             if (this.priceList[i].detailList[k].type == 2) {
@@ -384,7 +384,6 @@
         }
       },
       changeMinWater(val) {
-        console.log('val', val)
         for (let i = 0; i < this.priceList.length; i++) {
           for (let k = 0; k < this.priceList[i].detailList.length; k++) {
             if (this.priceList[i].detailList[k].type == 1) {
@@ -394,7 +393,6 @@
         }
       },
       changeMaxWater(val) {
-        console.log('val', val)
         for (let i = 0; i < this.priceList.length; i++) {
           for (let k = 0; k < this.priceList[i].detailList.length; k++) {
             if (this.priceList[i].detailList[k].type == 3) {
@@ -452,7 +450,6 @@
       reduce(item, item1, index) {
         item.index--
         item.detailList.splice(index, 2);
-        console.log(item, index)
       },
       // 设置分界索引排序
       makeSpliceIndex(item, item1) {
@@ -466,7 +463,6 @@
       },
       // 复选框变化监听
       changeLevel(val, index) {
-        console.log("val", val)
         let _data = this.priceList
         for (let i = 0; i < _data.length; i++) {
           let _childData = _data[i].checkList
@@ -482,10 +478,7 @@
           if (i == 2) this.checkList3 = _data[i].checkList
           if (i == 3) this.checkList4 = _data[i].checkList
         }
-        console.log("-------------------------")
-        // console.log([...new Set(this.checkList)])
         this.checkList = [...new Set([...this.checkList1, ...this.checkList2, ...this.checkList3, ...this.checkList4])]
-        console.log(this.checkList)
       },
       // 算价格纠正精度不准
       accMul(arg1, arg2) {
@@ -504,7 +497,6 @@
       keepTwoDecimal(num) {
         var result = parseFloat(num);
         if (isNaN(result)) {
-          console.log('传递参数错误,请检查!');
           return false;
         }
         result = Math.round(result * 100) / 100;
@@ -712,7 +704,6 @@
           }
           return false
         }
-        console.log(this.priceList.length)
         if (this.checkList.length != 4) {
           this.$message.error('粮价设置为4个等级!');
           return false
@@ -772,7 +763,6 @@
             isValidate = this.validate()
             if (isValidate) {
               purchasePriceAdd(this.baseInfoForm).toPromise().then((response) => {
-                console.log(response)
                 // this.tableData = response.records
                 this.isCountShow = false
               })
@@ -782,8 +772,6 @@
             isValidate = this.validate()
             if (isValidate) {
               purchasePriceEdit(this.baseInfoForm).toPromise().then((response) => {
-                console.log(response)
-                // this.tableData = response.records
                 this.isCountShow = false
               })
             }
@@ -791,8 +779,6 @@
             isValidate = this.validate()
             if (isValidate) {
               purchasePriceEdit(this.baseInfoForm).toPromise().then((response) => {
-                console.log(response)
-                // this.tableData = response.records
                 let that = this
                   this.$confirm(`是否确定通过?`, {
                     cancelButtonText: '取消',
@@ -894,9 +880,7 @@
                 })
               }
             }
-            console.log(_obj)
             this.splitPriceList.push(_obj)
-            console.log(this.splitPriceList)
           }
         }
       },
@@ -949,8 +933,6 @@
       },
       // 计算价格
       calculatePrice(_waterMin) {
-        console.log(_waterMin)
-        console.log("this.splitPriceList", this.splitPriceList)
         let prcieList = []
         let totalPrice = []
         let _price = 0
@@ -964,13 +946,8 @@
               // 未设置分界
               if (_waterMin >= _list[k].priceStart && _waterMin < _list[k].priceEnd && !this.splitPriceList[i]
                 .haveSplit) {
-                console.log(basePrice)
-                console.log(this.keepTwoDecimal(basePrice))
-                console.log(this.keepTwoDecimal(((parseFloat(this.baseInfoForm.waterBase) - _waterMin) / 0.5) * _list[k]
-                  .betweenPrice))
                 _price = basePrice + (parseFloat(this.baseInfoForm.waterBase) - _waterMin) / 0.5 * _list[k]
                   .betweenPrice;
-                console.log(_price)
                 prcieList.push(this.keepTwoDecimal(_price))
               } else if (_waterMin >= _list[k].priceStart && _waterMin < _list[k].priceEnd) {
                 // 当前区间段价格+其他区间段价格
@@ -990,7 +967,6 @@
                 .haveSplit) {
                 _price = basePrice - (_waterMin - parseFloat(this.baseInfoForm.waterBase)) / 0.5 * _list[k]
                   .betweenPrice;
-                console.log(_price)
                 prcieList.push(this.keepTwoDecimal(_price))
               } else if (_waterMin > _list[k].priceStart && _waterMin <= _list[k].priceEnd) {
                 // 当前段价格+其他段价格

+ 1 - 1
src/views/houseSelfCollect/component/inspectInfoPrint.vue

@@ -26,7 +26,7 @@
         <td class="col">{{ printData.type }}</td>
         <td class="col col-bgc">容量(克/升)</td>
         <td class="col">{{ printData.bulkDensity }}</td>
-        <td class="col col-bgc">不完粒(%)</td>
+        <td class="col col-bgc">不完粒(%)</td>
         <td class="col">{{ printData.imperfectGrain }}</td>
       </tr>
       <tr class="row">

+ 34 - 22
src/views/houseSelfCollect/component/paymentPrint.vue

@@ -9,7 +9,8 @@
       <div>No.</div>
     </div>
     <div class="header-top">
-      <div>开票日期:{{printData.compName}}</div>
+      <div>开票日期:{{printData.currentTime}}</div>
+      <!-- <div>开票日期:{{new Date(yyyy,mm,dd)}}</div> -->
       <div class="number">{{100000000000000}}</div>
     </div>
     <table class="table">
@@ -17,7 +18,7 @@
         <td rowspan="4" class="col col-bgc">买方</td>
         <td class="col col-bgc">单位名称</td>
         <td class="col" colspan="3">{{ printData.compName}}</td>
-        <td rowspan="4" class="col col-bgc">方</td>
+        <td rowspan="4" class="col col-bgc">方</td>
         <td class="col col-bgc">姓名</td>
         <td class="col" colspan="3">{{ printData.customerName}}</td>
       </tr>
@@ -25,19 +26,19 @@
         <td class="col col-bgc">税务登记号</td>
         <td class="col" colspan="3">{{ printData.taxRegistrationNo}}</td>
         <td class="col col-bgc">身份证号</td>
-        <td class="col" colspan="3">{{ printData.customerNumberCard}}</td>
+        <td class="col" colspan="3">{{ printData.identityAuthenticationInfo.customerNumberCard}}</td>
       </tr>
       <tr class="row">
         <td class="col col-bgc">化验单号</td>
         <td class="col" colspan="3">{{ printData.paymentNo}}</td>
         <td class="col col-bgc">卡号</td>
-        <td class="col" colspan="3">{{ printData. bankCard}}</td>
+        <td class="col" colspan="3">{{printData.identityAuthenticationInfo.bankDeposit}}{{printData.identityAuthenticationInfo.bankCard}}</td>
       </tr>
       <tr class="row">
         <td class="col col-bgc">收货仓库</td>
         <td class="col" colspan="3">{{printData.warehouseName}}</td>
         <td class="col col-bgc">地址</td>
-        <td class="col" colspan="3">{{printData.compAddress}}</td>
+        <td class="col" colspan="3">{{printData.identityAuthenticationInfo.compAddress}}</td>
       </tr>
       <tr class="row">
         <td class="col col-bgc">货名</td>
@@ -54,17 +55,18 @@
       <tr class="row">
         <td class="col">{{ printData.goodsName}}</td>
         <td class="col">{{ printData.type}}</td>
-        <td class="col">{{ printData.grade}}</td>
-        <td class="col">{{ printData.waterContent}}</td>
-        <td class="col">{{ printData.impurity}}</td>
+        <td class="col">{{ printData.qualityInspectionManagement.grade}}</td>
+        <td class="col">{{ printData.qualityInspectionManagement.waterContent}}</td>
+        <td class="col">{{ printData.qualityInspectionManagement.impurity}}</td>
         <td class="col">{{ printData.grossWeight}}</td>
         <td class="col">{{ printData.tare}}</td>
-        <td class="col">{{ printData.buckleMiscellaneous}}</td>
+        <td class="col">{{ printData.qualityInspectionManagement.buckleWeightRatio}}</td>
         <td class="col">{{ printData.netWeight}}</td>
         <td class="col">{{ printData.pureWeight}}</td>
       </tr>
       <tr class="row">
-        <td class="col col-bgc">净重单价</td>
+        <td class="col col-bgc"  v-if="printData.type == '潮粮'">净重单价</td>
+         <td class="col col-bgc" v-if="printData.type == '干粮'">单价</td>
         <td class="col col-bgc">粮款</td>
         <td class="col col-bgc">称重补助</td>
         <td class="col col-bgc">运费补助</td>
@@ -76,7 +78,8 @@
         <td class="col col-bgc">质量扣款</td>
       </tr>
       <tr class="row">
-        <td class="col ">{{ printData.tidalGrainPrice}}</td>
+        <td class="col " v-if="printData.type == '潮粮'">{{printData.tidalGrainPrice}}</td>
+        <td class="col " v-if="printData.type == '干粮'">{{printData.qualityInspectionManagement.dryGrainPrice}}</td>
         <td class="col ">{{ printData.grainMoney}}</td>
         <td class="col ">{{ printData.weighingSubsidy}}</td>
         <td class="col ">{{ printData.freightSubsidy}}</td>
@@ -89,19 +92,19 @@
       </tr>
       <tr class="row">
         <td class="col col-bgc">其他扣款</td>
-        <td class="col col-bgc">纯重单价</td>
+        <td class="col col-bgc" v-if="printData.type == '潮粮'">纯重单价</td>
         <td class="col col-bgc">合计应付</td>
         <td class="col col-bgc">购粮性质</td>
         <td class="col col-bgc">车牌号</td>
-        <td class="col col-bgc" colspan="5">记事</td>
+        <td class="col col-bgc" colspan="6">记事</td>
       </tr>
       <tr class="row">
         <td class="col ">{{ printData.otherDeduction}}</td>
-        <td class="col ">{{ printData.solidGrainPrice}}</td>
+        <td class="col " v-if="printData.type == '潮粮'">{{ printData.solidGrainPrice}}</td>
         <td class="col ">{{ printData.calculationPayable}}</td>
-        <td class="col ">{{ printData.natureOfGrainPurchase}}</td>
+        <td class="col ">{{ printData.qualityInspectionManagement.natureOfGrainPurchase}}</td>
         <td class="col ">{{ printData.carNo}}</td>
-        <td class="col " colspan="5">{{ printData.remarks}}</td>
+        <td class="col " colspan="6">{{ printData.remarks}}</td>
       </tr>
       <tr class="row">
         <td class="col col-bgc">实付金额</td>
@@ -114,11 +117,11 @@
 
     <div class="bottom">
       <div class="bottom-row1">
-        <div>质检:{{ printData.qualityInspector}}</div>
-        <div>毛检:{{ printData.skinInspector}}</div>
-        <div>皮检:{{ printData.qualityInspector}}</div>
+        <div>质检:{{ printData.qualityInspectionManagement.qualityInspector}}</div>
+        <div>毛检:{{ printData.weighingManagement.secretaryWeigher}}</div>
+        <div>皮检:{{ printData.weighingManagement.skinInspector}}</div>
         <div>结算:{{ printData.settlementClerk}}</div>
-        <div>付款:{{ printData.qualityInspector}}</div>
+        <div>付款:{{ printData.cashier}}</div>
         <div>复点:{{ printData.qualityInspector}}</div>
       </div>
       <div class="bottom-row2">
@@ -143,7 +146,8 @@
     props: {
       printData: {
         type: Object
-      }
+      },
+      billingDate:"",
     },
     data() {
       return {
@@ -151,9 +155,17 @@
       }
     },
     activated() {
-
+      let date = new Date()
+     
+      console.log( date.getFullYear())
     },
     methods: {
+      date(){
+        let date = new Date()
+       let datas = date.getDate
+        console.log(new Data())
+        return datas
+      },
       printSmall() {
         window.location.href =
           '../../../../../static/payprint.html?type=1&dataList=' +

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

@@ -21,7 +21,7 @@ const houseSelfCollectRouter = {
       meta: {
         title: 'customerManagement',
         shortcutEntrance: 'houseSelfCollect',
-        module: 'procurement.procurementOrder.delete',
+        module: 'acquisitionManagement.acquisitionCustomer.view',
         permissicon: [],
         keepAlive: true
       }
@@ -35,7 +35,7 @@ const houseSelfCollectRouter = {
           meta: {
             title: 'customerManagementAdd',
             shortcutEntrance: 'houseSelfCollect',
-            module: 'procurement.procurementOrder.delete',
+            module: 'acquisitionManagement.acquisitionCustomer.add',
             permissicon: [],
             keepAlive: true
           },
@@ -79,7 +79,7 @@ const houseSelfCollectRouter = {
       meta: {
         title: 'inspectionManagement',
         shortcutEntrance: 'houseSelfCollect',
-        module: 'procurement.procurementOrder.delete',
+        module: 'acquisitionManagement.acquisitionQuality.view',
         permissicon: [],
         keepAlive: true
       }
@@ -93,7 +93,7 @@ const houseSelfCollectRouter = {
       meta: {
         title: 'weighingManagement',
         shortcutEntrance: 'houseSelfCollect',
-        module: 'procurement.procurementOrder.delete',
+        module: 'acquisitionManagement.acquisitionWeight.view',
         permissicon: [],
         keepAlive: true
       }
@@ -134,7 +134,7 @@ const houseSelfCollectRouter = {
       meta: {
         title: 'inspectInfo',
         shortcutEntrance: 'inspectInfo',
-        module: 'procurement.procurementOrder.delete',
+        module: 'acquisitionManagement.acquisitionQuality.view',
         permissicon: [],
         keepAlive: true
       },
@@ -148,7 +148,7 @@ const houseSelfCollectRouter = {
       meta: {
         title: 'weightCheck',
         shortcutEntrance: 'weightCheck',
-        module: 'procurement.procurementOrder.delete',
+        module: 'acquisitionManagement.acquisitionWeight.view',
         permissicon: [],
         keepAlive: true
       },

+ 1 - 1
src/views/houseSelfCollect/component/weightCheckPrint.vue

@@ -26,7 +26,7 @@
             <td class="col">{{tableData.type}}</td>
             <td class="col col-bgc">容量(克/升)</td>
             <td class="col">{{tableData.qualityInspectionManagement.bulkDensity}}</td>
-            <td class="col col-bgc">不完粒(%)</td>
+            <td class="col col-bgc">不完粒(%)</td>
             <td class="col">{{tableData.qualityInspectionManagement.imperfectGrain}}</td>
           </tr>
           <tr class="row">

+ 13 - 11
src/views/houseSelfCollect/customerManagement.vue

@@ -19,8 +19,8 @@
     <div class="seach">
       <div class="search-right">
         <!-- <ws-button @click="getCustomer()">获取客户</ws-button> -->
-        <el-dialog title="客户扫码" :visible.sync="customerDialogVisible" width="30%">
-          <div id="qrcode"></div>
+        <el-dialog title="客户扫码" :visible.sync="customerDialogVisible" width="320px">
+          <img style="width:300px;height:300px" :src="qrcode"/>
         </el-dialog>
         <!-- <ws-button @click="createCustomer()">创建新客户</ws-button> -->
         <el-dialog title="创建新客户" :visible.sync="creatNewCustomerDialogVisible" width="50%">
@@ -66,6 +66,7 @@
   import {
     getCustomerManage,
     getCustomerDelete,
+    getQRCode
   } from '@/model/houseSelfCollect/index'
   import QRCode from 'qrcodejs2'
   import customerManagementAdd from './customerManagementAdd.vue'
@@ -84,6 +85,7 @@
         pageSize: 10,
         deptBudgetTotal: 0,
         deptCircularPage: {},
+        qrcode:""
       }
     },
     activated() {
@@ -96,16 +98,16 @@
       //获取客户
       getCustomer() {
         this.customerDialogVisible = true
-        this.$nextTick(function() {
-          document.getElementById('qrcode').innerHTML = ''
-          let qrcode = new QRCode('qrcode', {
-            width: 150,
-            height: 150,
-            text: 'https://www.baidu.com',
-            colorDark: '#109dff',
-            colorLight: '#d9d9d9',
+        if(!this.qrcode||this.qrcode == ""){
+          getQRCode({
+            compId: sessionStorage.getItem('ws-pf_compId')
           })
-        })
+          .toPromise()
+          .then((response) => {
+           this.qrcode = response
+          })
+        }
+        
       },
       //创建客户
       createCustomer(row, num) {

+ 19 - 12
src/views/houseSelfCollect/customerManagementAdd.vue

@@ -16,7 +16,7 @@
         <ws-info-table>
           <div style="display: flex; width: 100%; text-align: center">
             <div style="width: 330px; margin: 0 auto">
-              <div class="unload-img">上传身份证面</div>
+              <div class="unload-img">上传身份证人像面</div>
               <el-upload class="avatar-uploader avatar-uploader1" action="https://www.zthymaoyi.com/upload/admin"
                 :show-file-list="false" :on-success="upLoadSuccess1" :disabled="disabled">
                 <img v-if="imageUrl1" :src="imageUrl1" class="avatar">
@@ -25,7 +25,7 @@
             </div>
             <div style="width: 330px; margin: 0 auto">
 
-              <div class="unload-img">上传身份证面</div>
+              <div class="unload-img">上传身份证国徽面</div>
               <el-upload class="avatar-uploader avatar-uploader2" action="https://www.zthymaoyi.com/upload/admin"
                 :show-file-list="false" :on-success="upLoadSuccess2" :disabled="disabled">
                 <img v-if="imageUrl2" :src="imageUrl2" class="avatar">
@@ -69,14 +69,12 @@
               :disabled="disabled" />
           </ws-form-item>
           <ws-form-item label="开户支行" span="1" prop="bankDepositBranch">
-            <!-- <ws-input v-model="customerList.bankDepositBranch" placeholder="请输入开户支行" maxlength="100" size="small"
-              :disabled="disabled" /> -->
-
-                <ws-select v-model="customerList.bankDepositBranch" placeholder="请输入开户支行"
-                :disabled="disabled">
-                <ws-option v-for="item in bankList" :key="item" :label="item"
-                  :value="item" />
-              </ws-select>
+            <ws-input v-if="bankInput" v-model="customerList.bankDepositBranch" placeholder="请输入开户支行" maxlength="100" size="small"
+              :disabled="disabled" />
+            <ws-select v-else v-model="customerList.bankDepositBranch" placeholder="请输入开户支行" :disabled="disabled">
+              <ws-option v-for="item in bankList" :key="item" :label="item" :value="item" />
+            </ws-select>
+            <el-button type="primary" @click="bankInputChange" >{{bankText}}</el-button>
           </ws-form-item>
           <ws-form-item label="收款人姓名" span="1" prop="payeeName">
             <ws-input v-model="customerList.payeeName" placeholder="请输入收款人姓名" maxlength="15" size="small"
@@ -163,6 +161,8 @@
         sendDisabled: false,
         verifyCode: "",
         bankList:[],
+        bankInput:false,
+        bankText:"手动填写"
       }
     },
     activated() {
@@ -187,6 +187,15 @@
       }
     },
     methods: {
+      bankInputChange(){
+        this.bankInput = !this.bankInput
+        if(this.bankInput){
+          this.bankText = "自动识别"
+        }
+        else{
+          this.bankText = "手动填写"
+        }
+      },
       handleRemove(file, index) {
         if (index == 1) {
           this.identityUp = ''
@@ -240,7 +249,6 @@
               phone: this.customerList.customerPhone
             })
             .toPromise().then((response) => {
-              console.log(response)
               if (response == 'ok') {
                 that.sendDisabled = true
                 let sec = 60
@@ -450,7 +458,6 @@
           })
           .toPromise()
           .then((response) => {
-            debugger
             this.customerList.compId = sessionStorage.getItem('ws-pf_compId')
             this.customerList.cardAddressUrl = this.identity.toString()
             this.customerList.payeeAddressUrl = this.bank.toString()

+ 4 - 6
src/views/houseSelfCollect/inspectInfo.vue

@@ -90,7 +90,7 @@
               <ws-input v-model="inspect.mildewGrain" placeholder="请输入霉变粒占比" maxlength="100" size="small"
                 :disabled="disabled" />
             </ws-form-item>
-            <ws-form-item label="容重(克/升)" span="1" prop="bulkDensity">
+            <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
               <ws-input v-model="inspect.bulkDensity" placeholder="请输入容重" maxlength="100" size="small"
                 :disabled="disabled" />
             </ws-form-item>
@@ -98,8 +98,8 @@
               <ws-input v-model="inspect.jiaorenli" placeholder="请输入热损伤占比" maxlength="100" size="small"
                 :disabled="disabled" />
             </ws-form-item>
-            <ws-form-item label="不完粒(%)" span="1" prop="imperfectGrain">
-              <ws-input v-model="inspect.imperfectGrain" placeholder="请输入不完粒占比" maxlength="100" size="small"
+            <ws-form-item label="不完粒(%)" span="1" prop="imperfectGrain">
+              <ws-input v-model="inspect.imperfectGrain" placeholder="请输入不完粒占比" maxlength="100" size="small"
                 :disabled="disabled" />
             </ws-form-item>
           </ws-info-table>
@@ -239,7 +239,6 @@
           this.imgUrl = dataURL;
           if (this.imgUrl !== "") {
             let b = this.dataURLtoFile(this.imgUrl, "printImg")
-            console.log(b)
             let formdata = new FormData();
             formdata.append("file", b);
             axios({
@@ -434,7 +433,7 @@
         }
         if (!this.inspect.imperfectGrain) {
           this.$message({
-            message: '不完粒不能为空',
+            message: '不完粒不能为空',
             type: 'warning',
           })
           return
@@ -556,7 +555,6 @@
              getDryGrainPrice({warehouseId:this.cangid,goodsName:this.inspect.goodsName})
                 .toPromise()
                 .then((response) => { 
-                  console.log(response,'干粮')
                   this.$set(this.inspect,'dryGrainPrice',response)
                 })
           }

+ 5 - 15
src/views/houseSelfCollect/inspectionManagement.vue

@@ -3,7 +3,7 @@
   <div>
     <BaseHeaderLayout :leftSpan="12">
       <template slot="left">
-        <ws-button type="primary" @click="inspectInfo(1)">添加</ws-button>
+        <ws-button type="primary" @click="inspectInfo(1)" v-hasPermission="`acquisitionManagement.acquisitionQuality.add`">添加</ws-button>
       </template>
       <template slot="right">
         <ws-select
@@ -78,10 +78,10 @@
       <el-table-column prop="status" label="状态"></el-table-column>
       <el-table-column width="400" label="操作">
         <template slot-scope="scope">
-          <el-button @click="inspectInfo(scope.row, 2)">查看</el-button>
-          <el-button @click="inspectInfo(scope.row, 3)">编辑</el-button>
-          <el-button @click="del(scope.row)" type="danger">删除</el-button>
-          <el-button @click="print(scope.row)">打印</el-button>
+          <el-button @click="inspectInfo(scope.row, 2)" v-hasPermission="`acquisitionManagement.acquisitionQuality.view`">查看</el-button>
+          <el-button @click="inspectInfo(scope.row, 3)" v-hasPermission="`acquisitionManagement.acquisitionQuality.edit`">编辑</el-button>
+          <el-button @click="del(scope.row)" type="danger" v-hasPermission="`acquisitionManagement.acquisitionQuality.delete`">删除</el-button>
+          <el-button @click="print(scope.row)" v-hasPermission="`acquisitionManagement.acquisitionQuality.print`">打印</el-button>
         </template>
       </el-table-column>
     </el-table>
@@ -272,16 +272,6 @@ export default {
       })
         .toPromise()
         .then((response) => {
-          // for (let i = 0; i < response.length; i++) {
-          //   this.warehouseList.push({
-          //     valueKey: i,
-          //     value: response[i].warehouseName,
-          //     id:response[i].id
-          //   })
-          // }
-          // this.searchTypeText = response[0].warehouseName
-          // this.id = response[0].id
-          // console.log(response)
           this.inspect = response.records
           this.deptBudgetTotal = response.total
         })

+ 11 - 46
src/views/houseSelfCollect/paymentManagement.vue

@@ -148,31 +148,10 @@
         width="350"
       >
         <template scope="scope">
-          <el-button
-            type="danger"
-            v-if="!scope.row.approveStatus && scope.row.status != '已驳回'"
-            @click="del(scope.row)"
-            >删除</el-button
-          >
-          <el-button
-            v-if="!scope.row.approveStatus && scope.row.status != '已驳回'"
-            @click="settlement(1, scope.row)"
-            >结算</el-button
-          >
-          <el-button
-            v-if="scope.row.approveStatus || scope.row.status == '已驳回'"
-            @click="settlement(2, scope.row)"
-            >查看</el-button
-          >
-          <el-button
-            v-if="
-              scope.row.approveStatus ||
-              scope.row.status == '已驳回' ||
-              userJurisdiction
-            "
-            @click="print(scope.row)"
-            >打印</el-button
-          >
+          <el-button  type="danger" v-if="!scope.row.approveStatus && scope.row.status != '已驳回'" @click="del(scope.row)" v-hasPermission="`acquisitionManagement.acquisitionPay.delete`">删除</el-button>
+          <el-button v-if="!scope.row.approveStatus && scope.row.status != '已驳回'" @click="settlement(1, scope.row)" v-hasPermission="`acquisitionManagement.acquisitionPay.add`">结算</el-button >
+          <el-button v-if="scope.row.approveStatus || scope.row.status == '已驳回'" @click="settlement(2, scope.row)" v-hasPermission="`acquisitionManagement.acquisitionPay.view`">查看</el-button >
+          <el-button v-if=" scope.row.approveStatus || scope.row.status == '已驳回' || userJurisdiction " @click="print(scope.row)" v-hasPermission="`acquisitionManagement.acquisitionPay.print`">打印</el-button>
         </template>
       </el-table-column>
     </el-table>
@@ -318,7 +297,6 @@ export default {
     //上传付款截图
     handleAvatarSuccess(e) {
       this.imageUrl = e.url
-      console.log(e, 'dkltgoidrhfglkhs')
     },
     printSmall() {
       window.location.href =
@@ -447,9 +425,6 @@ export default {
       this.payments.paymentScreenshot = this.imageUrl
       this.payments.cashier = sessionStorage.getItem('ws-pf_staffName')
       this.payments.paymentManagementList = this.modification
-      console.log(this.payments,"付款")
-      
-
       this.$confirm('确定提交付款信息?', '提示', {
         confirmButtonText: '确定',
         cancelButtonText: '取消',
@@ -563,8 +538,10 @@ export default {
         .then((response) => {
           this.isShowPrint = true
           this.printData = response
-          console.log('printData', response)
+          let date = new Date()
+           this.printData.currentTime = date.getFullYear() +"年"+ date.getMonth() +"月"+ date.getDay()+"日"
         })
+     
     },
     examine() {
       if (this.modification.length == 0) {
@@ -594,12 +571,13 @@ export default {
     selectInit(row) {
       //在这里一定要记得类型匹配的上。
       if (row.status != '已驳回') {
-        if (row.taskId == null) {
+        if (row.taskId == null&&row.status != '已通过'&&row.status!='部分付款') {
           return false
         } else {
-          return true
+           return true
         }
-      } else {
+      } 
+      else {
         return true
       }
     },
@@ -607,19 +585,6 @@ export default {
     handleSelectionChange(val) {
       this.modification = val
     },
-    // handleRowClick(row) {
-    //   if (row.approveStatus == null) {
-    //     this.$refs.warehouseList.toggleRowSelection(row)
-    //     return true
-    //   } else if (row.approveStatus != null) {
-    //     if (row.taskId == null) {
-    //       return false
-    //     } else {
-    //       this.$refs.warehouseList.toggleRowSelection(row)
-    //       return true
-    //     }
-    //   }
-    // },
     warehouseChange(e) {
       for (let i = 0; i < this.warehouseList.length; i++) {
         if (this.warehouseList[i].id == this.warehouseNameKey) {

+ 7 - 5
src/views/houseSelfCollect/settlement.vue

@@ -110,7 +110,7 @@
                disabled
               />
             </ws-form-item>
-            <ws-form-item label="容重(克/升)" span="1" prop="waterContent">
+            <ws-form-item label="容重(克/升)>=" span="1" prop="waterContent">
               <ws-input v-model="paymentList.qualityInspectionManagement.bulkDensity" placeholder="请输入容重" maxlength="100" size="small" disabled />
             </ws-form-item>
             <ws-form-item label="热损伤(%)" span="1" prop="waterContent">
@@ -122,10 +122,10 @@
                 disabled
               />
             </ws-form-item>
-            <ws-form-item label="不完粒(%)" span="1" prop="waterContent">
+            <ws-form-item label="不完粒(%)" span="1" prop="waterContent">
               <ws-input
               v-model="paymentList.qualityInspectionManagement.imperfectGrain"
-                placeholder="请输入不完粒占比"
+                placeholder="请输入不完粒占比"
                 maxlength="100"
                 size="small"
                 disabled
@@ -596,7 +596,8 @@ export default {
           return chineseStr;
         },
     print() {
-       if (!this.paymentList.buckleWeightRatio) {
+      if(this.paymentList.type == "潮粮"){
+        if (!this.paymentList.buckleWeightRatio) {
           this.$message({
             message: '扣重比不能为空',
             type: 'warning',
@@ -610,7 +611,7 @@ export default {
           })
           return
         }
-
+      }
         if (this.paymentList.weighingSubsidy < 0 || this.paymentList.weighingSubsidy > 100000) {
           this.$message({
             message: '称重补助范围应在0-100000内',
@@ -703,6 +704,7 @@ export default {
       postpaymentedit(this.paymentList).toPromise().then((response) => {
          getpaymentexamine({id:this.$route.query.id}).toPromise().then((response) => {
              this.printData= response
+             console.log(this.printData,"打印")
          })
          this.isShowPrint = true
            

+ 3 - 20
src/views/houseSelfCollect/weighingManagement.vue

@@ -94,25 +94,10 @@
       <el-table-column prop="status" label="状态"></el-table-column>
       <el-table-column width="300" prop="contractNo1" label="操作">
         <template slot-scope="scope">
-          <el-button
-            @click="weightCheck(scope.row, 1)"
-            v-if="
-              scope.row.status == '已称毛重' || scope.row.status == '已质检'
-            "
-            >毛重</el-button
-          >
+          <el-button @click="weightCheck(scope.row, 1)" v-if=" scope.row.status == '已称毛重' || scope.row.status == '已质检' " v-hasPermission="`acquisitionManagement.acquisitionWeight.mao`" >毛重</el-button >
           <!-- scope.row.paymentManagement.status == '待结算' && -->
-          <el-button
-          :disabled = "scope.row.allow == 2"
-            @click="weightCheck(scope.row, 2)"
-            v-if="
-              scope.row.status == '已称毛重' || scope.row.status == '已称皮重' 
-            "
-            >皮重</el-button
-          >
-          <el-button @click="print(scope.row)" v-if="scope.row.status == '已称皮重'"
-            >打印</el-button
-          >
+          <el-button :disabled = "scope.row.allow == 2" @click="weightCheck(scope.row, 2)"  v-if="scope.row.status == '已称毛重' || scope.row.status == '已称皮重' " v-hasPermission="`acquisitionManagement.acquisitionWeight.weight`">皮重</el-button>
+          <el-button @click="print(scope.row)" v-if="scope.row.status == '已称皮重'" v-hasPermission="`acquisitionManagement.acquisitionWeight.print`">打印</el-button >
         </template>
       </el-table-column>
     </el-table>
@@ -275,7 +260,6 @@ export default {
           this.warehouseId = this.warehouseList[0].warehouseId
           this.purchasePriceList = this.warehouseList[0].warehouseList
          this.getList()
-          
         })
     },
     getList() {
@@ -302,7 +286,6 @@ export default {
           }
           this.weighingList = response.records
           this.deptBudgetTotal = response.total
-
         })
         .catch((response) => {
           // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))

+ 2 - 4
src/views/houseSelfCollect/weightCheck.vue

@@ -168,7 +168,6 @@
       <el-button type="primary" @click="printSmall">打印小票</el-button>
       <el-button type="primary" @click="printBig">打印单据</el-button>
       </div>
-      
     </el-dialog>
   </div>
 </template>
@@ -380,12 +379,11 @@ export default {
               .then((response) => {
                 for (let i = 0; i < this.purchasePriceList.length; i++) {
                   if (
-                    this.weighingList.goodsName ==
-                    this.purchasePriceList[i].goodsName
+                    this.weighingList.goodsName == this.purchasePriceList[i].goodsName
                   ) {
                     //累计售粮超上限不能完成毛检保存
                     let count = this.purchasePriceList[i].saleLimit - response
-                    if (count - this.weighingList.grossWeight < 0) {
+                    if (count - this.weighingList.grossWeight/1000 < 0) {
                       this.$alert(
                         '该客户累计销售' +
                           this.weighingList.goodsName +

+ 3 - 3
src/views/outboundManagement/collectionment.vue

@@ -101,7 +101,7 @@
                 disabled
               />
             </ws-form-item>
-            <ws-form-item label="容重(克/升)" span="1" prop="bulkDensity">
+            <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
               <ws-input 
               v-model="collectionList.qualityInspectionManagement.bulkDensity" placeholder="请输入容重" maxlength="100" size="small" disabled/>
             </ws-form-item>
@@ -114,10 +114,10 @@
                 disabled
               />
             </ws-form-item>
-            <ws-form-item label="不完粒(%)" span="1" prop="imperfectGrain">
+            <ws-form-item label="不完粒(%)" span="1" prop="imperfectGrain">
               <ws-input
               v-model="collectionList.qualityInspectionManagement.imperfectGrain"
-                placeholder="请输入不完粒占比"
+                placeholder="请输入不完粒占比"
                 maxlength="100"
                 size="small"
                 disabled

+ 3 - 3
src/views/outboundManagement/qualityInspection.vue

@@ -115,7 +115,7 @@
                 :disabled="disabled"
               />
             </ws-form-item>
-            <ws-form-item label="容重(克/升)" span="1" prop="bulkDensity">
+            <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
               <ws-input
                 v-model="inspect.bulkDensity"
                 placeholder="请输入容重"
@@ -133,10 +133,10 @@
                 :disabled="disabled"
               />
             </ws-form-item>
-            <ws-form-item label="不完粒(%)" span="1" prop="imperfectGrain">
+            <ws-form-item label="不完粒(%)" span="1" prop="imperfectGrain">
               <ws-input
                 v-model="inspect.imperfectGrain"
-                placeholder="请输入不完粒占比"
+                placeholder="请输入不完粒占比"
                 maxlength="100"
                 size="small"
                 :disabled="disabled"

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

@@ -285,7 +285,7 @@
               class="typeselect"
             />
           </el-form-item>
-          <!-- 蛋白(%)<= -->
+          <!-- 蛋白(%)>= -->
           <el-form-item label="蛋白(%)>=" span="1" prop="protein">
             <el-input
               v-model="dataList.protein"

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

@@ -121,7 +121,7 @@
           <el-form-item label="不完善粒(%)<=" span="1">
             <el-input disabled v-model="dataList.imperfectGrain" maxlength="120" />
           </el-form-item>
-          <!-- 蛋白(%)<= -->
+          <!-- 蛋白(%)>= -->
           <el-form-item label="蛋白(%)>=" span="1">
             <el-input v-model="dataList.protein" placeholder class="typeselect" disabled />
           </el-form-item>

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

@@ -232,7 +232,7 @@
           <el-form-item label="不完善粒(%)<=" span="1" prop="imperfectGrain">
             <el-input v-model="dataList.imperfectGrain" class="typeselect" maxlength="120" placeholder="请输入不完善粒占比" />
           </el-form-item>
-          <!-- 蛋白(%)<= -->
+          <!-- 蛋白(%)>= -->
           <el-form-item label="蛋白(%)>=" span="1" prop="protein">
             <el-input v-model="dataList.protein" class="typeselect" placeholder="请输入蛋白占比" />
           </el-form-item>

File diff suppressed because it is too large
+ 260 - 514
src/views/statisticalReport/stockPurchaseReceiptReportList.vue


+ 6 - 6
src/views/taskManagement/inOutWarehouseTaskEdit.vue

@@ -104,8 +104,8 @@
             {{dataList.grade}}
             <!-- </el-select> -->
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             {{dataList.bulkDensity}}
           </el-form-item>
           <!--水分(%)<=-->
@@ -208,8 +208,8 @@
             />
             {{dataList1.grade}}
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             {{dataList1.bulkDensity}}
           </el-form-item>
           <!--水分(%)<=-->
@@ -318,8 +318,8 @@
             {{dataList.grade}}
             <!-- </el-select> -->
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             {{dataList.bulkDensity}}
           </el-form-item>
           <!--水分(%)<=-->

+ 29 - 26
src/views/taskManagement/tranManagementWarehouseInOutTaskAdd.vue

@@ -171,8 +171,8 @@
               />
             </el-select>
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             <el-input
               @input="bulkDensitychange"
               v-model="dataList.bulkDensity"
@@ -394,8 +394,8 @@
               />
             </el-select>
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             <el-input
               @input="bulkDensitychange"
               :disabled="dataList.taskTypeKey == 3"
@@ -613,8 +613,8 @@
               />
             </el-select>
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             <el-input
               :disabled="dataList.taskTypeKey == 3 || dataList.taskTypeKey == 4"
               v-model="dataList.bulkDensity"
@@ -1054,21 +1054,21 @@ export default {
         }
         if (!this.dataList.bulkDensity) {
           this.$message({
-            message: '容重(克/升)>=不能为空!',
+            message: '容重不能为空!',
             type: 'warning',
           })
           return
         }
         if (!this.dataList.waterContent) {
           this.$message({
-            message: '水份(%)<=不能为空!',
+            message: '水不能为空!',
             type: 'warning',
           })
           return
         }
         if (!this.dataList.unitPrice) {
           this.$message({
-            message: '单价(元/吨)不能为空!',
+            message: '单价不能为空!',
             type: 'warning',
           })
           return
@@ -1136,21 +1136,21 @@ export default {
         }
         if (!this.dataList1.bulkDensity) {
           this.$message({
-            message: '容重(克/升)>=不能为空!',
+            message: '容重不能为空!',
             type: 'warning',
           })
           return
         }
         if (!this.dataList1.waterContent) {
           this.$message({
-            message: '水份(%)<=不能为空!',
+            message: '水不能为空!',
             type: 'warning',
           })
           return
         }
         if (!this.dataList1.unitPrice) {
           this.$message({
-            message: '单价(元/吨)不能为空!',
+            message: '单价不能为空!',
             type: 'warning',
           })
           return
@@ -1223,21 +1223,21 @@ export default {
         }
         if (!this.dataList1.bulkDensity) {
           this.$message({
-            message: '容重(克/升)>=不能为空!',
+            message: '容重不能为空!',
             type: 'warning',
           })
           return
         }
         if (!this.dataList1.waterContent) {
           this.$message({
-            message: '水份(%)<=不能为空!',
+            message: '水不能为空!',
             type: 'warning',
           })
           return
         }
         if (!this.dataList1.unitPrice) {
           this.$message({
-            message: '单价(元/吨)不能为空!',
+            message: '单价不能为空!',
             type: 'warning',
           })
           return
@@ -1335,21 +1335,21 @@ export default {
         }
         if (!this.dataList1.bulkDensity) {
           this.$message({
-            message: '容重(克/升)>=不能为空!',
+            message: '容重不能为空!',
             type: 'warning',
           })
           return
         }
         if (!this.dataList1.waterContent) {
           this.$message({
-            message: '水份(%)<=不能为空!',
+            message: '水不能为空!',
             type: 'warning',
           })
           return
         }
         if (!this.dataList1.unitPrice) {
           this.$message({
-            message: '单价(元/吨)不能为空!',
+            message: '单价不能为空!',
             type: 'warning',
           })
           return
@@ -1624,15 +1624,18 @@ export default {
         .toPromise()
         .then((response) => {
           this.warehouseNameList = response
+          getwarehousename({
+            compId: this.compId,
+            warehouseType: 2,
+          })
+            .toPromise()
+            .then((response) => {
+              for(var i=0;i<response.length;i++){
+                this.warehouseNameList.push(response[i])
+              }
+            })
         })
-      getwarehousename({
-        compId: this.compId,
-        warehouseType: 2,
-      })
-        .toPromise()
-        .then((response) => {
-          this.warehouseNameList1 = response
-        })
+      
       //经办人
       getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
         .toPromise()

+ 6 - 6
src/views/taskManagement/tranManagementWarehouseInOutTaskAudit.vue

@@ -173,8 +173,8 @@
               />
             </el-select>
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             <el-input
               @input="bulkDensitychange"
               v-model="dataList.bulkDensity"
@@ -416,8 +416,8 @@
               />
             </el-select>
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             <el-input
               @input="bulkDensitychange"
               :disabled="dataList.taskTypeKey == 3"
@@ -646,8 +646,8 @@
               />
             </el-select>
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             <el-input
               disabled
               v-model="dataList.bulkDensity"

+ 6 - 6
src/views/taskManagement/tranManagementWarehouseInOutTaskEdit.vue

@@ -162,8 +162,8 @@
               />
             </el-select>
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             <el-input
             @input='bulkDensitychange'
               v-model="dataList.bulkDensity"
@@ -367,8 +367,8 @@
               />
             </el-select>
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             <el-input
             @input='bulkDensitychange'
             :disabled='dataList.taskTypeKey == 3'
@@ -575,8 +575,8 @@
               />
             </el-select>
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             <el-input
             :disabled='dataList.taskTypeKey == 3||dataList.taskTypeKey == 4'
               v-model="dataList.bulkDensity"

+ 15 - 15
src/views/warehouse/warehouseManagementDelivery.vue

@@ -221,8 +221,8 @@
               size="small"
             />
           </ws-form-item>
-          <!--容重(克/升)>=-->
-          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
+          <!--容重(克/升)>=-->
+          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
             <ws-input
               v-model="deptBudgetList.warehouseInOutDetail.bulkDensity"
               placeholder="请输入容重"
@@ -248,11 +248,11 @@
               size="small"
             />
           </ws-form-item>
-          <!--不完粒(%)<=-->
-          <ws-form-item label="不完粒(%)<=" span="1" prop="imperfectGrain">
+          <!--不完粒(%)<=-->
+          <ws-form-item label="不完粒(%)<=" span="1" prop="imperfectGrain">
             <ws-input
               v-model="deptBudgetList.warehouseInOutDetail.imperfectGrain"
-              placeholder="请输入不完粒占比"
+              placeholder="请输入不完粒占比"
               maxlength="120"
               size="small"
             />
@@ -636,11 +636,11 @@ export default {
         }
       }
 
-      //不完粒(%)
+      //不完粒(%)
       if (this.deptBudgetList.warehouseInOutDetail.imperfectGrain) {
         if (isNaN(this.deptBudgetList.warehouseInOutDetail.imperfectGrain)) {
           this.$message({
-            message: '不完粒(%)非数字!',
+            message: '不完粒(%)非数字!',
             type: 'warning',
           })
           return
@@ -660,7 +660,7 @@ export default {
               2)
         ) {
           this.$message({
-            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
+            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
             type: 'warning',
           })
           return
@@ -670,7 +670,7 @@ export default {
       if (this.deptBudgetList.warehouseInOutDetail.bulkDensity) {
         if (isNaN(this.deptBudgetList.warehouseInOutDetail.bulkDensity)) {
           this.$message({
-            message: '容重(克/升)非数字!',
+            message: '容重(克/升)非数字!',
             type: 'warning',
           })
           return
@@ -690,7 +690,7 @@ export default {
               0)
         ) {
           this.$message({
-            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
+            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
             type: 'warning',
           })
           return
@@ -998,11 +998,11 @@ export default {
         }
       }
 
-      //不完粒(%)
+      //不完粒(%)
       if (this.deptBudgetList.warehouseInOutDetail.imperfectGrain) {
         if (isNaN(this.deptBudgetList.warehouseInOutDetail.imperfectGrain)) {
           this.$message({
-            message: '不完粒(%)非数字!',
+            message: '不完粒(%)非数字!',
             type: 'warning',
           })
           return
@@ -1022,7 +1022,7 @@ export default {
               2)
         ) {
           this.$message({
-            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
+            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
             type: 'warning',
           })
           return
@@ -1032,7 +1032,7 @@ export default {
       if (this.deptBudgetList.warehouseInOutDetail.bulkDensity) {
         if (isNaN(this.deptBudgetList.warehouseInOutDetail.bulkDensity)) {
           this.$message({
-            message: '容重(克/升)非数字!',
+            message: '容重(克/升)非数字!',
             type: 'warning',
           })
           return
@@ -1052,7 +1052,7 @@ export default {
               0)
         ) {
           this.$message({
-            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
+            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
             type: 'warning',
           })
           return

+ 10 - 10
src/views/warehouse/warehouseManagementPerfectDelivery.vue

@@ -223,8 +223,8 @@
               size="small"
             />
           </ws-form-item>
-          <!--容重(克/升)>=-->
-          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
+          <!--容重(克/升)>=-->
+          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
             <ws-input
               v-model="dataList.warehouseInOutDetail.bulkDensity"
               placeholder="请输入容重"
@@ -250,11 +250,11 @@
               size="small"
             />
           </ws-form-item>
-          <!--不完粒(%)<=-->
-          <ws-form-item label="不完粒(%)<=" span="1" prop="imperfectGrain">
+          <!--不完粒(%)<=-->
+          <ws-form-item label="不完粒(%)<=" span="1" prop="imperfectGrain">
             <ws-input
               v-model="dataList.warehouseInOutDetail.imperfectGrain"
-              placeholder="请输入不完粒占比"
+              placeholder="请输入不完粒占比"
               maxlength="120"
               size="small"
             />
@@ -721,11 +721,11 @@ export default {
         }
       }
 
-      //不完粒(%)
+      //不完粒(%)
       if (this.dataList.warehouseInOutDetail.imperfectGrain) {
         if (isNaN(this.dataList.warehouseInOutDetail.imperfectGrain)) {
           this.$message({
-            message: '不完粒(%)非数字!',
+            message: '不完粒(%)非数字!',
             type: 'warning',
           })
           return
@@ -744,7 +744,7 @@ export default {
               2)
         ) {
           this.$message({
-            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
+            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
             type: 'warning',
           })
           return
@@ -754,7 +754,7 @@ export default {
       if (this.dataList.warehouseInOutDetail.bulkDensity) {
         if (isNaN(this.dataList.warehouseInOutDetail.bulkDensity)) {
           this.$message({
-            message: '容重(克/升)非数字!',
+            message: '容重(克/升)非数字!',
             type: 'warning',
           })
           return
@@ -773,7 +773,7 @@ export default {
               0)
         ) {
           this.$message({
-            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
+            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
             type: 'warning',
           })
           return

+ 10 - 10
src/views/warehouse/warehouseManagementPerfectput.vue

@@ -267,8 +267,8 @@
               size="small"
             />
           </ws-form-item>
-          <!--容重(克/升)>=-->
-          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
+          <!--容重(克/升)>=-->
+          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
             <ws-input
               v-model="dataList.warehouseInOutDetail.bulkDensity"
               placeholder="请输入容重"
@@ -294,11 +294,11 @@
               size="small"
             />
           </ws-form-item>
-          <!--不完粒(%)<=-->
-          <ws-form-item label="不完粒(%)<=" span="1" prop="imperfectGrain">
+          <!--不完粒(%)<=-->
+          <ws-form-item label="不完粒(%)<=" span="1" prop="imperfectGrain">
             <ws-input
               v-model="dataList.warehouseInOutDetail.imperfectGrain"
-              placeholder="请输入不完粒占比"
+              placeholder="请输入不完粒占比"
               maxlength="120"
               size="small"
             />
@@ -772,11 +772,11 @@ export default {
         }
       }
 
-      //不完粒(%)
+      //不完粒(%)
       if (this.dataList.warehouseInOutDetail.imperfectGrain) {
         if (isNaN(this.dataList.warehouseInOutDetail.imperfectGrain)) {
           this.$message({
-            message: '不完粒(%)非数字!',
+            message: '不完粒(%)非数字!',
             type: 'warning',
           })
           return
@@ -795,7 +795,7 @@ export default {
               2)
         ) {
           this.$message({
-            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
+            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
             type: 'warning',
           })
           return
@@ -805,7 +805,7 @@ export default {
       if (this.dataList.warehouseInOutDetail.bulkDensity) {
         if (isNaN(this.dataList.warehouseInOutDetail.bulkDensity)) {
           this.$message({
-            message: '容重(克/升)非数字!',
+            message: '容重(克/升)非数字!',
             type: 'warning',
           })
           return
@@ -824,7 +824,7 @@ export default {
               0)
         ) {
           this.$message({
-            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
+            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
             type: 'warning',
           })
           return

+ 15 - 15
src/views/warehouse/warehouseManagementPut.vue

@@ -248,8 +248,8 @@
               size="small"
             />
           </ws-form-item>
-          <!--容重(克/升)>=-->
-          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
+          <!--容重(克/升)>=-->
+          <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
             <ws-input
               v-model="deptBudgetList.warehouseInOutDetail.bulkDensity"
               placeholder="请输入容重"
@@ -275,11 +275,11 @@
               size="small"
             />
           </ws-form-item>
-          <!--不完粒(%)<=-->
-          <ws-form-item label="不完粒(%)<=" span="1" prop="imperfectGrain">
+          <!--不完粒(%)<=-->
+          <ws-form-item label="不完粒(%)<=" span="1" prop="imperfectGrain">
             <ws-input
               v-model="deptBudgetList.warehouseInOutDetail.imperfectGrain"
-              placeholder="请输入不完粒占比"
+              placeholder="请输入不完粒占比"
               maxlength="40"
               size="small"
             />
@@ -693,11 +693,11 @@ export default {
         }
       }
 
-      //不完粒(%)
+      //不完粒(%)
       if (this.deptBudgetList.warehouseInOutDetail.imperfectGrain) {
         if (isNaN(this.deptBudgetList.warehouseInOutDetail.imperfectGrain)) {
           this.$message({
-            message: '不完粒(%)非数字!',
+            message: '不完粒(%)非数字!',
             type: 'warning'
           })
           return
@@ -717,7 +717,7 @@ export default {
               2)
         ) {
           this.$message({
-            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
+            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
             type: 'warning'
           })
           return
@@ -727,7 +727,7 @@ export default {
       if (this.deptBudgetList.warehouseInOutDetail.bulkDensity) {
         if (isNaN(this.deptBudgetList.warehouseInOutDetail.bulkDensity)) {
           this.$message({
-            message: '容重(克/升)非数字!',
+            message: '容重(克/升)非数字!',
             type: 'warning'
           })
           return
@@ -747,7 +747,7 @@ export default {
               0)
         ) {
           this.$message({
-            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
+            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
             type: 'warning'
           })
           return
@@ -1022,11 +1022,11 @@ export default {
         }
       }
 
-      //不完粒(%)
+      //不完粒(%)
       if (this.deptBudgetList.warehouseInOutDetail.imperfectGrain) {
         if (isNaN(this.deptBudgetList.warehouseInOutDetail.imperfectGrain)) {
           this.$message({
-            message: '不完粒(%)非数字!',
+            message: '不完粒(%)非数字!',
             type: 'warning'
           })
           return
@@ -1046,7 +1046,7 @@ export default {
               2)
         ) {
           this.$message({
-            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
+            message: '不完粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
             type: 'warning'
           })
           return
@@ -1056,7 +1056,7 @@ export default {
       if (this.deptBudgetList.warehouseInOutDetail.bulkDensity) {
         if (isNaN(this.deptBudgetList.warehouseInOutDetail.bulkDensity)) {
           this.$message({
-            message: '容重(克/升)非数字!',
+            message: '容重(克/升)非数字!',
             type: 'warning'
           })
           return
@@ -1076,7 +1076,7 @@ export default {
               0)
         ) {
           this.$message({
-            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
+            message: '容重(克/升)输入错误! 取值范围1-40之间且是整数',
             type: 'warning'
           })
           return

+ 2 - 2
src/views/warehouse/warehouseManagementPutOutLook.vue

@@ -155,8 +155,8 @@
               />
             </el-input>
           </el-form-item>
-          <!--容重(克/升)>=-->
-          <el-form-item label="容重(克/升)>=">
+          <!--容重(克/升)>=-->
+          <el-form-item label="容重(克/升)>=">
             <el-input
               disabled
               v-model="dataList.bulkDensity"

+ 2 - 2
src/views/warehouse/warehouseManagementRecord.vue

@@ -115,7 +115,7 @@
                   <ws-form-item label="水分(%)<=" span="1" prop="waterContent">
                     {{ props.row.waterContent }}
                   </ws-form-item>
-                  <ws-form-item label="容重(%)<=" span="1" prop="bulkDensity">
+                  <ws-form-item label="容重(g/l)>=" span="1" prop="bulkDensity">
                     {{ props.row.bulkDensity }}
                   </ws-form-item>
                   <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">
@@ -224,7 +224,7 @@
                   <ws-form-item label="水分(%)<=" span="1" prop="waterContent">
                     {{ props.row.waterContent }}
                   </ws-form-item>
-                  <ws-form-item label="容重(%)<=" span="1" prop="bulkDensity">
+                  <ws-form-item label="容重(g/l)>=" span="1" prop="bulkDensity">
                     {{ props.row.bulkDensity }}
                   </ws-form-item>
                   <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">

+ 3 - 2
vue.config.js

@@ -141,8 +141,9 @@ module.exports = {
         // target: 'https://product-server.winsea.com/', //目标地址
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://localhost:8090/',
-        target: 'http://192.168.1.120:8090/',
-        // target: 'http://192.168.1.112:8090/',
+        // target: 'http://192.168.1.120:8090/',
+        // target: 'http://192.168.1.103:9100/',
+        target: 'http://192.168.1.112:8090/',
         // target: 'http://192.168.1.121:8090/',
         // target: 'http://192.168.1.119:8090/',
         // target: 'http://192.168.24.5:8098',//目标地址

Some files were not shown because too many files changed in this diff