瀏覽代碼

Merge branch 'master' of http://47.100.3.209:3000/gdc/yiliangyiyun-pc

ccjgmwz 3 年之前
父節點
當前提交
b80be5d1a0

+ 1 - 1
src/model/home/index.js

@@ -25,4 +25,4 @@ export const getFileList = appRx.get(API_GET_GETFILELIST, errorCatcher, errorHan
 export const getCurrentUserInfo = appRx.get(API_GET_GETCURRENTUSERINFO, errorCatcher, errorHandle, filter)
 
 export const getStaffHomeShowList = appRx.get(API_GET_GETSTAFFHOMESHOWLIST, errorCatcher, errorHandle, filter)
-export const getChartsData = appRx.get(API_GET_GETCHARTSDATA, errorCatcher, errorHandle, filter)
+export const gChartsData = appRx.get(API_GET_GETCHARTSDATA, errorCatcher, errorHandle, filter)

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

@@ -104,7 +104,7 @@
 						src="../../../public/img/bianji.png" @click="handleEdit(scope.row)" v-hasPermission="
               `contractManagement.buyContract.buyContractInfo.edit`
             " alt="" />
-					<img width="16" height="17" style="
+					<img width="16" height="17" v-if="scope.row.status != '执行中'&&scope.row.status != '已完成'" style="
               vertical-align: text-top;
               position: relative;
               top: -1px;

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

@@ -105,7 +105,7 @@
 						src="../../../public/img/bianji.png" @click="handleEdit(scope.row)" v-hasPermission="
               `contractManagement.buyContract.buyContractInfo.edit`
             " alt="" />
-					<img width="16" height="17" style="
+					<img width="16"  v-if="scope.row.status != '执行中'&&scope.row.status != '已完成'" height="17" style="
               vertical-align: text-top;
               position: relative;
               top: -1px;

+ 1 - 0
src/views/contractManagement/purchaseContract.vue

@@ -243,6 +243,7 @@
               top: -1px;
               margin: 0 6px;
             "
+             v-if="scope.row.status != '执行中'&&scope.row.status != '已完成'"
             src="../../../public/img/shanchu.png"
             v-hasPermission="
               `contractManagement.buyContract.buyContractInfo.delete`

+ 1 - 0
src/views/contractManagement/salesContract.vue

@@ -248,6 +248,7 @@
               top: -1px;
               margin: 0 6px;
             "
+             v-if="scope.row.status != '执行中'&&scope.row.status != '已完成'"
             src="../../../public/img/shanchu.png"
             v-hasPermission="
               `contractManagement.salesContract.salesContractInfo.delete`

+ 42 - 147
src/views/home/index.vue

@@ -10,7 +10,7 @@
             <img src="../../../public/img/8b2c7255e9b19c71d68b33a08f20f74.png" alt="">
 
           </div>
-          <div class="right">
+         <div class="right">
             <div class="top">
               {{ nowDate }}
             </div>
@@ -54,15 +54,15 @@
                 <div class="left-card">
                   <div class="item">
                     <p>在途车辆</p>
-                    <p><span class="number">76</span><span class="number-text">台</span></p>
+                    <p><span class="number">{{carCount1}}</span><span class="number-text">台</span></p>
                   </div>
                   <div class="item">
                     <p>装货车辆</p>
-                    <p><span class="number" style="color:#ffa523;">86</span><span class="number-text">台</span></p>
+                     <p><span class="number" style="color:#ffa523">{{carCount2}}</span><span class="number-text">台</span></p>
                   </div>
                   <div class="item">
                     <p>卸货车辆</p>
-                    <p><span class="number" style="color: #2483ff;">16</span><span class="number-text">台</span></p>
+                     <p><span class="number" style="color:#2483ff">{{carCount3}}</span><span class="number-text">台</span></p>
                   </div>
                 </div>
               </el-col>
@@ -83,14 +83,14 @@
                 <div class="left">
                   <img src="../../../public/img/1637204557176-s4AMbBA8.png" alt="">
                   <span>总库存量</span>
-                  <span class="content3-number blue">27631</span>
+                  <span class="content3-number blue">{{inventoryCost}}</span>
                   <span style="margin-top: 10px;">吨</span>
                 </div>
                 <div class="right">
                   <img src="../../../public/img/1637204768818-70JRjz0H.png" alt="">
                   <span>库存价值</span>
-                  <span class="content3-number yellow">37745671</span>
-                  <span style="margin-top: 10px;"></span>
+                  <span class="content3-number yellow">{{inventoryValue}}</span>
+                  <span style="margin-top: 10px;"></span>
                 </div>
               </div>
             </el-row>
@@ -160,7 +160,7 @@
     noticeNumber,
     queryCircularManagementReceiveList,
     getStaffHomeShowList,
-    getChartsData
+    gChartsData
   } from '@/model/home/index'
   import {
     getUserVesselList,
@@ -211,6 +211,12 @@
 
     data() {
       return {
+        totalReserves:'',
+        inventoryCost:'',
+        inventoryValue:'',
+        carCount1:'',
+        carCount2:'',
+        carCount3:'',
         chartsData: [],
         nowDate: null, //存放年月日变量
         nowTime: null, //存放时分秒变量
@@ -322,9 +328,9 @@
       //获取快捷路口列表
       this.getRouteList()
       // this.checkUserInfoDialog()
-      {
+      // {
         this.timer = setInterval(this.getTime, 1000);
-      }
+      // }
     },
     beforeDestroy() {
       clearInterval(this.timer);
@@ -351,9 +357,15 @@
       //    }, 2000);
       //获取新闻列表
       // this.getNewList()
-      getChartsData().toPromise().then(res => {
+      gChartsData().toPromise().then(res => {
         console.log(res)
         this.chartsData = res
+        this.carCount1 = res[6].biViewInfoList[0].count
+        this.carCount2 = res[6].biViewInfoList[1].count
+        this.carCount3 = res[6].biViewInfoList[2].count
+        this.inventoryCost = res[7].biViewInfoList[0].count
+        this.inventoryValue =  res[7].biViewInfoList[1].count
+        this.totalReserves = res[8].biViewInfoList
         this.initCharts()
       })
       // if (this.vesselBankFlag !== 'V') {
@@ -604,48 +616,18 @@
             app.dialogVisible = true
           })
         }
-
+        debugger
+        console.log(this.totalReserves)
+        let _x = []
+        let _y = []
+        for(let i = 0;i<this.totalReserves.length;i++){
+          _x.push(this.totalReserves[i].name)
+          _y.push(this.totalReserves[i].count)
+        }
+        
         // 柱状图
         let myChart7 = app.$echarts.init(this.$refs.myEchart7);
         var zoption = {
-          // ----  标题 -----
-          // title: {
-          //   text: '',//主标题
-          //   textStyle: {
-          //     color: 'red'
-          //   },
-          //   subtext: '',//副标题
-          //   subtextStyle: {
-          //     color: 'blue'
-          //   },
-          //   padding: [0, 0, 10, 100]  // 位置
-          // },
-          // ---- legend ----
-          // legend: {
-          //   type: 'plain',  // 图列类型,默认为 'plain'
-          //   top: '1%',  // 图列相对容器的位置 top\bottom\left\right
-          //   selected: {
-          //     // '销量': true  // 图列选择,图形加载出来会显示选择的图列,默认为true
-          //   },
-          //   textStyle: {  // 图列内容样式
-          //     color: '#fff',  // 字体颜色
-          //     backgroundColor: 'black'  // 字体背景色
-          //   },
-          //   tooltip: {  // 图列提示框,默认不显示
-          //     show: true,
-          //     color: '#666'
-          //   },
-          //   data: [   // 图列内容
-          //     {
-          //       name: '', //上方标题内容
-          //       icon: 'circle',
-          //       textStyle: {
-          //         color: '#666',  // 单独设置某一个图列的颜色
-          //         backgroundColor: '#fff' // 单独设置某一个图列的字体背景色
-          //       }
-          //     }
-          //   ]
-          // },
           grid: {
             left: '0',
             right: '0',
@@ -666,55 +648,10 @@
               color: '#fff'
             }
           },
-          // ---- gird区域 ---
-          // gird: {
-          //   show: false,    // 是否显示直角坐标系网格
-          //   top: 10,  // 相对位置 top\bottom\left\right
-          //   containLabel: false, // gird 区域是否包含坐标轴的刻度标签
-          //   tooltip: {
-          //     show: true,
-          //     trigger: 'item',   // 触发类型
-          //     textStyle: {
-          //       color: '#666'
-          //     }
-          //   }
-          // },
+        
           //  ------  X轴 ------
           xAxis: {
-            // show: true,  // 是否显示
-            // position: 'bottom',  // x轴的位置
-            // offset: 0, // x轴相对于默认位置的偏移
-            // type: 'category',   // 轴类型, 默认为 'category'
-            // name: '',    // 轴名称
-            // nameLocation: 'end',  // 轴名称相对位置
-            // nameTextStyle: {   // 坐标轴名称样式
-            //   color: '#666',
-            //   padding: [5, 0, 0, -5]
-            // },
-            // nameGap: 30, // 坐标轴名称与轴线之间的距离
-            // nameRotate: 0,  // 坐标轴名字旋转
-            // axisLine: {       // 坐标轴 轴线
-            //   show: true,  // 是否显示
-            //   // symbol: ['none', 'arrow'],  // 是否显示轴线箭头
-            //   // symbolSize: [8, 8], // 箭头大小
-            //   // symbolOffset: [0, 7],  // 箭头位置
-            //   // ------   线 ---------
-            //   lineStyle: {
-            //     color: '#666',
-            //     width: 1,
-            //     type: 'solid'
-            //   }
-            // },
-            // axisTick: {    // 坐标轴 刻度
-            //   show: true,  // 是否显示
-            //   inside: true,  // 是否朝内
-            //   length: 3,     // 长度
-            //   lineStyle: {   // 默认取轴线的样式
-            //     color: '#666',
-            //     width: 1,
-            //     type: 'solid'
-            //   }
-            // },
+          
             axisLabel: { // 坐标轴标签
               show: true, // 是否显示
               inside: false, // 是否朝内
@@ -724,58 +661,20 @@
               interval: 0,
               rotate: 40
             },
-            // splitLine: {    // gird区域中的分割线
-            //   show: false,  // 是否显示
-            //   lineStyle: {
-            //     // color: 'red',
-            //     // width: 1,
-            //     // type: 'solid'
-            //   }
-            // },
+         
             splitArea: { // 网格区域
               show: false // 是否显示,默认为false
             },
-            data: ['玉米', '玉米(潮粮)', '玉米(酒精)', '玉米(机收)', '混合麦', '白小麦', '大豆', '水稻', '高粱', '玉米淀粉', '豆粕']
+            data: _x
           },
           //   ------   y轴  ----------
           yAxis: {
-            // show: true,  // 是否显示
-            // position: 'left', // y轴位置
-            // offset: 0, // y轴相对于默认位置的偏移
-            // type: 'value',  // 轴类型,默认为 ‘category’
-            // // name: '销量',   // 轴名称
-            // nameLocation: 'end', // 轴名称相对位置value
-            // nameTextStyle: {    // 坐标轴名称样式
-            //   color: '#fff',
-            //   padding: [5, 0, 0, 5]  // 坐标轴名称相对位置
-            // },
-            // nameGap: 15, // 坐标轴名称与轴线之间的距离
-            // nameRotate: 270,  // 坐标轴名字旋转
-
+          
             axisLine: { // 坐标轴 轴线
               show: false, // 是否显示
-              //  -----   箭头 -----
-              // symbol: ['none', 'arrow'],  // 是否显示轴线箭头
-              // symbolSize: [8, 8],  // 箭头大小
-              // symbolOffset: [0, 7], // 箭头位置
-
-              // ----- 线 -------
-              // lineStyle: {
-              //   color: '#666',
-              //   width: 1,
-              //   type: 'solid'
-              // }
+           
             },
-            // axisTick: {      // 坐标轴的刻度
-            //   show: true,    // 是否显示
-            //   inside: true,  // 是否朝内
-            //   length: 3,      // 长度
-            //   lineStyle: {
-            //     color: '#666',  // 默认取轴线的颜色
-            //     width: 1,
-            //     type: 'solid'
-            //   }
-            // },
+           
             axisLabel: { // 坐标轴的标签
               show: true, // 是否显示
               inside: false, // 是否朝内
@@ -790,10 +689,7 @@
                 width: 1,
                 type: 'dashed'
               }
-            },
-            // splitArea: {     // 网格区域
-            //   show: false   // 是否显示,默认为false
-            // }
+            }
           },
           //  -------   内容数据 -------
           series: [{
@@ -819,12 +715,10 @@
               position: 'top',
               color: '#b0b1b3'
             },
-            data: [3000, 4000, 4200, 4500, 6000, 5600, 4500, 5020, 4500, 5400, 4300]
+            data: _y
           }]
         };
-
         myChart7.setOption(zoption)
-
       },
       handleClose(done) {
         this.$confirm('确认关闭?')
@@ -1984,4 +1878,5 @@
     right: 10px;
     bottom: 10px;
   }
+
 </style>

+ 10 - 0
src/views/houseSelfCollect/component/inspectInfoPrint.vue

@@ -11,6 +11,16 @@
         <td class="col col-bgc">车牌号</td>
         <td class="col">{{ printData.carNumber }}</td>
       </tr>
+      <tr class="row">
+        <td class="col col-bgc">箱号-1</td>
+        <td class="col">{{ printData.boxNo }}</td>
+        <td class="col col-bgc">箱号-2</td>
+        <td class="col">{{ printData.boxNoOther }}</td>
+        <td class="col col-bgc">封号-1</td>
+        <td class="col">{{ printData.titleNo }}</td>
+        <td class="col col-bgc">封号-2</td>
+        <td class="col">{{ printData.titleNoOther }}</td>
+      </tr>
       <tr class="row">
         <td class="col col-bgc">收货单位</td>
         <td class="col" colspan="2">{{ printData.compName }}</td>

+ 5 - 4
src/views/houseSelfCollect/customerManagement.vue

@@ -35,15 +35,16 @@
           <span v-else>{{ scope.$index + 1 }}</span>
         </template>
       </el-table-column>
-      <el-table-column prop="customerName" label="客户"></el-table-column>
+      <el-table-column prop="customerName" label="供应商"></el-table-column>
       <el-table-column prop="customerPhone" label="手机号"></el-table-column>
+      <el-table-column prop="payeeName" label="收款人"></el-table-column>
+      <el-table-column prop="completedQuantity" label="已完成量(吨)"></el-table-column>
       <el-table-column prop="bankCard" label="银行卡号"></el-table-column>
       <el-table-column prop="bankDeposit" label="开户行">
         <template slot-scope="scope">
-          <div>{{scope.row.bankDeposit}}-{{scope.row.bankDepositBranch}}</div> 
+          <div>{{scope.row.bankDeposit}}-{{scope.row.bankDepositBranch}}</div>
         </template>
       </el-table-column>
-      <el-table-column prop="payeeName" label="收款人"></el-table-column>
       <el-table-column prop="authenticationStatus" label="状态"></el-table-column>
       <el-table-column prop="address" label="操作" width="300">
         <template slot-scope="scope">
@@ -106,7 +107,7 @@
            this.qrcode = response
           })
         }
-        
+
       },
       //创建客户
       createCustomer(row, num) {

+ 44 - 0
src/views/houseSelfCollect/inspectInfo.vue

@@ -41,6 +41,22 @@
               <ws-input v-model="inspect.carNumber" placeholder="请输入车牌号" maxlength="10" size="small"
                 :disabled="disabled" />
             </ws-form-item>
+            <ws-form-item label="箱号-1" span="1" prop="boxNo">
+            <ws-input :disabled="disabled" v-model="inspect.boxNo" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
+            <ws-input :disabled="disabled" v-model="inspect.boxNoOther" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-1" span="1" prop="titleNo">
+            <ws-input :disabled="disabled" v-model="inspect.titleNo" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-2" span="1" prop="titleNoOther">
+            <ws-input :disabled="disabled" v-model="inspect.titleNoOther" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
             <ws-form-item label="货名" span="1" prop="goodsName">
               <ws-select v-model="inspect.goodsName" placeholder="" class="typeselect" :disabled="disabled1"
                 @change="waterContentChange">
@@ -376,6 +392,34 @@
           })
           return
         }
