优化页面

This commit is contained in:
liumingxiy 2024-11-15 17:32:27 +08:00
parent 9b9f196139
commit 7de3d51762

View File

@ -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() {