|
|
|
@ -3,7 +3,7 @@
|
|
|
|
<!-- 自定义导航栏 -->
|
|
|
|
<!-- 自定义导航栏 -->
|
|
|
|
<u-navbar bgColor="#ffffff" :placeholder="true" :autoBack="true" titleStyle="font-weight:600">
|
|
|
|
<u-navbar bgColor="#ffffff" :placeholder="true" :autoBack="true" titleStyle="font-weight:600">
|
|
|
|
<!-- @click="popCheBian()" -->
|
|
|
|
<!-- @click="popCheBian()" -->
|
|
|
|
<view slot="center" style="display: flex;align-items: center;">
|
|
|
|
<view slot="center" style="display: flex;align-items: center;" @click="popCheBian2()">
|
|
|
|
<span style="font-size: 32rpx; font-weight: 600;color: #333333;margin-right: 10rpx;">{{ changku }}</span>
|
|
|
|
<span style="font-size: 32rpx; font-weight: 600;color: #333333;margin-right: 10rpx;">{{ changku }}</span>
|
|
|
|
<!-- <image style="width: 32rpx; height: 32rpx;" src="../../../../static/images/wuzhi/zhuanhuan.png"></image> -->
|
|
|
|
<!-- <image style="width: 32rpx; height: 32rpx;" src="../../../../static/images/wuzhi/zhuanhuan.png"></image> -->
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
@ -135,6 +135,20 @@
|
|
|
|
</scroll-view>
|
|
|
|
</scroll-view>
|
|
|
|
</u-popup>
|
|
|
|
</u-popup>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 侧边栏弹窗 -->
|
|
|
|
|
|
|
|
<u-popup :show="wuzhiCheBian2" mode="left" :customStyle="{ width: '70vw' }" :safeAreaInsetBottom="true" @close="offPop()">
|
|
|
|
|
|
|
|
<view style="height: 50px;margin-bottom: 10rpx;"></view>
|
|
|
|
|
|
|
|
<u-search placeholder="请输入仓库名称搜索" v-model="keyword" :clearabled="false" :showAction="false"></u-search>
|
|
|
|
|
|
|
|
<scroll-view scroll-y="true" style="height: 95vh;" scroll-with-animation="true">
|
|
|
|
|
|
|
|
<view class="status_bar"></view>
|
|
|
|
|
|
|
|
<uni-list>
|
|
|
|
|
|
|
|
<uni-list-item v-for="(item, index) in titlelist" :title="`${index + 1}.${item.name}`" :clickable="true" @click="xuanZheChangKu2(item)"></uni-list-item>
|
|
|
|
|
|
|
|
</uni-list>
|
|
|
|
|
|
|
|
<view style="height: 50px;"></view>
|
|
|
|
|
|
|
|
</scroll-view>
|
|
|
|
|
|
|
|
</u-popup>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 物资调拨下弹框 -->
|
|
|
|
<!-- 物资调拨下弹框 -->
|
|
|
|
<u-popup :show="diaoBoDialogshow" :round="10" mode="bottom" @close="closeRuKuDialog" @open="RuKuDialogOpened">
|
|
|
|
<u-popup :show="diaoBoDialogshow" :round="10" mode="bottom" @close="closeRuKuDialog" @open="RuKuDialogOpened">
|
|
|
|
<view class="bottomPopup" style="height: 85vh">
|
|
|
|
<view class="bottomPopup" style="height: 85vh">
|
|
|
|
@ -291,6 +305,7 @@ export default {
|
|
|
|
changku: '仓库名称', // 仓库名称
|
|
|
|
changku: '仓库名称', // 仓库名称
|
|
|
|
changkuId: '', //仓库ID
|
|
|
|
changkuId: '', //仓库ID
|
|
|
|
wuzhiCheBian: false, //物资侧边栏
|
|
|
|
wuzhiCheBian: false, //物资侧边栏
|
|
|
|
|
|
|
|
wuzhiCheBian2: false,
|
|
|
|
titlelist: [], //场库列表
|
|
|
|
titlelist: [], //场库列表
|
|
|
|
diaoBoDialogshow: false, //物资调拨弹框
|
|
|
|
diaoBoDialogshow: false, //物资调拨弹框
|
|
|
|
tabsList: [],
|
|
|
|
tabsList: [],
|
|
|
|
@ -518,6 +533,16 @@ export default {
|
|
|
|
popCheBian() {
|
|
|
|
popCheBian() {
|
|
|
|
//弹出侧边栏
|
|
|
|
//弹出侧边栏
|
|
|
|
this.wuzhiCheBian = true;
|
|
|
|
this.wuzhiCheBian = true;
|
|
|
|
|
|
|
|
// listWarehouse().then(res => {
|
|
|
|
|
|
|
|
// this.titlelist = res.rows;
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
popCheBian2() {
|
|
|
|
|
|
|
|
//弹出侧边栏
|
|
|
|
|
|
|
|
this.wuzhiCheBian2 = true;
|
|
|
|
|
|
|
|
// listWarehouse().then(res => {
|
|
|
|
|
|
|
|
// this.titlelist = res.rows;
|
|
|
|
|
|
|
|
// });
|
|
|
|
},
|
|
|
|
},
|
|
|
|
offPop() {
|
|
|
|
offPop() {
|
|
|
|
//弹出侧边栏
|
|
|
|
//弹出侧边栏
|
|
|
|
@ -533,6 +558,19 @@ export default {
|
|
|
|
this.wuzhiCheBian = false;
|
|
|
|
this.wuzhiCheBian = false;
|
|
|
|
//清空搜索
|
|
|
|
//清空搜索
|
|
|
|
this.keyword = '';
|
|
|
|
this.keyword = '';
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
xuanZheChangKu2(item) {
|
|
|
|
|
|
|
|
console.log("item",item)
|
|
|
|
|
|
|
|
//给被调拨方赋值
|
|
|
|
|
|
|
|
this.changku = item.name;
|
|
|
|
|
|
|
|
this.changkuId = item.id;
|
|
|
|
|
|
|
|
this.deptId=item.deptId;
|
|
|
|
|
|
|
|
this.deptName=item.deptName;
|
|
|
|
|
|
|
|
//弹出侧边栏
|
|
|
|
|
|
|
|
this.wuzhiCheBian2 = false;
|
|
|
|
|
|
|
|
//清空搜索
|
|
|
|
|
|
|
|
this.keyword = '';
|
|
|
|
|
|
|
|
this.getKuCun();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|