Compare commits
No commits in common. "afea9432a1ddbf3cb556d41094d376f0591a82ee" and "edcf6342f5f0ac0027e4562900d30f4d6ddd2b6f" have entirely different histories.
afea9432a1
...
edcf6342f5
|
|
@ -69,11 +69,4 @@ export const deleteGwcWl = (params) => {
|
||||||
data: params,
|
data: params,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export const queryMaterialInfo = (params) => {
|
|
||||||
return request({
|
|
||||||
url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/qld/queryMaterialInfo`,
|
|
||||||
method: 'get',
|
|
||||||
data: params,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<view class="mhao" v-if="Material.length>0">{{Material.length}}</view>
|
<view class="mhao" v-if="Material.length>0">{{Material.length}}</view>
|
||||||
</view>
|
</view>
|
||||||
<scroll-view scroll-x="true" class="kcscrol guodu"
|
<scroll-view scroll-x="true" class="kcscrol guodu"
|
||||||
scroll-with-animation :scroll-top="scrollleft" :style="qb?'width:calc(100% - 21.8vw)':'width:calc(100% - 10vw)' ">
|
scroll-with-animation :scroll-top="scrollleft" >
|
||||||
<view class="yjbox" v-for="(v,i) in Material" :key="i" @click="clickaddcar(v,i)">
|
<view class="yjbox" v-for="(v,i) in Material" :key="i" @click="clickaddcar(v,i)">
|
||||||
<image :src="v.materialInfo.materialImg?serverUrl+v.materialInfo.materialImg:'/static/index/procurement/k.png'"
|
<image :src="v.materialInfo.materialImg?serverUrl+v.materialInfo.materialImg:'/static/index/procurement/k.png'"
|
||||||
mode="aspectFill"></image>
|
mode="aspectFill"></image>
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
</view>
|
</view>
|
||||||
<defaultr cont="暂无数据" v-if="Material.length==0&&timeout" style="position: absolute;width: 10vw;height: 10vw;"></defaultr>
|
<defaultr cont="暂无数据" v-if="Material.length==0&&timeout" style="position: absolute;width: 10vw;height: 10vw;"></defaultr>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view class="kjlt more guodu" :style="qb?'width:15vw':'' ">
|
<view class="kjlt more guodu" :style="qb?'width:11.2vw':'' ">
|
||||||
<view @click="qb=!qb;moredex=0" class="righ0">
|
<view @click="qb=!qb;moredex=0" class="righ0">
|
||||||
{{!qb?'更多':'收起'}}
|
{{!qb?'更多':'收起'}}
|
||||||
<image class="guodu" :style="qb?'transform: rotate(180deg);':''"
|
<image class="guodu" :style="qb?'transform: rotate(180deg);':''"
|
||||||
|
|
@ -37,7 +37,6 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
|
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
|
||||||
import defaultr from './default.vue'
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
Material:{
|
Material:{
|
||||||
type:Array,
|
type:Array,
|
||||||
|
|
@ -148,11 +147,6 @@
|
||||||
right: 8.5vw;
|
right: 8.5vw;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(4) {
|
|
||||||
right: 12.3vw;
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.avt {
|
.avt {
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<view>
|
<view>
|
||||||
<view>
|
<view>
|
||||||
请领数量
|
请领数量
|
||||||
<text>{{wuobj.qlNum?wuobj.qlNum:'0'}}</text>
|
<text>{{objtake.qlNum?objtake.qlNum:'--'}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
请领单位
|
请领单位
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
累计请领
|
累计请领
|
||||||
<text>{{wuobj.wlNum?wuobj.wlNum:0}}</text>
|
<text>{{objtake.materialNo}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
@ -54,7 +54,6 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
|
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
|
||||||
import { queryMaterialInfo} from '../api/api.js'
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
objtake: {
|
objtake: {
|
||||||
type: Object,
|
type: Object,
|
||||||
|
|
@ -64,7 +63,6 @@ import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive }
|
||||||
type: Boolean
|
type: Boolean
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const wuobj = ref({})
|
|
||||||
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
const serverUrl = ref(uni.getStorageSync('serverUrl') + '/sys/common/static/')
|
||||||
const emit = defineEmits([ 'fill' ,'qingling'])
|
const emit = defineEmits([ 'fill' ,'qingling'])
|
||||||
const showbox = ref(false)
|
const showbox = ref(false)
|
||||||
|
|
@ -72,15 +70,6 @@ import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive }
|
||||||
()=>{
|
()=>{
|
||||||
console.log(props.objtake)
|
console.log(props.objtake)
|
||||||
if(props.show==true){
|
if(props.show==true){
|
||||||
let obj = {
|
|
||||||
nuId:uni.getStorageSync('nuId'),
|
|
||||||
elderId:uni.getStorageSync('NUall').id,
|
|
||||||
wlId:props.objtake.wlId
|
|
||||||
}
|
|
||||||
queryMaterialInfo(obj).then(res=>{
|
|
||||||
console.log(res)
|
|
||||||
wuobj.value = res.result
|
|
||||||
})
|
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
showbox.value = true
|
showbox.value = true
|
||||||
},50)
|
},50)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue