|
@@ -78,6 +78,7 @@
|
|
|
<template v-if="item.slot">
|
|
|
<template v-if="item.prop == 'orderMaterialWeight'">
|
|
|
<el-input
|
|
|
+ style="width:250px"
|
|
|
v-model.number="scope.row.orderMaterialWeight"
|
|
|
></el-input>
|
|
|
</template>
|
|
@@ -98,21 +99,22 @@
|
|
|
</el-table>
|
|
|
</div>
|
|
|
<!-- 模态窗口 -->
|
|
|
- <el-drawer :visible.sync="drawer" :direction="direction" size="30%">
|
|
|
- <el-input
|
|
|
+ <el-drawer :visible.sync="drawer" :direction="direction" size="40%">
|
|
|
+ <div style="margin-bottom: 10px;">
|
|
|
+ <el-input
|
|
|
placeholder="请输入内容"
|
|
|
v-model="input"
|
|
|
- style="margin-top: 10px; margin-left: 20px;width:160px"
|
|
|
+ style="margin-top: 10px;margin-right: 10px;width:250px;"
|
|
|
clearable
|
|
|
></el-input>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
class="btn"
|
|
|
@click="onclick(a)"
|
|
|
- style="margin-bottom: 15px"
|
|
|
>
|
|
|
<i class="el-icon-search"></i>查询
|
|
|
</el-button>
|
|
|
+ </div>
|
|
|
<div v-show="a == 1">
|
|
|
<dilTable
|
|
|
v-bind.sync="frist"
|
|
@@ -244,6 +246,13 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
},
|
|
|
+ watch:{
|
|
|
+ drawer(val){
|
|
|
+ if(!val){
|
|
|
+ this.input = null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
onClick(index) {
|
|
|
this.selectionList.splice(index, 1);
|
|
@@ -493,6 +502,7 @@ export default {
|
|
|
.material {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
+ margin-top: 20px;
|
|
|
.text {
|
|
|
display: inline-block;
|
|
|
width: 170px;
|