+        if (this.inspect.boxNo&&this.inspect.boxNo.length > 20) {
+          this.$message({
+            message: '箱号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.inspect.boxNoOther&&this.inspect.boxNoOther.length > 20) {
+          this.$message({
+            message: '箱号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.inspect.titleNo&&this.inspect.titleNo.length > 20) {
+          this.$message({
+            message: '封号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.inspect.titleNoOther&&this.inspect.titleNoOther.length > 20) {
+          this.$message({
+            message: '封号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
         if (!this.inspect.goodsName) {
           this.$message({
             message: '货名不能为空',

+ 8 - 0
src/views/houseSelfCollect/inspectionManagement.vue

@@ -34,6 +34,14 @@
 			<el-table-column prop="qualityNo" width="100" label="编号"></el-table-column>
 			<el-table-column prop="customerName" label="客户"></el-table-column>
 			<el-table-column prop="carNumber" label="车牌号"></el-table-column>
+			<el-table-column prop="boxNo" label="箱号-1">
+			</el-table-column>
+			<el-table-column prop="boxNoOther" label="箱号-2">
+			</el-table-column>
+			<el-table-column prop="titleNo" label="封号-1">
+			</el-table-column>
+			<el-table-column prop="titleNoOther" label="封号-2">
+			</el-table-column>
 			<el-table-column prop="goodsName" label="货名"></el-table-column>
 			<el-table-column prop="waterContent" label="水分(%)" width="120">
 				<template scope="scope">

+ 10 - 2
src/views/houseSelfCollect/paymentManagement.vue

@@ -73,7 +73,7 @@
       <template slot="right">
       </template>
     </BaseHeaderLayout>
-    <el-table :data="paymentList" style="width: 100%; margin-top: 20px" ref="paymentList" border height="600"
+    <el-table :data="paymentList" ref='table' style="width: 100%; margin-top: 20px" border height="600"
       @row-click="handleRowClick" @selection-change="handleSelectionChange" :summary-method="getSummaries" show-summary>
       <el-table-column :selectable="selectInit" type="selection" width="55"></el-table-column>
       <el-table-column type="index" label="序号" width="50">
@@ -373,6 +373,12 @@ import download from '../../components/WsDownload/download'
 
       // this.getList()
     },
+    updated(){
+      
+this.$nextTick(() => {
+   this.$refs['table'].doLayout();
+}) 
+    },
     methods: {
       datechange(){
         this.getList()
@@ -730,7 +736,7 @@ import download from '../../components/WsDownload/download'
                this.warehouseNameKey = this.$route.query.warehouseName
             }else{
                if (_wareHouse) {
-              this.warehouseNameKey = _wareHouse.id
+              this.warehouseNameKey = _wareHouse.value
               this.warehouseName = _wareHouse.value
             } else {
               this.warehouseNameKey = this.warehouseList[0].id
@@ -844,8 +850,10 @@ import download from '../../components/WsDownload/download'
       },
       screen(num) {
         if(num==0){
+          this.searchType = -1
           this.invoicing=num
         }else{
+          this.invoicing=''
           this.searchType = num
         }
         this.getList()

+ 24 - 0
src/views/houseSelfCollect/weighingManagement.vue

@@ -35,6 +35,26 @@
       <el-table-column prop="number" width="150" label="编号"></el-table-column>
       <el-table-column prop="customer" label="客户"></el-table-column>
       <el-table-column prop="carNumber" label="车牌号"></el-table-column>
+      <el-table-column prop="boxNo" label="箱号-1">
+        <template slot-scope="scope">
+          <div v-if='scope.row.qualityInspectionManagement.boxNo'>{{scope.row.qualityInspectionManagement.boxNo}}</div>
+        </template>
+			</el-table-column>
+			<el-table-column prop="boxNoOther" label="箱号-2">
+        <template slot-scope="scope">
+          <div v-if='scope.row.qualityInspectionManagement.boxNoOther'>{{scope.row.qualityInspectionManagement.boxNoOther}}</div>
+        </template>
+			</el-table-column>
+			<el-table-column prop="titleNo" label="封号-1">
+        <template slot-scope="scope">
+          <div v-if='scope.row.qualityInspectionManagement.titleNo'>{{scope.row.qualityInspectionManagement.titleNo}}</div>
+        </template>
+			</el-table-column>
+			<el-table-column prop="titleNoOther" label="封号-2">
+        <template slot-scope="scope">
+          <div v-if='scope.row.qualityInspectionManagement.titleNoOther'>{{scope.row.qualityInspectionManagement.titleNoOther}}</div>
+        </template>
+			</el-table-column>
       <el-table-column prop="goodsName" label="货名"></el-table-column>
       <el-table-column prop="type" label="类型"></el-table-column>
       <el-table-column prop="grossWeight" label="毛重(公斤)" width="120"></el-table-column>
@@ -259,6 +279,10 @@
             customer: row.customer,
             storageNumber: row.storageNumber,
             carNumber: row.carNumber,
+            boxNo: row.qualityInspectionManagement.boxNo,
+            boxNoOther: row.qualityInspectionManagement.boxNoOther,
+            titleNo: row.qualityInspectionManagement.titleNo,
+            titleNoOther: row.qualityInspectionManagement.titleNoOther,
             goodsName: row.goodsName,
             grossWeight: row.grossWeight,
             tare: row.tare,

+ 16 - 0
src/views/houseSelfCollect/weightCheck.vue

@@ -66,6 +66,22 @@
               <ws-form-item label="车牌号" span="1" prop="carNumber">
                 <ws-input v-model="weighingList.carNumber" placeholder="请输入车牌号" maxlength="100" size="small" disabled />
               </ws-form-item>
+              <ws-form-item label="箱号-1" span="1" prop="boxNo">
+            <ws-input disabled v-model="inspect.boxNo" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
+            <ws-input disabled v-model="inspect.boxNoOther" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-1" span="1" prop="titleNo">
+            <ws-input disabled v-model="inspect.titleNo" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-2" span="1" prop="titleNoOther">
+            <ws-input disabled v-model="inspect.titleNoOther" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
               <ws-form-item label="货名" span="1" prop="goodsName">
                 <ws-input v-model="weighingList.goodsName" placeholder="请输入货名" maxlength="100" size="small" disabled />
               </ws-form-item>

+ 44 - 0
src/views/warehouse/warehouseManagementDelivery.vue

@@ -236,6 +236,22 @@
               />
             </el-select>
           </ws-form-item>
+          <ws-form-item label="箱号-1" span="1" prop="boxNo">
+            <ws-input v-model="deptBudgetList.boxNo" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
+            <ws-input v-model="deptBudgetList.boxNoOther" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-1" span="1" prop="titleNo">
+            <ws-input v-model="deptBudgetList.titleNo" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-2" span="1" prop="titleNoOther">
+            <ws-input v-model="deptBudgetList.titleNoOther" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
         </ws-info-table>
       </div>
       <div class="small-title">上传磅单照片</div>
@@ -1073,6 +1089,34 @@ export default {
         })
         return
       }
+      if (this.deptBudgetList.boxNo&&this.deptBudgetList.boxNo.length > 20) {
+          this.$message({
+            message: '箱号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.boxNoOther&&this.deptBudgetList.boxNoOther.length > 20) {
+          this.$message({
+            message: '箱号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.titleNo&&this.deptBudgetList.titleNo.length > 20) {
+          this.$message({
+            message: '封号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.titleNoOther&&this.deptBudgetList.titleNoOther.length > 20) {
+          this.$message({
+            message: '封号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
       if (!this.deptBudgetList.contractNo) {
         this.$message({
           message: '合同编号不能为空!',

+ 44 - 2
src/views/warehouse/warehouseManagementGross.vue

@@ -140,6 +140,22 @@
                 :value="item.carNo" />
             </el-select>
           </ws-form-item>
+          <ws-form-item label="箱号-1" span="1" prop="boxNo">
+            <ws-input v-model="deptBudgetList.boxNo" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
+            <ws-input v-model="deptBudgetList.boxNoOther" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-1" span="1" prop="titleNo">
+            <ws-input v-model="deptBudgetList.titleNo" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-2" span="1" prop="titleNoOther">
+            <ws-input v-model="deptBudgetList.titleNoOther" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
           <ws-form-item label="成本" span="1" prop="cost">
             <ws-input :disabled="disabled1" v-model="deptBudgetList.cost" placeholder="请输入成本" size="small" type="number"
               @mousewheel.native.prevent />
@@ -914,6 +930,34 @@
           })
           return
         }
+        if (this.deptBudgetList.boxNo&&this.deptBudgetList.boxNo.length > 20) {
+          this.$message({
+            message: '箱号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.boxNoOther&&this.deptBudgetList.boxNoOther.length > 20) {
+          this.$message({
+            message: '箱号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.titleNo&&this.deptBudgetList.titleNo.length > 20) {
+          this.$message({
+            message: '封号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.titleNoOther&&this.deptBudgetList.titleNoOther.length > 20) {
+          this.$message({
+            message: '封号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
         if (!this.deptBudgetList.contractNo) {
           this.$message({
             message: '合同编号不能为空',
@@ -1745,9 +1789,7 @@
           }
         }
         for (var i = 0; i < this.outContractNo.length; i++) {
-          console.log(this.outContractNo[i].contractNo,this.deptBudgetList.contractNo)
           if (this.outContractNo[i].contractNo == this.deptBudgetList.contractNo) {
-            
             if (this.outContractNo[i].inOutType == '采购入库') {
               this.deptBudgetList.tips='卖方'+this.outContractNo[i].seller
               this.deptBudgetList.inOutTypeKey = 1

+ 8 - 0
src/views/warehouse/warehouseManagementNoComplete.vue

@@ -75,6 +75,14 @@
           <el-table-column prop="contractNo" label="合同编号">
           </el-table-column>
           <el-table-column prop="carNo" label="车牌号"> </el-table-column>
+          <el-table-column prop="boxNo" label="箱号-1">
+					</el-table-column>
+					<el-table-column prop="boxNoOther" label="箱号-2">
+					</el-table-column>
+					<el-table-column prop="titleNo" label="封号-1">
+					</el-table-column>
+					<el-table-column prop="titleNoOther" label="封号-2">
+					</el-table-column>
           <el-table-column prop="agent" label="经办人"> </el-table-column>
           <el-table-column prop="backOffice" label="内勤"> </el-table-column>
           <el-table-column prop="updateDate" label="保存时间">

+ 8 - 0
src/views/warehouse/warehouseManagementNoWeight.vue

@@ -77,6 +77,14 @@
           <el-table-column prop="contractNo" label="合同编号">
           </el-table-column>
           <el-table-column prop="carNo" label="车牌号"> </el-table-column>
+          <el-table-column prop="boxNo" label="箱号-1">
+					</el-table-column>
+					<el-table-column prop="boxNoOther" label="箱号-2">
+					</el-table-column>
+					<el-table-column prop="titleNo" label="封号-1">
+					</el-table-column>
+					<el-table-column prop="titleNoOther" label="封号-2">
+					</el-table-column>
           <el-table-column prop="agent" label="经办人"> </el-table-column>
           <el-table-column prop="backOffice" label="内勤"> </el-table-column>
           <el-table-column prop="updateDate" label="保存时间">

+ 44 - 0
src/views/warehouse/warehouseManagementNoWeightIn.vue

@@ -127,6 +127,22 @@
                 :value="item.carNo" />
             </el-select>
           </ws-form-item>
+          <ws-form-item label="箱号-1" span="1" prop="boxNo">
+            <ws-input v-model="dataList.boxNo" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
+            <ws-input v-model="dataList.boxNoOther" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-1" span="1" prop="titleNo">
+            <ws-input v-model="dataList.titleNo" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-2" span="1" prop="titleNoOther">
+            <ws-input v-model="dataList.titleNoOther" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
           <ws-form-item label="成本" span="1" prop="cost">
             <ws-input :disabled='disabled1' v-model="dataList.cost" placeholder="请输入成本" size="small" />
             <img width="17" height="18" style="vertical-align: text-top; position: relative; top: -1px"
@@ -971,6 +987,34 @@
           })
           return
         }
+        if (this.dataList.boxNo&&this.dataList.boxNo.length > 20) {
+          this.$message({
+            message: '箱号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.dataList.boxNoOther&&this.dataList.boxNoOther.length > 20) {
+          this.$message({
+            message: '箱号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.dataList.titleNo&&this.dataList.titleNo.length > 20) {
+          this.$message({
+            message: '封号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.dataList.titleNoOther&&this.dataList.titleNoOther.length > 20) {
+          this.$message({
+            message: '封号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
         if (!this.dataList.contractNo) {
           this.$message({
             message: '合同编号不能为空',

+ 44 - 0
src/views/warehouse/warehouseManagementNoWeightOut.vue

@@ -116,6 +116,22 @@
                 :value="item.carNo" />
             </el-select>
           </ws-form-item>
+          <ws-form-item label="箱号-1" span="1" prop="boxNo">
+            <ws-input v-model="dataList.boxNo" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
+            <ws-input v-model="dataList.boxNoOther" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-1" span="1" prop="titleNo">
+            <ws-input v-model="dataList.titleNo" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-2" span="1" prop="titleNoOther">
+            <ws-input v-model="dataList.titleNoOther" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
         </ws-info-table>
       </div>
       <!-- <div class="small-title">上传磅单照片</div>
@@ -793,6 +809,34 @@
           })
           return
         }
+        if (this.dataList.boxNo&&this.dataList.boxNo.length > 20) {
+          this.$message({
+            message: '箱号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.dataList.boxNoOther&&this.dataList.boxNoOther.length > 20) {
+          this.$message({
+            message: '箱号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.dataList.titleNo&&this.dataList.titleNo.length > 20) {
+          this.$message({
+            message: '封号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.dataList.titleNoOther&&this.dataList.titleNoOther.length > 20) {
+          this.$message({
+            message: '封号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
         if (!this.dataList.contractNo) {
           this.$message({
             message: '合同编号不能为空',

+ 44 - 0
src/views/warehouse/warehouseManagementPerfectDelivery.vue

@@ -229,6 +229,22 @@
               />
             </el-select>
           </ws-form-item>
+          <ws-form-item label="箱号-1" span="1" prop="boxNo">
+            <ws-input v-model="deptBudgetList.boxNo" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
+            <ws-input v-model="deptBudgetList.boxNoOther" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-1" span="1" prop="titleNo">
+            <ws-input v-model="deptBudgetList.titleNo" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-2" span="1" prop="titleNoOther">
+            <ws-input v-model="deptBudgetList.titleNoOther" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
         </ws-info-table>
       </div>
       <div class="small-title">上传磅单照片</div>
@@ -748,6 +764,34 @@ export default {
         })
         return
       }
+      if (this.deptBudgetList.boxNo&&this.deptBudgetList.boxNo.length > 20) {
+          this.$message({
+            message: '箱号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.boxNoOther&&this.deptBudgetList.boxNoOther.length > 20) {
+          this.$message({
+            message: '箱号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.titleNo&&this.deptBudgetList.titleNo.length > 20) {
+          this.$message({
+            message: '封号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.titleNoOther&&this.deptBudgetList.titleNoOther.length > 20) {
+          this.$message({
+            message: '封号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
       if (!this.dataList.contractNo) {
         this.$message({
           message: '合同编号不能为空',

+ 44 - 0
src/views/warehouse/warehouseManagementPerfectput.vue

@@ -245,6 +245,22 @@
               />
             </el-select>
           </ws-form-item>
+          <ws-form-item label="箱号-1" span="1" prop="boxNo">
+            <ws-input v-model="dataList.boxNo" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
+            <ws-input v-model="dataList.boxNoOther" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-1" span="1" prop="titleNo">
+            <ws-input v-model="dataList.titleNo" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-2" span="1" prop="titleNoOther">
+            <ws-input v-model="dataList.titleNoOther" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
           <ws-form-item label="成本" span="1" prop="cost">
             <ws-input
             :disabled='disabled1'
@@ -1024,6 +1040,34 @@ export default {
         })
         return
       }
+      if (this.dataList.boxNo&&this.dataList.boxNo.length > 20) {
+          this.$message({
+            message: '箱号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.dataList.boxNoOther&&this.dataList.boxNoOther.length > 20) {
+          this.$message({
+            message: '箱号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.dataList.titleNo&&this.dataList.titleNo.length > 20) {
+          this.$message({
+            message: '封号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.dataList.titleNoOther&&this.dataList.titleNoOther.length > 20) {
+          this.$message({
+            message: '封号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
       if (!this.dataList.contractNo) {
         this.$message({
           message: '合同编号不能为空',

+ 44 - 0
src/views/warehouse/warehouseManagementPut.vue

@@ -310,6 +310,22 @@
               />
             </el-select>
           </ws-form-item>
+          <ws-form-item label="箱号-1" span="1" prop="boxNo">
+            <ws-input v-model="deptBudgetList.boxNo" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
+            <ws-input v-model="deptBudgetList.boxNoOther" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-1" span="1" prop="titleNo">
+            <ws-input v-model="deptBudgetList.titleNo" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-2" span="1" prop="titleNoOther">
+            <ws-input v-model="deptBudgetList.titleNoOther" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
           <ws-form-item label="成本" span="1" prop="cost">
             <ws-input
               :disabled="disabled1"
@@ -1043,6 +1059,34 @@ export default {
         })
         return
       }
+      if (this.deptBudgetList.boxNo&&this.deptBudgetList.boxNo.length > 20) {
+          this.$message({
+            message: '箱号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.boxNoOther&&this.deptBudgetList.boxNoOther.length > 20) {
+          this.$message({
+            message: '箱号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.titleNo&&this.deptBudgetList.titleNo.length > 20) {
+          this.$message({
+            message: '封号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.titleNoOther&&this.deptBudgetList.titleNoOther.length > 20) {
+          this.$message({
+            message: '封号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
       if (!this.deptBudgetList.contractNo) {
         this.$message({
           message: '合同编号不能为空',

+ 9 - 1
src/views/warehouse/warehouseManagementRecord.vue

@@ -127,6 +127,14 @@
 							<span style="color: #8890b1">{{ scope.row.carNo }}</span>
 						</template>
 					</el-table-column>
+					<el-table-column prop="boxNo" label="箱号-1">
+					</el-table-column>
+					<el-table-column prop="boxNoOther" label="箱号-2">
+					</el-table-column>
+					<el-table-column prop="titleNo" label="封号-1">
+					</el-table-column>
+					<el-table-column prop="titleNoOther" label="封号-2">
+					</el-table-column>
 					<el-table-column prop="agent" label="经办人">
 					</el-table-column>
 					<el-table-column prop="backOffice" label="操作人" width="120px">
@@ -135,7 +143,7 @@
 						<template slot-scope="scope">
 							<!-- <img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
 								src="../../../public/img/fujian.png" @click="fujian(scope.row)" alt="" /> -->
-          					<el-button @click="print(scope.row)" v-if="scope.row.inOutType != '收购入库'"  v-hasPermission="`acquisitionManagement.acquisitionWeight.print`">打印</el-button >
+          					<el-button @click="print(scope.row)" v-if="scope.row.inOutType != '收购入库'&&scope.row.inOutType != '期初'"  v-hasPermission="`acquisitionManagement.acquisitionWeight.print`">打印</el-button >
 
 						</template>
 					</el-table-column>

+ 44 - 0
src/views/warehouse/warehouseManagementTare.vue

@@ -136,6 +136,22 @@
                 :value="item.carNo" />
             </el-select>
           </ws-form-item>
+          <ws-form-item label="箱号-1" span="1" prop="boxNo">
+            <ws-input v-model="deptBudgetList.boxNo" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
+            <ws-input v-model="deptBudgetList.boxNoOther" placeholder="请输入箱号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-1" span="1" prop="titleNo">
+            <ws-input v-model="deptBudgetList.titleNo" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
+          <ws-form-item label="封号-2" span="1" prop="titleNoOther">
+            <ws-input v-model="deptBudgetList.titleNoOther" placeholder="请输入封号" maxlength="20"
+              size="small" />
+          </ws-form-item>
         </ws-info-table>
       </div>
       <!-- <div class="small-title">上传磅单照片</div>
@@ -1112,6 +1128,34 @@
           })
           return
         }
+        if (this.deptBudgetList.boxNo&&this.deptBudgetList.boxNo.length > 20) {
+          this.$message({
+            message: '箱号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.boxNoOther&&this.deptBudgetList.boxNoOther.length > 20) {
+          this.$message({
+            message: '箱号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.titleNo&&this.deptBudgetList.titleNo.length > 20) {
+          this.$message({
+            message: '封号-1输入错误',
+            type: 'warning',
+          })
+          return
+        }
+        if (this.deptBudgetList.titleNoOther&&this.deptBudgetList.titleNoOther.length > 20) {
+          this.$message({
+            message: '封号-2输入错误',
+            type: 'warning',
+          })
+          return
+        }
         if (!this.deptBudgetList.contractNo) {
           this.$message({
             message: '合同编号不能为空!',