优化页面
This commit is contained in:
parent
9b9f196139
commit
7de3d51762
@ -208,21 +208,21 @@
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="料箱编码" prop="boxCode">
|
||||
<el-input v-model="bindForm.boxCode" placeholder="请输入料箱编码"/>
|
||||
<el-input v-model="bindForm.boxCode" clearable placeholder="请输入料箱编码"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="物料编码" prop="itemCode">
|
||||
<el-input v-model="bindForm.itemCode" placeholder="请输入物料编码"/>
|
||||
<el-input v-model="bindForm.itemCode" clearable placeholder="请输入物料编码"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitBindForm">绑 定</el-button>
|
||||
<el-button @click="openBind=false">取 消</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
@ -231,21 +231,21 @@
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="料箱编码" prop="boxCode">
|
||||
<el-input v-model="unbindForm.boxCode" placeholder="请输入料箱编码"/>
|
||||
<el-input v-model="unbindForm.boxCode" clearable placeholder="请输入料箱编码"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="物料编码" prop="itemCode">
|
||||
<el-input v-model="unbindForm.itemCode" placeholder="请输入物料编码"/>
|
||||
<el-input v-model="unbindForm.itemCode" clearable placeholder="请输入物料编码"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitUnbindForm">解 绑</el-button>
|
||||
<el-button @click="openUnbind=false">取 消</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@ -380,6 +380,8 @@ export default {
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false;
|
||||
this.openBind = false;
|
||||
this.openUnbind = false;
|
||||
this.reset();
|
||||
},
|
||||
// 表单重置
|
||||
@ -389,9 +391,19 @@ export default {
|
||||
code: null,
|
||||
type: null,
|
||||
};
|
||||
this.bindForm = {
|
||||
boxCode: null,
|
||||
itemCode: null
|
||||
};
|
||||
this.unbindForm = {
|
||||
boxCode: null,
|
||||
itemCode: null
|
||||
};
|
||||
this.baseKnifeList = []
|
||||
this.checkedBaseKnife = []
|
||||
this.resetForm("form");
|
||||
this.resetForm("bindForm");
|
||||
this.resetForm("unbindForm");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
|
Loading…
Reference in New Issue
Block a user