ccjgmwz 3 年之前
父节点
当前提交
9195daa177
共有 2 个文件被更改,包括 11 次插入12 次删除
  1. 9 11
      public/static/weightCheck.html
  2. 2 1
      src/views/houseSelfCollect/weighingManagement.vue

+ 9 - 11
public/static/weightCheck.html

@@ -10,7 +10,7 @@
       table tr td {
         border: 2px solid #333333;
         padding: 5px 0;
-        height: 36px;
+        height: 43px;
       }
 
       #app {
@@ -19,11 +19,9 @@
       }
 
       .content {
-        padding-top: 100px;
-        padding-left: 20px;
-        padding-right: 20px;
         width: 1000px;
-        margin: auto;
+        padding: 50px 20px 20px 20px;
+        font-size: 18px;
         position: absolute;
         top: 0;
         bottom: 0;
@@ -45,12 +43,11 @@
       .bottom-row1 {
         display: flex;
         /* justify-content: space-between; */
-        margin: 20px 0;
+        margin-top: 5px 0;
       }
 
       .bottom-row2 {
         display: flex;
-        margin: 10px 0;
       }
 
       img {
@@ -60,11 +57,11 @@
       }
 
       .config {
-        margin-top: 20px;
+        margin-top: 10px;
         margin-right: 240px;
       }
       .autograph{
-    margin-top: 20px;
+    margin-top: 10px;
      }
       .bottom-row3 {
         margin: 10px 0;
@@ -72,7 +69,8 @@
 
       .title {
         text-align: center;
-        font-size: 24px;
+        font-size: 36px;
+        font-weight: 500;
       }
 
       .number {
@@ -123,7 +121,7 @@
   <body>
     <div id="app">
       <div class="content" v-if="bigContent">
-        <div class="title">粮食检斤单</div>
+        <div class="title">{{tableData.compName}}粮食检斤单</div>
         <div class="number">{{tableData.number}}</div>
         <table class="table">
           <tr class="row">

+ 2 - 1
src/views/houseSelfCollect/weighingManagement.vue

@@ -166,7 +166,7 @@ export default {
         qualityInspectionManagement:{},
       },
       purchasePriceList:[],
-      allowEdit:true,
+      allowEdit:false,
       disabled:false
     }
   },
@@ -275,6 +275,7 @@ export default {
             this.warehouseId=_wareHouse.id
              this.warehouseNo =_wareHouse.commonWarehouseNo
              this.monitorUrl1=_wareHouse.monitorUrl1
+              this.allowEdit = _wareHouse.allowEdit
              this.monitorUrl2=_wareHouse.monitorUrl2
           } else {
             if (this.cangid&&this.cangid == response[i].id) {