修改全局样式,收货确认全选

This commit is contained in:
蔡玲
2024-12-03 13:37:21 +08:00
parent dcc56b0a74
commit fdb0ee0ed5
7 changed files with 15 additions and 22 deletions

View File

@@ -1,12 +1,10 @@
/** 平板尺寸960*600 **/
page {
background-color: #0a2b57 !important;
min-height: 100% !important;
height: 100% !important;
}
uni-page-body {
background-color: #0a2b57 !important;
min-height: 100% !important;
height: 100% !important;
}
uni-button:after {
@@ -29,8 +27,8 @@ uni-toast .uni-toast {
.content{
width: 100%;
min-height: 100%;
background: top center / 100% auto url(./static/images/page_bg.jpg) repeat-y;
height: 100%;
background: top center / 100% 100% url(./static/images/page_bg.jpg) repeat-y;
/* background-color: #040d1e; */
}
.footer{
@@ -39,7 +37,7 @@ uni-toast .uni-toast {
}
.search-confirm-wrap {
width: calc(100% - 20px);
margin: 10px auto 0 auto;
margin: 10px auto;
border-radius: 6px;
padding: 10px;
background-color: rgba(1, 114, 195, 40%);
@@ -126,9 +124,9 @@ uni-toast .uni-toast {
}
.grid-wrap{
width: calc(100% - 20px);
min-height: calc(100vh - 145px);
height: calc(100% - 112px);
margin: 0 auto;
padding: 10px 0;
padding: 4px 0;
border: 1px solid #01c2f3;
border-radius: 4px;
background-color: rgba(1, 114, 195, 40%);
@@ -137,9 +135,8 @@ uni-toast .uni-toast {
.zdrow-wrap {
width: 100%;
padding: 0 10px;
/* height: calc(100% - 53px); */
/* overflow-y: scroll; */
/* margin-bottom: 9px; */
height: calc(100% - 40px);
overflow-y: auto;
}
.table-wrap {
width: 100%;

View File

@@ -172,7 +172,7 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re
padding: 0 !important;
}
.pd20 {
padding: 20px !important;
padding: 10px 0 0 0 !important;
}
.popshow {
transform: translateY(-50%);

View File

@@ -18,7 +18,6 @@
</view>
</view>
</view>
<view class="zd-row jcflexstart table-title_wraper">调拨单</view>
<view class="grid-wrap">
<view class="zdrow-wrap">
<view class="zd-row sticky zd-th-wraper">
@@ -273,7 +272,7 @@
let res = await allocationBillDetail(e.djid)
if (res.code === 1) {
res.result.map(el => {
this.$set(el, 'subChecked', false)
this.$set(el, 'checked', false)
})
this.dataList.map(el => {
if (el.djid === e.djid) {

View File

@@ -12,7 +12,6 @@
<button class="confirm-button" @tap="toSearch">查询</button>
</view>
</view>
<view class="zd-row jcflexstart table-title_wraper">盘点</view>
<view class="grid-wrap">
<view class="zdrow-wrap">
<view class="zd-row sticky zd-th-wraper">
@@ -214,7 +213,7 @@
async _checkDtlByCheckCode (e) {
let res = await checkDtlByCheckCode(e.id)
res.map(el => {
this.$set(el, 'subChecked', false)
this.$set(el, 'checked', false)
})
this.dataList.map(el => {
if (el.djid === e.djid) {

View File

@@ -1,6 +1,6 @@
<template>
<view class="content">
<nav-bar :title="crType === 'IN' ? '入库' : '出库'"></nav-bar>
<nav-bar :title="title"></nav-bar>
<view class="search-confirm-wrap">
<view class="zd-row">
<view class="zd-col-13 zd-row jcflexstart">
@@ -21,7 +21,6 @@
</view>
</view>
</view>
<view class="zd-row jcflexstart table-title_wraper">{{title}}</view>
<view class="grid-wrap">
<view class="zdrow-wrap">
<view class="zd-row sticky zd-th-wraper">
@@ -339,7 +338,7 @@
let res = await easOutInBillDetailPage(e.djid, '1', '500')
if (res.code === 1) {
res.result.map(el => {
this.$set(el, 'subChecked', false)
this.$set(el, 'checked', false)
})
this.dataList.map(el => {
if (el.djid === e.djid) {

View File

@@ -12,7 +12,6 @@
<button class="confirm-button" @tap="toSearch">查询</button>
</view>
</view>
<view class="zd-row jcflexstart table-title_wraper">移库</view>
<view class="grid-wrap">
<view class="zdrow-wrap">
<view class="zd-row sticky zd-th-wraper">
@@ -207,7 +206,7 @@
async _moveDtlByMoveId (e) {
let res = await moveDtlByMoveId(e.id)
res.map(el => {
this.$set(el, 'subChecked', false)
this.$set(el, 'checked', false)
})
this.dataList.map(el => {
if (el.djid === e.djid) {

View File

@@ -15,7 +15,6 @@
</view>
</view>
</view>
<view class="zd-row jcflexstart table-title_wraper">收货确认</view>
<view class="grid-wrap">
<view class="zdrow-wrap">
<view class="zd-row sticky zd-th-wraper">
@@ -336,13 +335,14 @@
let res = await receiptBillDetailPage(this.val2, e.djid, '1', '200')
if (res.code === 1) {
res.result.map(el => {
this.$set(el, 'subChecked', false)
this.$set(el, 'checked', false)
})
this.dataList.map(el => {
if (el.djid === e.djid) {
el.subData = [...res.result]
}
})
this.toSubAllCheckbox(e)
} else {
uni.showToast({
title: res.desc,