Commit a5403819 authored by chenzj's avatar chenzj

工作中心查询页面修改

parent f7664204
...@@ -303,7 +303,7 @@ ...@@ -303,7 +303,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="所属工序" prop="processName"> <el-form-item label="所属工序" prop="processName">
<el-select v-model="form.process" placeholder="请选择工序" multiple> <el-select v-model="form.process" placeholder="请选择工序" multiple>
<el-option <el-option
...@@ -314,8 +314,14 @@ ...@@ -314,8 +314,14 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col> -->
<el-col :span="12">
<el-form-item label="转间时间" label-width="120px" prop="transferTime">
<el-input v-model="form.transferTime" placeholder="请输入转间时间">
<i slot="suffix" style="font-style:normal;margin-right: 10px; line-height: 30px; color: #1e1e1e">MIN</i>
</el-input>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="标准工时" prop="stdWorkingTime"> <el-form-item label="标准工时" prop="stdWorkingTime">
...@@ -403,13 +409,7 @@ ...@@ -403,13 +409,7 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="转间时间" label-width="120px" prop="transferTime">
<el-input v-model="form.transferTime" placeholder="请输入转间时间">
<i slot="suffix" style="font-style:normal;margin-right: 10px; line-height: 30px; color: #1e1e1e">MIN</i>
</el-input>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
...@@ -577,7 +577,6 @@ export default { ...@@ -577,7 +577,6 @@ export default {
//工序选项 //工序选项
processOptions: [], processOptions: [],
processList: [],
// 弹出层标题 // 弹出层标题
title: "", title: "",
// 是否显示弹出层 // 是否显示弹出层
...@@ -658,47 +657,9 @@ export default { ...@@ -658,47 +657,9 @@ export default {
}); });
}, },
getProcessList() {
listProcess().then((response) => {
this.processList = response.rows;
});
},
//获取仓库
// getWarehouseList() {
// getTreeList().then((response) => {
// this.warehouseOptions = response.data;
// this.warehouseOptions.map((w) => {
// w.children.map((l) => {
// let lstr = JSON.stringify(l.children)
// .replace(/locationId/g, "lId")
// .replace(/areaId/g, "pId")
// .replace(/areaName/g, "pName");
// l.children = JSON.parse(lstr);
// });
// let wstr = JSON.stringify(w.children)
// .replace(/warehouseId/g, "wId")
// .replace(/locationId/g, "pId")
// .replace(/locationName/g, "pName");
// w.children = JSON.parse(wstr);
// });
// let ostr = JSON.stringify(this.warehouseOptions)
// .replace(/warehouseId/g, "pId")
// .replace(/warehouseName/g, "pName");
// this.warehouseOptions = JSON.parse(ostr);
// });
// },
//选择默认的仓库、库区、库位
// handleWarehouseChanged(obj) {
// if (obj != null) {
// this.form.warehouseId = obj[0];
// this.form.locationId = obj[1];
// this.form.areaId = obj[2];
// }
// },
// 取消按钮 // 取消按钮
cancel() { cancel() {
this.open = false; this.open = false;
...@@ -781,7 +742,6 @@ export default { ...@@ -781,7 +742,6 @@ export default {
/** 新增按钮操作 */ /** 新增按钮操作 */
handleAdd() { handleAdd() {
this.reset(); this.reset();
this.getProcessList();
this.handleAutoGenChange(true); this.handleAutoGenChange(true);
this.getWorkshops(); this.getWorkshops();
this.open = true; this.open = true;
...@@ -792,7 +752,6 @@ export default { ...@@ -792,7 +752,6 @@ export default {
handleView(row) { handleView(row) {
this.reset(); this.reset();
this.getWorkshops(); this.getWorkshops();
this.getProcessList();
const workstationId = row.workstationId || this.ids; const workstationId = row.workstationId || this.ids;
getWorkstation(workstationId).then((response) => { getWorkstation(workstationId).then((response) => {
this.form = response.data; this.form = response.data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment