This commit is contained in:
parent
4495f732c7
commit
d65845f462
|
|
@ -252,6 +252,7 @@
|
||||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
||||||
// max-width: 720rpx;
|
// max-width: 720rpx;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,7 @@
|
||||||
top:0;
|
top:0;
|
||||||
left: 10vw;
|
left: 10vw;
|
||||||
>view {
|
>view {
|
||||||
margin-top: 0.25vw;
|
margin-top: 0vw;
|
||||||
|
|
||||||
&:nth-child(3) {
|
&:nth-child(3) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -308,7 +308,7 @@
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1.6vw;
|
font-size: 1.6vw;
|
||||||
color: #222222;
|
color: #222222;
|
||||||
padding-top: 1.3vw;
|
padding-top: 1vw;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
@ -363,7 +363,7 @@
|
||||||
>image {
|
>image {
|
||||||
width: 8.5vw;
|
width: 8.5vw;
|
||||||
height: 7.5vw;
|
height: 7.5vw;
|
||||||
margin: 0.7vw auto 0.25vw;
|
margin: 0vw auto 0.25vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -384,7 +384,7 @@
|
||||||
height: 13vw;
|
height: 13vw;
|
||||||
margin-bottom: 0.9vw;
|
margin-bottom: 0.9vw;
|
||||||
.carditem{
|
.carditem{
|
||||||
width: 27.5vw;
|
width: 28.3vw;
|
||||||
height: 13vw;
|
height: 13vw;
|
||||||
background: rgba(245, 246, 248, 1);
|
background: rgba(245, 246, 248, 1);
|
||||||
border-radius: 1.1vw;
|
border-radius: 1.1vw;
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,7 @@
|
||||||
top:0;
|
top:0;
|
||||||
left: 10vw;
|
left: 10vw;
|
||||||
>view {
|
>view {
|
||||||
margin-top: 0.25vw;
|
margin-top: 0vw;
|
||||||
|
|
||||||
&:nth-child(3) {
|
&:nth-child(3) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -307,7 +307,7 @@
|
||||||
font-size: 1.6vw;
|
font-size: 1.6vw;
|
||||||
color: #222222;
|
color: #222222;
|
||||||
height: 3vw;
|
height: 3vw;
|
||||||
padding-top: 1.2vw;
|
padding-top: 1vw;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
@ -362,7 +362,7 @@
|
||||||
>image {
|
>image {
|
||||||
width: 8vw;
|
width: 8vw;
|
||||||
height: 7vw;
|
height: 7vw;
|
||||||
margin: 1vw auto 0.25vw;
|
margin: 0.3vw auto 0.25vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@
|
||||||
top:0;
|
top:0;
|
||||||
left: 10vw;
|
left: 10vw;
|
||||||
>view {
|
>view {
|
||||||
margin-top: 0.25vw;
|
margin-top: 0vw;
|
||||||
|
|
||||||
&:nth-child(3) {
|
&:nth-child(3) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -211,7 +211,7 @@
|
||||||
font-size: 1.6vw;
|
font-size: 1.6vw;
|
||||||
color: #222222;
|
color: #222222;
|
||||||
height: 3vw;
|
height: 3vw;
|
||||||
padding-top: 1.2vw;
|
padding-top: 1vw;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
@ -252,9 +252,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
>image {
|
>image {
|
||||||
width: 8.5vw;
|
width: 7vw;
|
||||||
height: 7.5vw;
|
height: 7vw;
|
||||||
margin: 0.7vw auto 0.25vw;
|
margin: 0.5vw auto 0.25vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -440,8 +440,15 @@
|
||||||
|
|
||||||
const badshow = ref(false)
|
const badshow = ref(false)
|
||||||
const zuofei = () => {
|
const zuofei = () => {
|
||||||
|
let data = {
|
||||||
|
qldNo: plsbuy.value[lefttarget.value].qldNo,
|
||||||
|
nuId: uni.getStorageSync('nuId'),
|
||||||
|
elderId: uni.getStorageSync('NUall').elderId,
|
||||||
|
nuName: uni.getStorageSync('nuName'),
|
||||||
|
elderName: uni.getStorageSync(`NUall`).elderInfo.name
|
||||||
|
|
||||||
cancellation({ qldNo: plsbuy.value[lefttarget.value].qldNo }).then((res : any) => {
|
}
|
||||||
|
cancellation(data).then((res : any) => {
|
||||||
console.log('作废', res)
|
console.log('作废', res)
|
||||||
badshow.value = false
|
badshow.value = false
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|
@ -933,8 +940,8 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.left-image {
|
.left-image {
|
||||||
width: 150rpx;
|
width: 140rpx;
|
||||||
height: 150rpx;
|
height: 140rpx;
|
||||||
// margin: 15rpx 0;
|
// margin: 15rpx 0;
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
margin-bottom: 15rpx;
|
margin-bottom: 15rpx;
|
||||||
|
|
|
||||||
|
|
@ -288,8 +288,8 @@
|
||||||
plsbuy.value = [];
|
plsbuy.value = [];
|
||||||
// console.log(res)
|
// console.log(res)
|
||||||
plsbuy.value.push(...res.result.records)
|
plsbuy.value.push(...res.result.records)
|
||||||
console.log("入参", plzinfo)
|
// console.log("入参", plzinfo)
|
||||||
console.log("查看数组", res.result.records)
|
// console.log("查看数组", res.result.records)
|
||||||
alltotal.value = res.result.total
|
alltotal.value = res.result.total
|
||||||
|
|
||||||
// console.log("请购单数据呢???", res)
|
// console.log("请购单数据呢???", res)
|
||||||
|
|
@ -313,7 +313,7 @@
|
||||||
if(res.success){
|
if(res.success){
|
||||||
rightinfolist();
|
rightinfolist();
|
||||||
}else{
|
}else{
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -377,7 +377,7 @@
|
||||||
if(res.success){
|
if(res.success){
|
||||||
rightinfolist();
|
rightinfolist();
|
||||||
}else{
|
}else{
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -385,8 +385,15 @@
|
||||||
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
||||||
const badshow = ref(false)
|
const badshow = ref(false)
|
||||||
const zuofei = () => {
|
const zuofei = () => {
|
||||||
|
let data = {
|
||||||
cancellation({ qldNo: plsbuy.value[lefttarget.value].qldNo }).then((res : any) => {
|
qldNo: plsbuy.value[lefttarget.value].qldNo,
|
||||||
|
nuId: uni.getStorageSync('nuId'),
|
||||||
|
elderId: uni.getStorageSync('NUall').elderId,
|
||||||
|
nuName: uni.getStorageSync('nuName'),
|
||||||
|
elderName: uni.getStorageSync(`NUall`).elderInfo.name
|
||||||
|
|
||||||
|
}
|
||||||
|
cancellation(data).then((res : any) => {
|
||||||
badshow.value = false
|
badshow.value = false
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
plsbuy.value[lefttarget.value] = res.result.result
|
plsbuy.value[lefttarget.value] = res.result.result
|
||||||
|
|
@ -413,6 +420,7 @@
|
||||||
}
|
}
|
||||||
const tijiaoshow = ref(false);
|
const tijiaoshow = ref(false);
|
||||||
const tijiao = ()=>{
|
const tijiao = ()=>{
|
||||||
|
|
||||||
let obj = {
|
let obj = {
|
||||||
nuId:plzinfo.nuId,
|
nuId:plzinfo.nuId,
|
||||||
elderId:plzinfo.elderId,
|
elderId:plzinfo.elderId,
|
||||||
|
|
@ -435,7 +443,7 @@
|
||||||
rightinfolist();
|
rightinfolist();
|
||||||
},800)
|
},800)
|
||||||
}else{
|
}else{
|
||||||
errmsg.value = res.result.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@
|
||||||
nuId: uni.getStorageSync('nuId')
|
nuId: uni.getStorageSync('nuId')
|
||||||
}
|
}
|
||||||
queryQld(plzinfo0).then((res : any) => {
|
queryQld(plzinfo0).then((res : any) => {
|
||||||
if ( res.result.records.length) {
|
if (res.result.records.length) {
|
||||||
isRead.value = true;
|
isRead.value = true;
|
||||||
} else {
|
} else {
|
||||||
isRead.value = false;
|
isRead.value = false;
|
||||||
|
|
@ -149,7 +149,7 @@
|
||||||
nuId: uni.getStorageSync('nuId')
|
nuId: uni.getStorageSync('nuId')
|
||||||
}
|
}
|
||||||
queryQld(plzinfo1).then((res : any) => {
|
queryQld(plzinfo1).then((res : any) => {
|
||||||
// console.log("22",res.result)
|
// console.log("22",res.result)
|
||||||
if (res.result.records.length) {
|
if (res.result.records.length) {
|
||||||
isQingling.value = true;
|
isQingling.value = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -181,7 +181,13 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const thclk = () => {
|
const thclk = () => {
|
||||||
requireTH({ nuId: form.nuId, elderId: form.elderId }).then(res => {
|
|
||||||
|
let data = {
|
||||||
|
nuId: uni.getStorageSync('nuId'),
|
||||||
|
elderId: uni.getStorageSync('NUall').elderId,
|
||||||
|
nuName: uni.getStorageSync('nuName'),
|
||||||
|
}
|
||||||
|
requireTH(data).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
thshow.value = false;
|
thshow.value = false;
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|
@ -190,7 +196,7 @@
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
thshow.value = false;
|
thshow.value = false;
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
console.log("?????")
|
console.log("?????")
|
||||||
}
|
}
|
||||||
|
|
@ -238,7 +244,7 @@
|
||||||
objtake.value.isAdd = null;
|
objtake.value.isAdd = null;
|
||||||
objtake.value.qlNum = null;
|
objtake.value.qlNum = null;
|
||||||
} else {
|
} else {
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -254,7 +260,7 @@
|
||||||
item.gwcId = null;
|
item.gwcId = null;
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -304,7 +310,7 @@
|
||||||
|
|
||||||
config()
|
config()
|
||||||
} else {
|
} else {
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -331,7 +337,7 @@
|
||||||
v.qlNum = e;
|
v.qlNum = e;
|
||||||
wuliao();
|
wuliao();
|
||||||
} else {
|
} else {
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -344,7 +350,7 @@
|
||||||
elderName: uni.getStorageSync(`NUall`).elderInfo.name
|
elderName: uni.getStorageSync(`NUall`).elderInfo.name
|
||||||
}
|
}
|
||||||
submitQld(obj).then(res => {
|
submitQld(obj).then(res => {
|
||||||
console.log("?????",obj,res)
|
console.log("?????111", obj, res)
|
||||||
if (res.success && res.result.status == 'success') {
|
if (res.success && res.result.status == 'success') {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'success',
|
icon: 'success',
|
||||||
|
|
@ -357,7 +363,7 @@
|
||||||
}, 800)
|
}, 800)
|
||||||
} else {
|
} else {
|
||||||
// console.log("!!!!!",res)
|
// console.log("!!!!!",res)
|
||||||
errmsg.value = res.result.message ? res.result.message : res.message
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -400,7 +400,7 @@
|
||||||
top:0;
|
top:0;
|
||||||
left: 10vw;
|
left: 10vw;
|
||||||
>view {
|
>view {
|
||||||
margin-top: 0.25vw;
|
margin-top: 0vw;
|
||||||
|
|
||||||
&:nth-child(3) {
|
&:nth-child(3) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -479,7 +479,7 @@
|
||||||
font-size: 1.6vw;
|
font-size: 1.6vw;
|
||||||
color: #222222;
|
color: #222222;
|
||||||
height: 3vw;
|
height: 3vw;
|
||||||
padding-top: 1.3vw;
|
padding-top: 1vw;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
@ -534,7 +534,7 @@
|
||||||
>image {
|
>image {
|
||||||
width: 7.5vw;
|
width: 7.5vw;
|
||||||
height: 7.5vw;
|
height: 7.5vw;
|
||||||
margin: 0.5vw auto 0.25vw;
|
margin: 0vw auto 0.25vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@
|
||||||
top: 8vw;
|
top: 8vw;
|
||||||
left: 20vw;
|
left: 20vw;
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
padding: 1vw 1.4vw;
|
padding: 1vw 2vw;
|
||||||
|
|
||||||
.wuliaolist {
|
.wuliaolist {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
||||||
|
|
@ -232,7 +232,7 @@
|
||||||
top:0;
|
top:0;
|
||||||
left: 10vw;
|
left: 10vw;
|
||||||
>view {
|
>view {
|
||||||
margin-top: 0.25vw;
|
margin-top: 0vw;
|
||||||
|
|
||||||
&:nth-child(3) {
|
&:nth-child(3) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -311,7 +311,7 @@
|
||||||
font-size: 1.6vw;
|
font-size: 1.6vw;
|
||||||
color: #222222;
|
color: #222222;
|
||||||
height: 3.1vw;
|
height: 3.1vw;
|
||||||
padding-top: 1.3vw;
|
padding-top: 1vw;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
@ -366,7 +366,7 @@
|
||||||
>image {
|
>image {
|
||||||
width: 7.5vw;
|
width: 7.5vw;
|
||||||
height: 7.5vw;
|
height: 7.5vw;
|
||||||
margin: 0.3vw auto 0.25vw;
|
margin: 0vw auto 0.25vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -400,7 +400,7 @@
|
||||||
title:res.message
|
title:res.message
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
adfangdou.value = true;
|
adfangdou.value = true;
|
||||||
}
|
}
|
||||||
|
|
@ -705,7 +705,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
letter-spacing: 3px;
|
letter-spacing: 3px;
|
||||||
font-size: 1.4vw;
|
font-size: 1.5vw;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -159,7 +159,7 @@
|
||||||
InvoicingList.value = [];
|
InvoicingList.value = [];
|
||||||
chongzhi()
|
chongzhi()
|
||||||
}else{
|
}else{
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
open.value = 0;
|
open.value = 0;
|
||||||
|
|
@ -187,7 +187,7 @@
|
||||||
classication.value.getTreelnum()
|
classication.value.getTreelnum()
|
||||||
},800)
|
},800)
|
||||||
}else{
|
}else{
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -235,7 +235,7 @@
|
||||||
title:res.message
|
title:res.message
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
adfangdou.value = true;
|
adfangdou.value = true;
|
||||||
|
|
@ -270,7 +270,7 @@
|
||||||
caigouflag.value = true;
|
caigouflag.value = true;
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
}else{
|
}else{
|
||||||
errmsg.value = res.message;
|
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,7 @@
|
||||||
批量选择
|
批量选择
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="right-button" @click="huituiclick()"
|
<view class="right-button" @click="huituiclick()" v-show="plsbuy[lefttarget]?.status==`1`">
|
||||||
v-show="plsbuy[lefttarget]?.status==`1`">
|
|
||||||
<image src="/static/index/warehouse/procurement/picking/huitui.png" />
|
<image src="/static/index/warehouse/procurement/picking/huitui.png" />
|
||||||
<view>
|
<view>
|
||||||
回退
|
回退
|
||||||
|
|
@ -379,7 +378,7 @@
|
||||||
rightarray.value.push(...element.result)
|
rightarray.value.push(...element.result)
|
||||||
rightdonghua.value = true;
|
rightdonghua.value = true;
|
||||||
})
|
})
|
||||||
}else{
|
} else {
|
||||||
rightarray.value = []
|
rightarray.value = []
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -473,9 +472,15 @@
|
||||||
})
|
})
|
||||||
const badshow = ref(false)
|
const badshow = ref(false)
|
||||||
const huitui = () => {
|
const huitui = () => {
|
||||||
|
console.log("????",uni.getStorageSync(`NUall`))
|
||||||
|
let data = {
|
||||||
|
qldNo: plsbuy.value[lefttarget.value].qldNo,
|
||||||
|
nuId: uni.getStorageSync('nuId'),
|
||||||
|
nuName: uni.getStorageSync('nuName'),
|
||||||
|
|
||||||
orderReturn({ qldNo: plsbuy.value[lefttarget.value].qldNo }).then((res : any) => {
|
}
|
||||||
// console.log('回退', res)
|
orderReturn(data).then((res : any) => {
|
||||||
|
console.log('回退', res)
|
||||||
badshow.value = false
|
badshow.value = false
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
plsbuy.value[lefttarget.value] = res.result.result
|
plsbuy.value[lefttarget.value] = res.result.result
|
||||||
|
|
@ -548,7 +553,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const huituiclick = () => {
|
const huituiclick = () => {
|
||||||
if(manyselect.value){
|
if (manyselect.value) {
|
||||||
console.log("55555")
|
console.log("55555")
|
||||||
selectarray.value = [];
|
selectarray.value = [];
|
||||||
manyselect.value = false
|
manyselect.value = false
|
||||||
|
|
@ -556,8 +561,8 @@
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
leftscrolltop.value = 0
|
leftscrolltop.value = 0
|
||||||
}, 50)
|
}, 50)
|
||||||
}else{
|
} else {
|
||||||
|
|
||||||
badshow.value = true
|
badshow.value = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -576,7 +581,15 @@
|
||||||
qinglingshow.value = true
|
qinglingshow.value = true
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
outbound({ qldNo: manyselect.value ? selectarray.value.join(',') : plsbuy.value[lefttarget.value].qldNo }).then((res : any) => {
|
let data = {
|
||||||
|
qldNo: manyselect.value ? selectarray.value.join(',') : plsbuy.value[lefttarget.value].qldNo,
|
||||||
|
nuId: uni.getStorageSync('nuId'),
|
||||||
|
// elderId: uni.getStorageSync('NUall').elderId,
|
||||||
|
nuName: uni.getStorageSync('nuName'),
|
||||||
|
// elderName: uni.getStorageSync(`NUall`).elderInfo.name
|
||||||
|
|
||||||
|
}
|
||||||
|
outbound(data).then((res : any) => {
|
||||||
selectarray.value = [];
|
selectarray.value = [];
|
||||||
manyselect.value = false
|
manyselect.value = false
|
||||||
chukushow.value = false
|
chukushow.value = false
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,38 @@
|
||||||
<view>
|
<view>
|
||||||
<view class="serchs">
|
<view class="serchs">
|
||||||
<view class="leftbtn">
|
<view class="leftbtn">
|
||||||
<view class="ipt">
|
<view class="ipt" @click="opendata=true">
|
||||||
<input type="text" placeholder="退货单号/退货人/退货日期" v-model="form.searchContent" @confirm="search()" />
|
<view class="more-time-select">
|
||||||
<image src="/static/index/procurement/x.png" mode="aspectFill" v-if="form.searchContent"
|
<view class="more-gray" v-show="!form.fqStartTime">
|
||||||
@click="search(0)"></image>
|
开始日期
|
||||||
|
</view>
|
||||||
|
<view class="more-black" v-show="form.fqStartTime">
|
||||||
|
{{ form.showstart }}
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view style="font-size: 32rpx;">
|
||||||
|
至
|
||||||
|
</view>
|
||||||
|
<view class="more-gray" v-show="!form.fqEndTime">
|
||||||
|
结束日期
|
||||||
|
</view>
|
||||||
|
<view class="more-black" v-show="form.fqEndTime">
|
||||||
|
{{ form.showend }}
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view @click="search" class="scr">
|
<view @click="opendata=true" class="scr">
|
||||||
<image src="/static/index/procurement/sh.png" mode="aspectFill" class="sh"></image>
|
<image src="/static/index/procurement/sh.png" mode="aspectFill" class="sh"></image>
|
||||||
检索
|
检索
|
||||||
</view>
|
</view>
|
||||||
|
<view class="scr" @click="chongzhi">
|
||||||
|
<image src="/static/index/requestform/chongzhi.png" mode="aspectFill"></image>
|
||||||
|
<view>
|
||||||
|
重置
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="rightbtn">
|
<view class="rightbtn">
|
||||||
<view class="back" @click="uni.navigateBack()">
|
<view class="back" @click="uni.navigateBack()">
|
||||||
|
|
@ -96,6 +118,13 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<!-- 日期 -->
|
||||||
|
<view class="calendar-father" v-show="opendata" v-if="xiaohui">
|
||||||
|
<calendar @datachange="dateget" />
|
||||||
|
</view>
|
||||||
|
<view v-show="opendata" class="mengban" :style="opendata ?{background:`transparent`}:{}"
|
||||||
|
@click="opendata=false;">
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -103,15 +132,23 @@
|
||||||
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent } from 'vue';
|
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent } from 'vue';
|
||||||
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
|
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
|
||||||
import { thdList, transRead, thdNuMaterialList, addThc, thcList, removeWl, removeAll, submitThd, startServe, finishServe } from './api/lunpan.js'
|
import { thdList, transRead, thdNuMaterialList, addThc, thcList, removeWl, removeAll, submitThd, startServe, finishServe } from './api/lunpan.js'
|
||||||
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
|
||||||
import thwl from './common/thwl.vue'
|
import thwl from './common/thwl.vue'
|
||||||
import thitem from './common/thitem.vue'
|
import thitem from './common/thitem.vue'
|
||||||
import tanchuang from './components/tanchuang.vue'
|
import tanchuang from './components/tanchuang.vue'
|
||||||
import submits from './common/submits.vue'
|
import submits from './common/submits.vue'
|
||||||
|
import calendar from '@/component/public/calendar.vue'
|
||||||
|
|
||||||
|
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
||||||
|
const opendata = ref(false);
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
searchContent: ''
|
searchContent: '',
|
||||||
|
fqStartTime: "",
|
||||||
|
fqEndTime: "",
|
||||||
|
showstart:"",
|
||||||
|
showend:""
|
||||||
})
|
})
|
||||||
const tanshow = ref(false)
|
const tanshow = ref(false)
|
||||||
const subshow = ref(false)
|
const subshow = ref(false)
|
||||||
|
|
@ -187,12 +224,7 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const search = (e) => {
|
|
||||||
if (e == 0) { form.searchContent = '' }
|
|
||||||
form.pageNo = 1;
|
|
||||||
tharrlist.value = [];
|
|
||||||
thlist()
|
|
||||||
}
|
|
||||||
const status = ref('loadmore')
|
const status = ref('loadmore')
|
||||||
const plsbuytolower = () => {
|
const plsbuytolower = () => {
|
||||||
if (status.value == 'loading' || status.value == 'nomore') { return }
|
if (status.value == 'loading' || status.value == 'nomore') { return }
|
||||||
|
|
@ -217,7 +249,7 @@
|
||||||
console.log(res)
|
console.log(res)
|
||||||
cardarr.value = res.result
|
cardarr.value = res.result
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -314,6 +346,36 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
type datetype = {
|
||||||
|
start : string,
|
||||||
|
end : string
|
||||||
|
}
|
||||||
|
// 销毁日历
|
||||||
|
const xiaohui = ref(true);
|
||||||
|
const chongzhi = () => {
|
||||||
|
xiaohui.value = false;
|
||||||
|
setTimeout(() => {
|
||||||
|
xiaohui.value = true;
|
||||||
|
}, 300)
|
||||||
|
form.showstart = ""
|
||||||
|
form.showend = ""
|
||||||
|
form.fqStartTime = "";
|
||||||
|
form.fqEndTime = "";
|
||||||
|
form.pageNo = 1;
|
||||||
|
tharrlist.value = [];
|
||||||
|
thlist()
|
||||||
|
}
|
||||||
|
const dateget = (res : datetype) => {
|
||||||
|
console.log("res", res)
|
||||||
|
form.showstart = res.start.replace(/-/g, '.')
|
||||||
|
form.showend = res.end.replace(/-/g, '.')
|
||||||
|
form.fqStartTime = res.start.replace(/-/g, '.') + ` 00:00:00`;
|
||||||
|
form.fqEndTime = res.end.replace(/-/g, '.') + ` 00:00:00`;
|
||||||
|
form.pageNo = 1;
|
||||||
|
tharrlist.value = [];
|
||||||
|
console.log("0000",form)
|
||||||
|
thlist()
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
|
@ -586,11 +648,13 @@
|
||||||
.ipt {
|
.ipt {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 27vw;
|
width: 22.2vw;
|
||||||
background: #E2E4E9;
|
background: #E2E4E9;
|
||||||
border-radius: 1.65vw;
|
border-radius: 1.65vw;
|
||||||
height: 3.3vw;
|
height: 3.3vw;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 1.8vw;
|
width: 1.8vw;
|
||||||
height: 1.8vw;
|
height: 1.8vw;
|
||||||
|
|
@ -602,7 +666,7 @@
|
||||||
height: 3.3vw;
|
height: 3.3vw;
|
||||||
font-size: 1.4vw;
|
font-size: 1.4vw;
|
||||||
padding-left: 1.6vw;
|
padding-left: 1.6vw;
|
||||||
|
// z-index: -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -664,6 +728,7 @@
|
||||||
-webkit-transform-style: preserve-3d;
|
-webkit-transform-style: preserve-3d;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mhao {
|
.mhao {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -0.2vw;
|
top: -0.2vw;
|
||||||
|
|
@ -681,11 +746,84 @@
|
||||||
background: transparent;
|
background: transparent;
|
||||||
writing-mode: horizontal-tb;
|
writing-mode: horizontal-tb;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
.mhao-font{
|
|
||||||
|
.mhao-font {
|
||||||
font-size: 25rpx;
|
font-size: 25rpx;
|
||||||
letter-spacing: -0.05em; /* 负值 = 字符之间更近 */
|
letter-spacing: -0.05em;
|
||||||
|
/* 负值 = 字符之间更近 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.calendar-father {
|
||||||
|
position: fixed;
|
||||||
|
top: 130rpx;
|
||||||
|
left: 30rpx;
|
||||||
|
width: 700rpx;
|
||||||
|
height: 600rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mengban {
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 100;
|
||||||
|
background: RGBA(239, 240, 244, 0.55);
|
||||||
|
}
|
||||||
|
|
||||||
|
.more-time-select {
|
||||||
|
// margin-top: 30rpx;
|
||||||
|
width: 100%;
|
||||||
|
height: 3vh;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
background-color: #E5E6EB;
|
||||||
|
border-radius: 30rpx;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.more-gray {
|
||||||
|
color: #999999;
|
||||||
|
font-size: 30rpx;
|
||||||
|
width: 220rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.more-black {
|
||||||
|
font-size: 28rpx;
|
||||||
|
width: 220rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.shx {
|
||||||
|
width: 7vw;
|
||||||
|
height: 3.3vw;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 1.65vw;
|
||||||
|
border: 1px solid #D9DADC;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 1.4vw;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin: 0 0 0 0.5vw;
|
||||||
|
color: #555555;
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 1.5vw;
|
||||||
|
height: 1.5vw;
|
||||||
|
margin: 0 0.2vw 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
page {
|
page {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue