This commit is contained in:
parent
c543a08c5a
commit
53f694b33c
|
|
@ -950,7 +950,7 @@
|
||||||
width: 140rpx;
|
width: 140rpx;
|
||||||
height: 140rpx;
|
height: 140rpx;
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
margin-bottom: 15rpx;
|
margin-bottom: 0.2vw;
|
||||||
padding: 0.2vw;
|
padding: 0.2vw;
|
||||||
border-radius: 1.1vw;
|
border-radius: 1.1vw;
|
||||||
background: #f8f8f8;
|
background: #f8f8f8;
|
||||||
|
|
@ -969,7 +969,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
border: 1rpx solid #D2D2D2;
|
border: 1rpx solid #D2D2D2;
|
||||||
margin-top:0.2vw;
|
margin-bottom:0.2vw;
|
||||||
font-size: 19rpx;
|
font-size: 19rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -194,7 +194,7 @@
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
thshow.value = false;
|
thshow.value = false;
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'success',
|
||||||
title: res.message
|
title: res.message
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -1041,6 +1041,7 @@
|
||||||
<tanchuang :show="badshow" font="确定要作废这个采购单吗" @back="badshow=false;" @right="zuofei"> </tanchuang>
|
<tanchuang :show="badshow" font="确定要作废这个采购单吗" @back="badshow=false;" @right="zuofei"> </tanchuang>
|
||||||
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del()"> </tanchuang>
|
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del()"> </tanchuang>
|
||||||
<tanchuang :show="open==2" font="是否销账此物料?" @back="open = 0" @right="sctp(1)"> </tanchuang>
|
<tanchuang :show="open==2" font="是否销账此物料?" @back="open = 0" @right="sctp(1)"> </tanchuang>
|
||||||
|
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -1814,6 +1815,8 @@
|
||||||
stringjh.value = toFixed4ByPadStart(showvalue.value.num)
|
stringjh.value = toFixed4ByPadStart(showvalue.value.num)
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
const openerror = ref(false)
|
||||||
|
const errmsg = ref('')
|
||||||
const fag = (e) => {
|
const fag = (e) => {
|
||||||
let str = '';
|
let str = '';
|
||||||
addupimg.value.forEach(item => {
|
addupimg.value.forEach(item => {
|
||||||
|
|
@ -1830,11 +1833,11 @@
|
||||||
pickingInfo(obj).then(res => {
|
pickingInfo(obj).then(res => {
|
||||||
console.log(`入参`, obj)
|
console.log(`入参`, obj)
|
||||||
console.log(`返回`, res)
|
console.log(`返回`, res)
|
||||||
|
if (res.success) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: res.success?'success':'none',
|
||||||
title: res.message ? res.message : '操作成功'
|
title: res.message ? res.message : '操作成功'
|
||||||
})
|
})
|
||||||
if (res.success) {
|
|
||||||
plsbuy.value[lefttarget.value].totalPrice = res.result.cgdTotalPrice
|
plsbuy.value[lefttarget.value].totalPrice = res.result.cgdTotalPrice
|
||||||
albumlist.value = [];
|
albumlist.value = [];
|
||||||
addupimg.value = [];
|
addupimg.value = [];
|
||||||
|
|
@ -1842,7 +1845,12 @@
|
||||||
open.value = 0;
|
open.value = 0;
|
||||||
form.cgdId = plsbuy.value[lefttarget.value].id;
|
form.cgdId = plsbuy.value[lefttarget.value].id;
|
||||||
plsbuy.value[lefttarget.value] = res.result.cgdInfo;
|
plsbuy.value[lefttarget.value] = res.result.cgdInfo;
|
||||||
|
setTimeout(()=>{
|
||||||
queryInvo(middletarget.value)
|
queryInvo(middletarget.value)
|
||||||
|
},700)
|
||||||
|
}else{
|
||||||
|
errmsg.value = res.message;
|
||||||
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,7 @@
|
||||||
if(res.success){
|
if(res.success){
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon:'success',
|
icon:'success',
|
||||||
title:res.message
|
title:res.message?res.message:'提交成功'
|
||||||
})
|
})
|
||||||
emit('close');
|
emit('close');
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
|
|
|
||||||
|
|
@ -45,11 +45,11 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<nomessage cont="暂无数据" :show="nomessageshow" />
|
<!-- <nomessage cont="暂无数据" :show="nomessageshow" /> -->
|
||||||
<view class="zhedang" v-if="nomessageshow"></view>
|
<!-- <view class="zhedang" v-if="nomessageshow"></view> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="all-contain" v-show=" !nomessageshow">
|
<view class="all-contain">
|
||||||
<scroll-view scroll-y="true" scroll-with-animation class="all-scroll" :scroll-top="leftscrolltop"
|
<scroll-view scroll-y="true" scroll-with-animation class="all-scroll" :scroll-top="leftscrolltop"
|
||||||
@scrolltolower="plsbuytolower" :lower-threshold="200">
|
@scrolltolower="plsbuytolower" :lower-threshold="200">
|
||||||
<view class="scroll-items">
|
<view class="scroll-items">
|
||||||
|
|
@ -724,7 +724,7 @@
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
height: 500rpx;
|
height: 500rpx;
|
||||||
background-color: #fff;
|
// background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-selecttype {
|
.left-selecttype {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"hash": "63b19973",
|
"hash": "9e248234",
|
||||||
"configHash": "f0a71f11",
|
"configHash": "17f5f5b6",
|
||||||
"lockfileHash": "e88c1aa2",
|
"lockfileHash": "285de26d",
|
||||||
"browserHash": "b680c5d4",
|
"browserHash": "f287ed85",
|
||||||
"optimized": {},
|
"optimized": {},
|
||||||
"chunks": {}
|
"chunks": {}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue