This commit is contained in:
Teng 2025-11-20 15:37:54 +08:00
commit b1b30576c0
5 changed files with 27 additions and 10 deletions

View File

@ -21,7 +21,7 @@
<view>{{v.materialName}}</view><text>{{v.materialNo}}</text>
</view>
<view>
<text> 规格型号: {{v.specificationModel}}</text>
<text style="white-space: nowrap;"> 规格型号: {{v.specificationModel}}</text>
</view>
<view>
<text v-if="v.multiUnitType=='1'">采购单价: {{v.oneUnitPrice}} </text>

View File

@ -26,7 +26,7 @@
<view>{{v.wlName}}</view><text>{{v.wlMaterialNo}}</text>
</view>
<view>
<text> 规格型号: {{v.wlSpecificationModel}}</text>
<text style="white-space: nowrap;"> 规格型号: {{v.wlSpecificationModel}}</text>
</view>
<view>
<text>采购单价: {{v.referenceUnitPrice}}</text>

View File

@ -380,6 +380,7 @@
&:nth-child(1) {
text-align: left;
}
&:nth-child(2),&:nth-child(3),&:nth-child(4) {
@ -421,6 +422,7 @@
height: 2vw;
margin-top: 1vw;
white-space: nowrap;
flex: auto;
>view {
width: 13vw;
height: 2vw;
@ -433,15 +435,18 @@
}
text {
width: 6vw;
min-width: 3vw;
font-weight: 300;
font-size: 1.4vw;
color: #222222;
white-space: nowrap;
text-align: right;
.q{
color: #555555;
font-size: 1.6vw;
font-weight: 800;
width: 100%;
text-align: right;
}
}
}

View File

@ -2,7 +2,7 @@
<view>
<view class="serchs">
<view class="ipt">
<input type="text" placeholder="物料名称/物料编码/物料简拼" v-model="form.wlParamInfo" />
<input type="text" placeholder="物料名称/物料编码/物料简拼" v-model="form.wlParamInfo" @confirm="search()"/>
<image src="/static/index/procurement/x.png" mode="aspectFill" v-if="form.wlParamInfo"
@click="search(0)"></image>
</view>
@ -13,6 +13,10 @@
<image src="/static/index/procurement/sx.png" mode="aspectFill"></image>
筛选
</view>
<view class="shx" @click="chongzhi">
<image src="/static/index/procurement/sx.png" mode="aspectFill"></image>
重置
</view>
<view class="back" @click="uni.navigateBack()">
<image src="/static/index/procurement/bk.png" mode="aspectFill"></image>
返回
@ -109,7 +113,7 @@
</template>
<script setup lang="ts">
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineProps ,defineComponent} from 'vue';
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineProps ,defineComponent,inject} from 'vue';
import { queryInvoicingList,queryWlInfoByWlId,addShoppingCartList,queryShoppingCartList } from './api/lunpan.js'
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
import calculator from './components/calculator.vue'
@ -155,7 +159,12 @@
medicationId: '',
wlParamInfo: '',
isWaring: 1
})
})
const parentMethod = inject('typescroll','qingkong');
const chongzhi=()=>{
typescroll(1,-1,{});
qingkong()
}
onLoad(() => {
serverUrl.value = uni.getStorageSync('serverUrl') + '/sys/common/static/';
})
@ -698,16 +707,17 @@
}
.serchs {
width:64vw;
width:62vw;
height: 3.3vw;
border-radius: 1.6vw;
display: flex;
align-items: center;
margin-top: 0.7vw;
position: relative;
.ipt {
display: flex;
align-items: center;
width: 30vw;
width: 22vw;
background: #E2E4E9;
border-radius: 1.65vw;
height: 3.3vw;
@ -739,7 +749,9 @@
display: flex;
justify-content: center;
align-items: center;
margin-left:5.5vw;
position: absolute;
right: 0.5vw;
top: 0.2vw;
image {
width: 1.5vw;
height: 1.3vw;

View File

@ -3,7 +3,7 @@
<view class="serchs">
<view class="leftbtn">
<view class="ipt">
<input type="text" placeholder="物料名称/物料编码/物料简拼" v-model="form.wlParamInfo" />
<input type="text" placeholder="物料名称/物料编码/物料简拼" v-model="form.wlParamInfo" @confirm="search()"/>
<image src="/static/index/procurement/x.png" mode="aspectFill" v-if="form.wlParamInfo"
@click="search(0)"></image>
</view>