This commit is contained in:
parent
45a74b8653
commit
aa0540dfbf
|
|
@ -21,7 +21,7 @@
|
||||||
<view>{{v.materialName}}</view><text>{{v.materialNo}}</text>
|
<view>{{v.materialName}}</view><text>{{v.materialNo}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<text> 规格型号: {{v.specificationModel}}</text>
|
<text style="white-space: nowrap;"> 规格型号: {{v.specificationModel}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<text v-if="v.multiUnitType=='1'">采购单价: ¥{{v.oneUnitPrice}} </text>
|
<text v-if="v.multiUnitType=='1'">采购单价: ¥{{v.oneUnitPrice}} </text>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<view>{{v.wlName}}</view><text>{{v.wlMaterialNo}}</text>
|
<view>{{v.wlName}}</view><text>{{v.wlMaterialNo}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<text> 规格型号: {{v.wlSpecificationModel}}</text>
|
<text style="white-space: nowrap;"> 规格型号: {{v.wlSpecificationModel}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<text>采购单价: ¥{{v.referenceUnitPrice}}</text>
|
<text>采购单价: ¥{{v.referenceUnitPrice}}</text>
|
||||||
|
|
|
||||||
|
|
@ -380,6 +380,7 @@
|
||||||
|
|
||||||
&:nth-child(1) {
|
&:nth-child(1) {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(2),&:nth-child(3),&:nth-child(4) {
|
&:nth-child(2),&:nth-child(3),&:nth-child(4) {
|
||||||
|
|
@ -421,6 +422,7 @@
|
||||||
height: 2vw;
|
height: 2vw;
|
||||||
margin-top: 1vw;
|
margin-top: 1vw;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
flex: auto;
|
||||||
>view {
|
>view {
|
||||||
width: 13vw;
|
width: 13vw;
|
||||||
height: 2vw;
|
height: 2vw;
|
||||||
|
|
@ -433,15 +435,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
text {
|
text {
|
||||||
width: 6vw;
|
min-width: 3vw;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-size: 1.4vw;
|
font-size: 1.4vw;
|
||||||
color: #222222;
|
color: #222222;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
text-align: right;
|
||||||
.q{
|
.q{
|
||||||
color: #555555;
|
color: #555555;
|
||||||
font-size: 1.6vw;
|
font-size: 1.6vw;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
|
width: 100%;
|
||||||
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<view class="serchs">
|
<view class="serchs">
|
||||||
<view class="ipt">
|
<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"
|
<image src="/static/index/procurement/x.png" mode="aspectFill" v-if="form.wlParamInfo"
|
||||||
@click="search(0)"></image>
|
@click="search(0)"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -13,6 +13,10 @@
|
||||||
<image src="/static/index/procurement/sx.png" mode="aspectFill"></image>
|
<image src="/static/index/procurement/sx.png" mode="aspectFill"></image>
|
||||||
筛选
|
筛选
|
||||||
</view>
|
</view>
|
||||||
|
<view class="shx" @click="chongzhi">
|
||||||
|
<image src="/static/index/procurement/sx.png" mode="aspectFill"></image>
|
||||||
|
重置
|
||||||
|
</view>
|
||||||
<view class="back" @click="uni.navigateBack()">
|
<view class="back" @click="uni.navigateBack()">
|
||||||
<image src="/static/index/procurement/bk.png" mode="aspectFill"></image>
|
<image src="/static/index/procurement/bk.png" mode="aspectFill"></image>
|
||||||
返回
|
返回
|
||||||
|
|
@ -109,7 +113,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<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 { queryInvoicingList,queryWlInfoByWlId,addShoppingCartList,queryShoppingCartList } from './api/lunpan.js'
|
||||||
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
|
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
|
||||||
import calculator from './components/calculator.vue'
|
import calculator from './components/calculator.vue'
|
||||||
|
|
@ -155,7 +159,12 @@
|
||||||
medicationId: '',
|
medicationId: '',
|
||||||
wlParamInfo: '',
|
wlParamInfo: '',
|
||||||
isWaring: 1
|
isWaring: 1
|
||||||
})
|
})
|
||||||
|
const parentMethod = inject('typescroll','qingkong');
|
||||||
|
const chongzhi=()=>{
|
||||||
|
typescroll(1,-1,{});
|
||||||
|
qingkong()
|
||||||
|
}
|
||||||
onLoad(() => {
|
onLoad(() => {
|
||||||
serverUrl.value = uni.getStorageSync('serverUrl') + '/sys/common/static/';
|
serverUrl.value = uni.getStorageSync('serverUrl') + '/sys/common/static/';
|
||||||
})
|
})
|
||||||
|
|
@ -698,16 +707,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.serchs {
|
.serchs {
|
||||||
width:64vw;
|
width:62vw;
|
||||||
height: 3.3vw;
|
height: 3.3vw;
|
||||||
border-radius: 1.6vw;
|
border-radius: 1.6vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 0.7vw;
|
margin-top: 0.7vw;
|
||||||
|
position: relative;
|
||||||
.ipt {
|
.ipt {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 30vw;
|
width: 22vw;
|
||||||
background: #E2E4E9;
|
background: #E2E4E9;
|
||||||
border-radius: 1.65vw;
|
border-radius: 1.65vw;
|
||||||
height: 3.3vw;
|
height: 3.3vw;
|
||||||
|
|
@ -739,7 +749,9 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-left:5.5vw;
|
position: absolute;
|
||||||
|
right: 0.5vw;
|
||||||
|
top: 0.2vw;
|
||||||
image {
|
image {
|
||||||
width: 1.5vw;
|
width: 1.5vw;
|
||||||
height: 1.3vw;
|
height: 1.3vw;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<view class="serchs">
|
<view class="serchs">
|
||||||
<view class="leftbtn">
|
<view class="leftbtn">
|
||||||
<view class="ipt">
|
<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"
|
<image src="/static/index/procurement/x.png" mode="aspectFill" v-if="form.wlParamInfo"
|
||||||
@click="search(0)"></image>
|
@click="search(0)"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue