lincl 3 년 전
부모
커밋
1bb11641e3

+ 1 - 1
mini-pro-web/src/components/ProductItem/index.vue

@ -4,7 +4,7 @@
        <div :style="'height: '+ (rate) +'%'" class="pitem-bg"></div>
        <div class="pitem-inner" >
            <div class="kitbox " >
                <div class="box-flex-1">{{index+1}}号位</div>
                <div class="box-flex-1">{{data.wayerNo}}号位</div>
                <div>{{data.qty}}/{{data.cargoCapacity}}</div>
            </div>
            <template v-if="data.shelfStatus==1">

+ 1 - 1
mini-pro-web/src/views/replenishment/start/components/SetStockDialog.vue

@ -7,7 +7,7 @@
                    <span>{{bussiness==1? '修改容量' : bussiness==2? '矫正库存' : bussiness==4||bussiness==5? '设置库存' : bussiness==6? '新增' : ''}}</span>
                </div>
                <template v-if="bussiness==1||bussiness==4||bussiness==5||bussiness==6">
                    <div class="tc pt30 pb20"><van-stepper v-model="stock" min="1" max="100" /></div>
                    <div class="tc pt30 pb20"><van-stepper v-model="stock" min="1" max="99" /></div>
                </template>
                <div class="tc" v-else>
                    <div class="pt10">

+ 4 - 0
mini-pro-web/src/views/replenishment/start/deviceDetail.vue

@ -51,6 +51,9 @@
            <div class="plr15" v-if="!isView&&this.outDetailList&&this.outDetailList.length">
                <van-button @click="changeShowDrug" type="primary" color="#17b3ec" size="mini">{{showDeviceDrug? '备药单药品' : '设备库存药品'}}</van-button>
            </div>
            <div class="plr15" v-if="isView">
                <van-button @click="gotoUrl('/replenishment/start/deviceDetail', {deviceId: deviceId})" type="primary" color="#17b3ec" size="mini">点击进行入库</van-button>
            </div>
        </div>
        <div class="kitbox">
            <div class="left-list">
@ -167,6 +170,7 @@ export default{
                })
        },
        findMediicinecabinetInventoryByDeviceId(){
            this.list.splice(1, this.list.length)
            let p = {
                deviceId: this.deviceId
            }

+ 5 - 11
mini-pro-web/src/views/replenishment/start/quick.vue

@ -13,7 +13,7 @@
                            <div>申领数量:{{query.quantity}}</div>
                        </div>
                        <div class="stepper kitbox">
                            <van-stepper v-model="num" integer min="0" max="100" />
                            <van-stepper v-model="num" integer min="0" max="99" />
                            <div v-if="repAll" class="text">补满</div>
                        </div>
                    </div>
@ -228,8 +228,10 @@ export default{
                                message: '操作成功',
                                forbidClick: true,
                                onClose: ()=>{
                                    
                                }
                            })
                            this.setBackRefresh(true)
                            this.$refreshData(true)
                        })
                        .catch(err=>{
@ -300,7 +302,7 @@ export default{
                                onClose: ()=>{
                                }
                            })
                            // this.$refreshData(true)
                            this.setBackRefresh(true)
                        })
                        .catch(err=>{
                            console.error(err)
@ -399,16 +401,7 @@ export default{
                }
                this.$loading('保存中..')
                var item = this.selItemList[0]
                // var list = this.list[Number(item.layerNo)-1].list
                ids.push(item.id)
                // for(var i=Number(item.wayerNo); i<list.length; i++){
                //     var v = list[i-1]
                //     if(v.state == 20){
                //         ids.push(v.id)
                //     } else {
                //         break;
                //     }
                // }
            }
            
            var p = {
@ -424,6 +417,7 @@ export default{
                        this.selItemList = []
                        this.$toast('操作成功')
                        this.$refreshData()
                        this.setBackRefresh(true)
                    } 
                })
                .catch(err=>{

+ 1 - 1
mini-pro-web/src/views/replenishment/stockUp/detail.vue

@ -12,7 +12,7 @@
            <div v-for="(item, i) in list" :key="i" class="row kitbox">
                <div class="box-flex-1 pl10 ellipsis">{{item.drugName}}</div>
                <div class="tc">{{item.qty}}</div>
                <div class="tc"><van-stepper v-model="item.upInventory" min="1" max="100"/></div>
                <div class="tc"><van-stepper v-model="item.upInventory" min="1" max="99"/></div>
                <div class="tc c-red"><span @click="del(item, i)">删除</span></div>
            </div>
        </div>