Browse Source

【埃驰pc】2024-05-14发货口等相关需求更改

master
安虹睿 7 months ago
parent
commit
6513054f39
  1. 1
      PC/IAC_LargeScreen/src/components/boardHeader/index.vue
  2. 40
      PC/IAC_LargeScreen/src/views/shippingBoard.vue
  3. 2
      PC/IAC_LargeScreen/src/views/stockBoard.vue

1
PC/IAC_LargeScreen/src/components/boardHeader/index.vue

@ -13,6 +13,7 @@
:picker-options="pickerOptions" :picker-options="pickerOptions"
></el-date-picker> ></el-date-picker>
</div> </div>
<slot></slot>
</div> </div>
</template> </template>

40
PC/IAC_LargeScreen/src/views/shippingBoard.vue

@ -3,7 +3,14 @@
<boardHeader <boardHeader
ref="boardHeader_Ref" ref="boardHeader_Ref"
:title="'发运看板'" :title="'发运看板'"
></boardHeader> >
<!-- <template>
<div class="dockCodeSearch">
<el-input v-model="dockCodeSearch" placeholder="请输入发货口"></el-input>
<div class="searchBtn" @click="searchHandle">查询</div>
</div>
</template> -->
</boardHeader>
<dv-loading v-show="dataLoading">Loading...</dv-loading> <dv-loading v-show="dataLoading">Loading...</dv-loading>
<div class="lineContain"> <div class="lineContain">
<dv-scroll-board :config="config" ref="shippingBoard_Ref" style="height:100%"/> <dv-scroll-board :config="config" ref="shippingBoard_Ref" style="height:100%"/>
@ -44,6 +51,7 @@ export default {
oddRowBGC: 'rgba(10, 29, 50, 0.9)' oddRowBGC: 'rgba(10, 29, 50, 0.9)'
}, },
config: {}, config: {},
dockCodeSearch:"",
} }
}, },
created() { created() {
@ -89,6 +97,10 @@ export default {
this.getList() this.getList()
util.addEventResizeFlesh() util.addEventResizeFlesh()
}, },
searchHandle(){
this.currentPage = 1
this.init()
},
initConfig(data){ initConfig(data){
this.config = { this.config = {
header: this.configDefult.header, header: this.configDefult.header,
@ -156,6 +168,8 @@ export default {
async getList(){ async getList(){
this.dataLoading = true this.dataLoading = true
this.initConfig() this.initConfig()
// todo:
console.log(this.dockCodeSearch)
axiosUtil.ajax_post('/api/wms/store/board/deliver-board').then(res => { axiosUtil.ajax_post('/api/wms/store/board/deliver-board').then(res => {
this.dataLoading = false this.dataLoading = false
if(res.length <= 0){ if(res.length <= 0){
@ -516,6 +530,30 @@ export default {
<style lang="less"> <style lang="less">
.shippingBoardPage{ .shippingBoardPage{
.dockCodeSearch{
position:absolute;
left:2.5rem;
top:0.5rem;
display:flex;
align-items: center;
.el-input__inner {
background: transparent !important;
border-color: #1d36b3 !important;
color: #fff !important;
height:2.5rem;
line-height:2.5rem;
}
.searchBtn{
background:#1981f6;
color:#fff;
width:6rem;
height:2.5rem;
line-height:2.5rem;
border-radius:0 0.2rem 0.2rem 0
}
}
.header-item{ .header-item{
font-size: 1rem; font-size: 1rem;
font-weight: bold; font-weight: bold;

2
PC/IAC_LargeScreen/src/views/stockBoard.vue

@ -24,7 +24,7 @@ export default {
dataLoading: true, dataLoading: true,
// config // config
configDefult:{ configDefult:{
header:['物料', '描述', '库存数量','最小', '需求库位' ], header:['物料', '描述', '库存数量','最小', '需求库位' ],
waitTime: window.SITE_CONFIG['waitTime_bl'] || 120000,//2 waitTime: window.SITE_CONFIG['waitTime_bl'] || 120000,//2
carousel: 'page', carousel: 'page',
// index: true, // index: true,

Loading…
Cancel
Save