Commit 08208291 authored by 周远喜's avatar 周远喜

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents c8ed0b19 63313342
...@@ -740,7 +740,7 @@ textarea::-webkit-input-placeholder { ...@@ -740,7 +740,7 @@ textarea::-webkit-input-placeholder {
// 纵横树的样式 // 纵横树的样式
.zh-tree { .zh-tree {
position: relative; // position: relative;
display: block; display: block;
width: 250px; width: 250px;
float: left; float: left;
...@@ -762,15 +762,15 @@ textarea::-webkit-input-placeholder { ...@@ -762,15 +762,15 @@ textarea::-webkit-input-placeholder {
} }
.zh-box { .zh-box {
height: 100%-210px;
width: 100%; width: 100%;
overflow-y: auto; height: 100%;
// overflow-y: auto;
padding: 15px; padding: 15px;
margin-bottom: -5000px; // margin-bottom: -5000px;
padding-bottom: 5000px; // padding-bottom: 5000px;
// .tree-content { // .tree-content {
// //color:#fff; // overflow-y: auto;
// } // }
} }
} }
......
...@@ -8,8 +8,7 @@ ...@@ -8,8 +8,7 @@
:type="expand ? 'md-arrow-dropright' : 'md-arrow-dropdown'" :type="expand ? 'md-arrow-dropright' : 'md-arrow-dropdown'"
size="16" size="16"
@click="toggle" @click="toggle"
title="展开/合并" title="展开/合并"/>
/>
</Button> </Button>
<Button> <Button>
<Icon type="md-refresh" size="16" @click="loadTree" title="刷新" /> <Icon type="md-refresh" size="16" @click="loadTree" title="刷新" />
......
...@@ -8774,8 +8774,7 @@ ...@@ -8774,8 +8774,7 @@
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
"integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
"dev": true, "dev": true
"optional": true
}, },
"figures": { "figures": {
"version": "2.0.0", "version": "2.0.0",
...@@ -8803,7 +8802,6 @@ ...@@ -8803,7 +8802,6 @@
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
"integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "^3.0.0" "ansi-regex": "^3.0.0"
} }
...@@ -9454,8 +9452,7 @@ ...@@ -9454,8 +9452,7 @@
"dependencies": { "dependencies": {
"deepmerge": { "deepmerge": {
"version": "2.2.1", "version": "2.2.1",
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-2.2.1.tgz", "bundled": true
"integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA=="
} }
} }
}, },
...@@ -15222,8 +15219,7 @@ ...@@ -15222,8 +15219,7 @@
"version": "4.0.8", "version": "4.0.8",
"resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz",
"integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=",
"dev": true, "dev": true
"optional": true
}, },
"rx-lite-aggregates": { "rx-lite-aggregates": {
"version": "4.0.8", "version": "4.0.8",
...@@ -18450,8 +18446,7 @@ ...@@ -18450,8 +18446,7 @@
}, },
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true, "bundled": true
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.2.0", "version": "1.2.0",
...@@ -18488,8 +18483,7 @@ ...@@ -18488,8 +18483,7 @@
}, },
"code-point-at": { "code-point-at": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true
"optional": true
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
...@@ -18498,8 +18492,7 @@ ...@@ -18498,8 +18492,7 @@
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true
"optional": true
}, },
"core-util-is": { "core-util-is": {
"version": "1.0.2", "version": "1.0.2",
...@@ -18602,8 +18595,7 @@ ...@@ -18602,8 +18595,7 @@
}, },
"inherits": { "inherits": {
"version": "2.0.4", "version": "2.0.4",
"bundled": true, "bundled": true
"optional": true
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.5",
...@@ -18613,7 +18605,6 @@ ...@@ -18613,7 +18605,6 @@
"is-fullwidth-code-point": { "is-fullwidth-code-point": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
...@@ -18626,20 +18617,17 @@ ...@@ -18626,20 +18617,17 @@
"minimatch": { "minimatch": {
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }
}, },
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"bundled": true, "bundled": true
"optional": true
}, },
"minipass": { "minipass": {
"version": "2.9.0", "version": "2.9.0",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"safe-buffer": "^5.1.2", "safe-buffer": "^5.1.2",
"yallist": "^3.0.0" "yallist": "^3.0.0"
...@@ -18656,7 +18644,6 @@ ...@@ -18656,7 +18644,6 @@
"mkdirp": { "mkdirp": {
"version": "0.5.1", "version": "0.5.1",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"minimist": "0.0.8" "minimist": "0.0.8"
} }
...@@ -18737,8 +18724,7 @@ ...@@ -18737,8 +18724,7 @@
}, },
"number-is-nan": { "number-is-nan": {
"version": "1.0.1", "version": "1.0.1",
"bundled": true, "bundled": true
"optional": true
}, },
"object-assign": { "object-assign": {
"version": "4.1.1", "version": "4.1.1",
...@@ -18748,7 +18734,6 @@ ...@@ -18748,7 +18734,6 @@
"once": { "once": {
"version": "1.4.0", "version": "1.4.0",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"wrappy": "1" "wrappy": "1"
} }
...@@ -18824,8 +18809,7 @@ ...@@ -18824,8 +18809,7 @@
}, },
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"bundled": true, "bundled": true
"optional": true
}, },
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
...@@ -18855,7 +18839,6 @@ ...@@ -18855,7 +18839,6 @@
"string-width": { "string-width": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"code-point-at": "^1.0.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0", "is-fullwidth-code-point": "^1.0.0",
...@@ -18873,7 +18856,6 @@ ...@@ -18873,7 +18856,6 @@
"strip-ansi": { "strip-ansi": {
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
...@@ -18912,13 +18894,11 @@ ...@@ -18912,13 +18894,11 @@
}, },
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true
"optional": true
}, },
"yallist": { "yallist": {
"version": "3.1.1", "version": "3.1.1",
"bundled": true, "bundled": true
"optional": true
} }
} }
}, },
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
</Col> </Col>
</Row> </Row>
<Row> <Row>
<Col span="8"> <Col span="8">
<FormItem label="数量" style="width:100%" prop="quantity"> <FormItem label="数量" style="width:100%" prop="quantity">
<InputNumber :min="0" v-model="orderSearchForm.quantity" style="width:240px"></InputNumber> <InputNumber :min="0" v-model="orderSearchForm.quantity" style="width:240px"></InputNumber>
...@@ -72,7 +71,7 @@ ...@@ -72,7 +71,7 @@
<Input v-model="orderSearchForm.projectNumber" style="width:240px" /> <Input v-model="orderSearchForm.projectNumber" style="width:240px" />
</FormItem> </FormItem>
</Col> </Col>
<Col span="8"> <Col span="8">
<FormItem label="批次号" style="width:100%"> <FormItem label="批次号" style="width:100%">
<Input v-model="orderSearchForm.batchNumber" style="width:240px" /> <Input v-model="orderSearchForm.batchNumber" style="width:240px" />
</FormItem> </FormItem>
...@@ -90,7 +89,7 @@ ...@@ -90,7 +89,7 @@
<Row> <Row>
<Col span="24"> <Col span="24">
<FormItem label="任务节点要求" style="width:100%"> <FormItem label="任务节点要求" style="width:100%">
<Input v-model="orderSearchForm.taskRequire" placeholder /> <Input v-model="orderSearchForm.taskRequire" placeholder />
</FormItem> </FormItem>
</Col> </Col>
<Col span="24"> <Col span="24">
...@@ -169,20 +168,20 @@ export default { ...@@ -169,20 +168,20 @@ export default {
type: "number", type: "number",
trigger: "change" trigger: "change"
} }
], ]
}, },
disabled:false, disabled: false
}; };
}, },
mounted(){ mounted() {
this.loadTree() this.loadTree();
}, },
methods: { methods: {
handleSubmit() { handleSubmit() {
this.$refs.formValidate.validate(v => { this.$refs.formValidate.validate(v => {
if (v) { if (v) {
this.disabled = true; this.disabled = true;
this.orderSearchForm.status=1 this.orderSearchForm.status = 1;
Api.mesplancreate(this.orderSearchForm) Api.mesplancreate(this.orderSearchForm)
.then(r => { .then(r => {
this.disabled = false; this.disabled = false;
...@@ -202,7 +201,7 @@ export default { ...@@ -202,7 +201,7 @@ export default {
}); });
}, },
handleClose() { handleClose() {
this.resetFields() this.resetFields();
this.$emit("on-close"); this.$emit("on-close");
}, },
l(key) { l(key) {
...@@ -225,33 +224,20 @@ export default { ...@@ -225,33 +224,20 @@ export default {
} }
}, },
resetFields() { resetFields() {
this.orderSearchForm = { this.orderSearchForm = {
productId: null, //产品id productId: null, //产品id
productName: "", //产品名称 productName: "", //产品名称
drawnNumber: null, //图号 drawnNumber: null, //图号
taskType: null, //任务类型 taskType: null, //任务类型
stage: null, //阶段 quantity: 1, //数量
materialId: null, //材料 taskRequire: "", //任务接点要求
quantity: 1, //数量 demandStartDate: this.getFormatDate(nowDate), //开始时间
guestName: "", //甲方客户 demandFinishDate: this.getFormatDateEnd(tomorrowDate), //完成时间
printSupply: "", //3D打印承制单位 remark: "", //备注
functionaryOffice: "", //厂内责任机关 projectNumber: "", //项目号
mainDepartmentId: "", //厂内责任主体部门ID batchNumber: "", //批次号
taskRequire: "", //任务接点要求 urgencyLevel: null //紧急程度
putintDocmentCode: "", //甲方投产输入文件编号 };
technologyDocmentCode: "", //甲方技术输入文件编号
outerDrawnNumber: "", //外部图号/模型号
modelVersion: "", //模型版本
taskCode: "", //甲方任务号
designer: "", //甲方设计人员
officeFunctionary: "", //厂内机关负责人
mainRoutingPeople: "", //厂内主工艺人员
routing_Method: null, //工艺方法
outer_Envelope_Size: "", //包装尺寸
demandStartDate: this.getFormatDate(nowDate), //开始时间
demandFinishDate: this.getFormatDate(tomorrowDate), //完成时间
remark: "" //备注
};
}, },
loadTree() { loadTree() {
//打开新增订单窗口加载产品 //打开新增订单窗口加载产品
...@@ -312,7 +298,8 @@ export default { ...@@ -312,7 +298,8 @@ export default {
"-" + "-" +
this.p(d.getMonth() + 1) + this.p(d.getMonth() + 1) +
"-" + "-" +
this.p(d.getDate())+ " 00:00:01"; this.p(d.getDate()) +
" 00:00:01";
return resDate; return resDate;
}, },
getFormatDateEnd(dates) { getFormatDateEnd(dates) {
...@@ -322,13 +309,14 @@ export default { ...@@ -322,13 +309,14 @@ export default {
"-" + "-" +
this.p(d.getMonth() + 1) + this.p(d.getMonth() + 1) +
"-" + "-" +
this.p(d.getDate())+ " 23:59:59"; this.p(d.getDate()) +
" 23:59:59";
return resDate; return resDate;
}, },
p(s) { p(s) {
return s < 10 ? "0" + s : s; return s < 10 ? "0" + s : s;
} }
//时间相关end //时间相关end
} }
}; };
</script> </script>
...@@ -200,7 +200,7 @@ export default { ...@@ -200,7 +200,7 @@ export default {
"certificateUploadPath": this.setNumForm.imgName, "certificateUploadPath": this.setNumForm.imgName,
}; };
service.post(`${url}`,parmse).then((res) => { service.post(`${url}`,parmse).then((res) => {
if(res.status == 200){ if(res.success){
this.$Message.success('订单已复验。') this.$Message.success('订单已复验。')
this.detailModal = false; this.detailModal = false;
this.$refs.grid.load() this.$refs.grid.load()
......
...@@ -9,15 +9,15 @@ ...@@ -9,15 +9,15 @@
<MenuItem name="2" replace> <MenuItem name="2" replace>
主工艺 主工艺
</MenuItem> </MenuItem>
<MenuItem name="3" replace> <!-- <MenuItem name="3" replace>
专业工艺 专业工艺
</MenuItem> </MenuItem> -->
</Menu> </Menu>
</Col> </Col>
<Col span="20" class="revieweBox"> <Col span="20" class="revieweBox">
<basicView ref="basicView" :baseData="basicData" v-show="basicmodal"/> <basicView ref="basicView" :baseData="basicData" v-show="basicmodal"/>
<mainView ref="mainView" :baseData="basicData" v-show="mainmodal" /> <mainView ref="mainView" :baseData="basicData" v-show="mainmodal" />
<dispatched ref="dispatched" :baseData="basicData" v-show="dispatchedmodal"/> <!-- <dispatched ref="dispatched" :baseData="basicData" v-show="dispatchedmodal"/> -->
</Col> </Col>
</Row> </Row>
</div> </div>
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
loaddata(pamasId){ loaddata(pamasId){
this.basicmodal=true; this.basicmodal=true;
this.mainmodal= false; this.mainmodal= false;
this.dispatchedmodal= false; // this.dispatchedmodal= false;
// console.warn(pamasId) 获取主工艺信息 10030 // console.warn(pamasId) 获取主工艺信息 10030
let url = `${designUrl}/orderrouting/getordersheaderinfo?orderId=` + pamasId; let url = `${designUrl}/orderrouting/getordersheaderinfo?orderId=` + pamasId;
if(pamasId){ if(pamasId){
...@@ -161,18 +161,19 @@ export default { ...@@ -161,18 +161,19 @@ export default {
if(v==2){ if(v==2){
this.basicmodal= false; this.basicmodal= false;
this.mainmodal= true; this.mainmodal= true;
this.dispatchedmodal= false; // this.dispatchedmodal= false;
this.$refs.mainView.getqc(this.mainexecuteid); this.$refs.mainView.getqc(this.mainexecuteid);
}else if(v==3){ }
this.basicmodal= false; // else if(v==3){
this.mainmodal= false; // this.basicmodal= false;
this.dispatchedmodal= true; // this.mainmodal= false;
 this.$refs.dispatched.getqc(this.disexecuteid); // // this.dispatchedmodal= true;
}else{ //  this.$refs.dispatched.getqc(this.disexecuteid);
// }
else{
this.basicmodal= true; this.basicmodal= true;
this.mainmodal= false; this.mainmodal= false;
this.dispatchedmodal= false; // this.dispatchedmodal= false;
} }
}, },
}, },
......
...@@ -5,7 +5,10 @@ ...@@ -5,7 +5,10 @@
<h3 class="zh-title">组织架构</h3> <h3 class="zh-title">组织架构</h3>
<div class="zh-box"> <div class="zh-box">
<Input search placeholder="请输入查询条件" clearable v-model="treeInputSearch" /> <Input search placeholder="请输入查询条件" clearable v-model="treeInputSearch" />
<Tree :data="searchList" class="tree-content" @on-select-change="selectTreeNode"></Tree> <Tree :data="searchList"
:style="{height:(treeHeight-115)+'px'}"
style="overflow-y:auto;overflow-x:hiden;width:215px;"
@on-select-change="selectTreeNode"></Tree>
</div> </div>
</div> </div>
<!-- 右侧内容 --> <!-- 右侧内容 -->
...@@ -572,8 +575,8 @@ export default { ...@@ -572,8 +575,8 @@ export default {
"op", "op",
{ {
attrs: { attrs: {
oprate: "detail", oprate: "edit",
class: "edit", // class: "edit",
title: "编辑" title: "编辑"
}, },
on: { on: {
...@@ -1068,11 +1071,9 @@ export default { ...@@ -1068,11 +1071,9 @@ export default {
this.formItemMain1.actual_finish = this.atimee; this.formItemMain1.actual_finish = this.atimee;
this.formItemMain1.failure_notes = this.failurenotes; this.formItemMain1.failure_notes = this.failurenotes;
} }
console.log(this.formItemMain1.plan_start); console.log(this.formItemMain1.plan_start);
}, },
saveOkBack() { saveOkBack() {
// console.log(str);
let url = `${systemUrl}/equipmaintainplan/createorupdate`; let url = `${systemUrl}/equipmaintainplan/createorupdate`;
let paramsdata = { let paramsdata = {
id: this.eid1, id: this.eid1,
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</template> </template>
</DataGrid> </DataGrid>
<Modal v-model="editModal" title="编辑" footer-hide> <Modal v-model="editModal" title="设置日历" footer-hide>
<Set :eid="curId" @on-close="cancel" @on-ok="addOk" /> <Set :eid="curId" @on-close="cancel" @on-ok="addOk" />
</Modal> </Modal>
......
...@@ -97,8 +97,8 @@ export default { ...@@ -97,8 +97,8 @@ export default {
Api.get({ id: v }).then(r => { Api.get({ id: v }).then(r => {
this.formItem.equip_name = r.result.title; this.formItem.equip_name = r.result.title;
this.formItem.equip_id = r.result.code; this.formItem.equip_id = r.result.code;
this.formItem1.equip_pk = r.result.id; this.formItem1.calendarwork_pk = r.result.calKey;
this.formItem2.equip_pk = r.result.id; this.formItem2.calendarovertime_pk = r.result.holidayKey;
}); });
}, },
handleSubmit() { handleSubmit() {
......
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
</template> </template>
<script> <script>
import Api from "./api";
export default { export default {
layout:"empty", layout:"empty",
components: {}, components: {},
......
<template> <template>
<div> <div>
{{info}}
<DataGrid :columns="columns" ref="grid" :action="action"> <DataGrid :columns="columns" ref="grid" :action="action">
<template slot="easySearch"> <template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline> <Form ref="formInline" :model="easySearch" inline>
...@@ -39,6 +40,9 @@ export default { ...@@ -39,6 +40,9 @@ export default {
author: "henq", author: "henq",
description: "routing_qc_card 4/27/2020 10:31:00 AM" description: "routing_qc_card 4/27/2020 10:31:00 AM"
}, },
props: {
info: { type: String }
},
data() { data() {
return { return {
action: Api.index, action: Api.index,
......
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