Przeglądaj źródła

盘点页面修改

haozi 5 lat temu
rodzic
commit
032eddd666

+ 6 - 5
resources/views/inventory/stockInventory/inventoryMission.blade.php

@@ -227,7 +227,7 @@
 
             <div class="row d-none d-xl-block">
                 <div class="col-12 col-md-12 col-sm-12 showBlueTable d-none">
-                    <table class="table table-sm table-bordered table-info mt-2" v-if="!listMode" id="blueTablePc">
+                    <table class="table table-sm table-bordered table-info mt-2" {{--v-if="!listMode"--}} :class="!listMode?'':'d-none'" id="blueTablePc">
                         <tr>
                             <td class="font-weight-bold">输入盘点数</td>
                             <td>操作</td>
@@ -269,7 +269,7 @@
             </div>
             <!--相同库位和条码 移动端-->
             <div class="showBlueTable d-none">
-                <table class="table table-striped table-sm table-bordered table-hover p-0 d-table  d-xl-none mt-2" style="background: rgb(179, 214, 245);" v-if="!listMode"  id="blueTable">
+                <table class="table table-striped table-sm table-bordered table-hover p-0 d-xl-none mt-2" style="background: rgb(179, 214, 245);" {{--v-if="!listMode"--}} :class="!listMode?'':'d-none'" id="blueTable">
                     <tr class="selectingRow移动端" id="blueTr">
                         <td style="filter:grayscale(30%); ">
                             <div class="mt-3">
@@ -408,7 +408,8 @@
                             v-if="inventoryMission.checked==='是'||inventoryMission.checked==='确认差异'||inventoryMission.checked==='跳过'||inventory.status==='复盘中'||listMode">@{{ inventoryMission.valid_amount }}</span>
                     </td>
                     <td><span
-                            v-if="inventoryMission.checked==='是'||inventoryMission.checked==='确认差异'||inventoryMission.checked==='跳过'||inventory.status==='复盘中'||listMode">@{{ inventoryMission.verified_amount }}</span>
+                            v-if="inventoryMission.checked==='是'||inventoryMission.checked==='确认差异'||inventoryMission.checked==='跳过'||inventory.status==='复盘中'||listMode">@{{ inventoryMission.verified_amount }}
+                            <span v-if="inventoryMission.checked==='跳过'" class="badge badge-pill badge-secondary">跳过</span></span>
                     </td>
                     <td><span
                             v-if="inventoryMission.checked==='是'||inventoryMission.checked==='确认差异'||inventoryMission.checked==='跳过'||inventory.status==='复盘中'||listMode">@{{ inventoryMission.re_checked_amount }}</span>
@@ -843,7 +844,7 @@
                 加载下方数据并置空上方数据(){
                     let _this=this;
                     const count = _this.显示记录列.length;
-                    if (count > 20) {
+                    if (count > 30) {
                         _this.inventoryMissions.map((inventoryMission, index) => {
                             if (_this.显示记录列.length < 5 + count) {
                                 if (_this.显示记录列.length < _this.inventoryMissions.length) {
@@ -855,7 +856,7 @@
                         })
                     } else {
                         _this.inventoryMissions.map((inventoryMission, index) => {
-                            if (_this.显示记录列.length < 15 + count) {
+                            if (_this.显示记录列.length < 25 + count) {
                                 if (_this.显示记录列.length < _this.inventoryMissions.length) {
                                     _this.显示记录列.push(_this.inventoryMissions[_this.显示记录列.length])
                                 }