This commit is contained in:
parent
16085eb4dd
commit
2eba5ea107
|
|
@ -368,10 +368,10 @@
|
||||||
padding: 0.2vw;
|
padding: 0.2vw;
|
||||||
margin: 0.3vw auto 0.25vw;
|
margin: 0.3vw auto 0.25vw;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 1.1vw;
|
|
||||||
>image {
|
>image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
border-radius: 1.1vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -431,15 +431,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
submitQld(obj).then(res=>{
|
submitQld(obj).then(res=>{
|
||||||
|
console.log(res)
|
||||||
if(res.success){
|
if(res.success){
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon:'success',
|
icon:'success',
|
||||||
title:'提交成功'
|
title:'提交成功'
|
||||||
})
|
})
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
plsbuy.value[lefttarget.value] = res.result.result
|
queryQld({searchContent:plsbuy.value[lefttarget.value].qldNo}).then((res : any) => {
|
||||||
|
plsbuy.value[lefttarget.value] = res.result.records[0];
|
||||||
|
})
|
||||||
tijiaoshow.value = false;
|
tijiaoshow.value = false;
|
||||||
|
|
||||||
rightinfolist();
|
rightinfolist();
|
||||||
},800)
|
},800)
|
||||||
}else{
|
}else{
|
||||||
|
|
|
||||||
|
|
@ -595,6 +595,7 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
outbound(data).then((res : any) => {
|
outbound(data).then((res : any) => {
|
||||||
|
if (res.success) {
|
||||||
selectarray.value = [];
|
selectarray.value = [];
|
||||||
manyselect.value = false
|
manyselect.value = false
|
||||||
chukushow.value = false
|
chukushow.value = false
|
||||||
|
|
@ -607,6 +608,7 @@
|
||||||
}, 50)
|
}, 50)
|
||||||
lefttarget.value = 0
|
lefttarget.value = 0
|
||||||
firstgetqueryCgdList();
|
firstgetqueryCgdList();
|
||||||
|
}
|
||||||
console.log("!!!!!!", res)
|
console.log("!!!!!!", res)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|
@ -617,7 +619,7 @@
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
chukuerror.value = true;
|
chukuerror.value = true;
|
||||||
chukuvalue.value = res.result.message;
|
chukuvalue.value = res.message;
|
||||||
}
|
}
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// title: res.success ? res.result.message : res.message,
|
// title: res.success ? res.result.message : res.message,
|
||||||
|
|
@ -1096,7 +1098,7 @@
|
||||||
|
|
||||||
|
|
||||||
.right-one {
|
.right-one {
|
||||||
width: 630rpx;
|
width: 570rpx;
|
||||||
height: 270rpx;
|
height: 270rpx;
|
||||||
margin-left: 20rpx;
|
margin-left: 20rpx;
|
||||||
margin-top: 15rpx;
|
margin-top: 15rpx;
|
||||||
|
|
@ -1134,13 +1136,15 @@
|
||||||
width: 130rpx;
|
width: 130rpx;
|
||||||
height: 36rpx;
|
height: 36rpx;
|
||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
color: #555555;
|
color: #555555;
|
||||||
border: 1rpx solid #D2D2D2;
|
border: 1rpx solid #D2D2D2;
|
||||||
margin-top: 5rpx;
|
margin-top: 5rpx;
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 34rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,8 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<defaultr cont="暂无数据" v-if="tharrlist.length==0 "
|
||||||
|
style="position: absolute;width: 10vw;height: 10vw;"></defaultr>
|
||||||
<view style="height:3vw;width: 100%;display: flex;align-items: center;justify-content: center;">
|
<view style="height:3vw;width: 100%;display: flex;align-items: center;justify-content: center;">
|
||||||
<u-loadmore :status="status" :loadText="{nomore:'暂无更多数据'}" v-if="tharrlist.length>4" />
|
<u-loadmore :status="status" :loadText="{nomore:'暂无更多数据'}" v-if="tharrlist.length>4" />
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -127,7 +129,7 @@
|
||||||
</view>
|
</view>
|
||||||
<errorshow :show="openmessage" :font="errormessage" @close="openmessage=false" />
|
<errorshow :show="openmessage" :font="errormessage" @close="openmessage=false" />
|
||||||
|
|
||||||
<view class="fixed-card" :style="openleft?{}:{right:`-34vw`}" v-if="tharrlist[cardindex].orderIzFinish=='N'&&qcobj">
|
<view class="fixed-card" :style="openleft?{}:{right:`-34vw`}" v-if="tharrlist[cardindex]?.orderIzFinish=='N'&&qcobj">
|
||||||
<view class="fixed-card-left">
|
<view class="fixed-card-left">
|
||||||
<image class="card-left-img" :src="serverUrl+(qcobj?.netPreviewFileSmall?qcobj?.netPreviewFileSmall:qcobj?.netPreviewFile)" />
|
<image class="card-left-img" :src="serverUrl+(qcobj?.netPreviewFileSmall?qcobj?.netPreviewFileSmall:qcobj?.netPreviewFile)" />
|
||||||
<view class="">
|
<view class="">
|
||||||
|
|
@ -175,6 +177,7 @@
|
||||||
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'
|
import calendar from '@/component/public/calendar.vue'
|
||||||
|
import defaultr from './components/default.vue'
|
||||||
const openleft = ref(true)
|
const openleft = ref(true)
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
isShow: { type: Boolean }
|
isShow: { type: Boolean }
|
||||||
|
|
@ -321,10 +324,10 @@
|
||||||
const tharrlist = ref([])
|
const tharrlist = ref([])
|
||||||
const thlist = () => {
|
const thlist = () => {
|
||||||
thdList(form).then(res => {
|
thdList(form).then(res => {
|
||||||
console.log("red", res.result.records)
|
|
||||||
tharrlist.value.push(...res.result.records);
|
tharrlist.value.push(...res.result.records);
|
||||||
|
console.log("red", res.result.records)
|
||||||
status.value = res.result.total == tharrlist.value.length ? 'nomore' : 'loadmore';
|
status.value = res.result.total == tharrlist.value.length ? 'nomore' : 'loadmore';
|
||||||
if (form.pageNo == 1) {
|
if (form.pageNo == 1 && tharrlist.value.length>0) {
|
||||||
cardcon(tharrlist.value[cardindex.value], cardindex.value);
|
cardcon(tharrlist.value[cardindex.value], cardindex.value);
|
||||||
// 取消红点
|
// 取消红点
|
||||||
cardindex.value = cardindex.value;
|
cardindex.value = cardindex.value;
|
||||||
|
|
@ -335,7 +338,9 @@
|
||||||
console.log(res)
|
console.log(res)
|
||||||
cardarr.value = res.result
|
cardarr.value = res.result
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
if(tharrlist.value.length==0){
|
||||||
|
cardarr.value = [];
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue