修改排产前确认页

master
xiaoning 10 months ago
parent 65ad5fb280
commit e555988ed0

@ -281,7 +281,7 @@ td {
.content {
position: relative;
min-height: 100px;
min-height: 90px;
}
vertical-align: top;
.top-day {

@ -1,59 +1,63 @@
<template>
<div class="mytable">
<el-button size="small" type="primary" @click="getList" >查询</el-button>
<el-button size="small" type="success" @click="add" >新增</el-button>
<el-button size="small" type="danger" @click="remove" >删除</el-button>
<el-button size="small" type="success" @click="saveGxcd" >保存</el-button>
<vxe-grid
id="dhId"
ref="xGridDh"
border
resizable
keep-source
:align="'center'"
:height="height"
:auto-resize="true"
:columns="dhjhTableColumn"
:data="dhjhList"
:custom-config="{storage: true }"
:edit-config="{
<div>
<el-row style="width: 100%;text-align: right;margin-bottom: 3px">
<el-button size="small" type="primary" @click="getList" >查询</el-button>
<el-button size="small" type="success" @click="add" >新增</el-button>
<el-button size="small" type="danger" @click="remove" >删除</el-button>
<el-button size="small" type="success" @click="saveGxcd" >保存</el-button>
</el-row>
<el-row>
<vxe-grid
id="dhId"
ref="xGridDh"
border
resizable
keep-source
:align="'center'"
:height="height"
:auto-resize="true"
:columns="dhjhTableColumn"
:data="dhjhList"
:custom-config="{storage: true }"
:edit-config="{
trigger: 'click',
mode: 'row',
showStatus: true,
}"
:scroll-x="{enabled: true}"
:scroll-y="{enabled: true}"
highlight-current-row
highlight-hover-row
show-overflow
show-header-overflow
>
<template #month_edit="{ row }">
<vxe-input
v-model="row.month"
type="month"
value-format="yyyy/MM"
placeholder=""
transfer
></vxe-input>
</template>
<template #allArriveData_edit="{ row }">
<vxe-input
v-model="row.allArriveData"
type="date"
value-format="yyyy/MM/dd"
placeholder=""
transfer
></vxe-input>
</template>
</vxe-grid>
:scroll-x="{enabled: true}"
:scroll-y="{enabled: true}"
highlight-current-row
highlight-hover-row
show-overflow
show-header-overflow
>
<template #month_edit="{ row }">
<vxe-input
v-model="row.month"
type="month"
value-format="yyyy/MM"
placeholder=""
transfer
></vxe-input>
</template>
<template #allArriveData_edit="{ row }">
<vxe-input
v-model="row.allArriveData"
type="date"
value-format="yyyy/MM/dd"
placeholder=""
transfer
></vxe-input>
</template>
</vxe-grid>
</el-row>
</div>
</template>
<script>
import {getDhjhAll, saveDhjh, removeDhjh} from '@/api/jhzx/pc'
export default {
name:'GxCD',
name:'Dhjh',
props:{
height:{
type:Number,

@ -1,9 +1,12 @@
<template>
<div class="mytable">
<el-button size="small" type="primary" @click="getList" >查询</el-button>
<el-button size="small" type="success" @click="add" >新增</el-button>
<el-button size="small" type="danger" @click="remove" >删除</el-button>
<el-button size="small" type="success" @click="saveGxcd" >保存</el-button>
<el-row style="width: 100%;text-align: right;margin-bottom: 3px">
<el-button size="small" type="primary" @click="getList" >查询</el-button>
<el-button size="small" type="success" @click="add" >新增</el-button>
<el-button size="small" type="danger" @click="remove" >删除</el-button>
<el-button size="small" type="success" @click="saveGxcd" >保存</el-button>
</el-row>
<el-row>
<vxe-grid
id="gxId"
ref="xGridGx"
@ -29,6 +32,7 @@
show-header-overflow
>
</vxe-grid>
</el-row>
</div>
</template>

@ -1,9 +1,12 @@
<template>
<div class="mytable">
<el-row style="width: 100%;text-align: right;margin-bottom: 3px">
<el-button size="small" type="primary" @click="getList" >查询</el-button>
<el-button size="small" type="success" @click="add" >新增</el-button>
<el-button size="small" type="danger" @click="remove" >删除</el-button>
<el-button size="small" type="success" @click="saveSbcn" >保存</el-button>
</el-row>
<el-row>
<vxe-grid
id="sbcnId"
ref="xGridSbcn"
@ -29,6 +32,7 @@
show-header-overflow
>
</vxe-grid>
</el-row>
</div>
</template>

@ -296,7 +296,7 @@
</template>
</vxe-modal>
<!-- 弹出层展示待确认项-->
<vxe-modal v-model="dialogVisible2" width="80%" :title="title2">
<vxe-modal v-model="dialogVisible2" width="80%" :title="title2" height="100%">
<template #default>
<el-row class="query_wrapper">
<el-steps :active="active" finish-status="success" align-center>

@ -502,7 +502,7 @@ export default {
}
},
getHeight() {
this.height = window.innerHeight - 180;
this.height = window.innerHeight - 230;
},
},
};

@ -683,7 +683,7 @@ export default {
}
},
getHeight() {
this.height = window.innerHeight - 180;
this.height = window.innerHeight - 230;
},
},
};

Loading…
Cancel
Save