工艺管理-生产工序

yangwl
A0010407 1 year ago
parent 9be9335e55
commit 3a58401405

@ -51,3 +51,29 @@ export function delProcess(processId) {
method: 'delete' method: 'delete'
}) })
} }
// 查询设备管理列表
export function listEquipment(query) {
return request({
url: '/technology/pro/process/selectEquipmentList',
method: 'get',
params: query
});
}
// 查询设备管理详细
export function getEquipment(equipmentId) {
return request({
url: '/technology/pro/process/e/' + equipmentId,
method: 'get'
});
}
// 查询BOM物料管理列表
export function listBom(query) {
return request({
url: '/technology/pro/process/bomList',
method: 'get',
params: query
});
}

@ -224,6 +224,23 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="8">
<el-form-item label="参数1温度" prop="param1">
<el-input v-model="form.param1" type="input" placeholder="请输入温度" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="参数2湿度" prop="param2">
<el-input v-model="form.param2" type="input" placeholder="请输入湿度" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="参数3" prop="param3">
<el-input v-model="form.param3" type="input" placeholder="请输入参数3" />
</el-form-item>
</el-col>
</el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="工序SOP" prop="fileList"> <el-form-item label="工序SOP" prop="fileList">
@ -334,8 +351,7 @@
</template> </template>
<script> <script>
import { listProcess, getProcess, delProcess, addProcess, updateProcess } from "@/api/technology/process"; import { listProcess, getProcess, delProcess, addProcess, updateProcess ,listEquipment,getEquipment} from "@/api/technology/process";
import { listEquipment, getEquipment, delEquipment, addEquipment, updateEquipment } from "@/api/wms/equipment";
import Processcontent from "./content.vue"; import Processcontent from "./content.vue";
import ItemSelect from "./single.vue"; import ItemSelect from "./single.vue";
@ -382,7 +398,7 @@ export default {
// //
showSearch: true, showSearch: true,
// //
total: 0, total:0,
// //
processList:[], processList:[],
equipmentList:[], equipmentList:[],

@ -64,7 +64,7 @@
</el-table> </el-table>
<pagination <pagination
v-show="total>0" v-show="total > 0"
:total="total" :total="total"
:page.sync="queryParams.pageNum" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
@ -80,7 +80,7 @@
</template> </template>
<script> <script>
import { listEquipment, getEquipment, delEquipment, addEquipment, updateEquipment } from "@/api/wms/equipment"; import { listProcess, getProcess, delProcess, addProcess, updateProcess ,listEquipment,getEquipment} from "@/api/technology/process";
import { treeselect } from "@/api/wms/equipment"; import { treeselect } from "@/api/wms/equipment";
// import Treeselect from "@riophae/vue-treeselect"; // import Treeselect from "@riophae/vue-treeselect";
// import "@riophae/vue-treeselect/dist/vue-treeselect.css"; // import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@ -122,7 +122,7 @@ export default {
// //
showSearch: true, showSearch: true,
// //
total: 0, total:0,
// //
itemList: null, itemList: null,
// //

@ -78,10 +78,7 @@
</template> </template>
<script> <script>
import { listBom, getBom, delBom, addBom, updateBom } from "@/api/wms/bom"; import {listBom} from "@/api/technology/process";
// import Treeselect from "@riophae/vue-treeselect";
// import "@riophae/vue-treeselect/dist/vue-treeselect.css";
export default { export default {
name: "ItemSingleBom", name: "ItemSingleBom",
// components: { Treeselect }, // components: { Treeselect },

Loading…
Cancel
Save