Commit 3baca635 authored by renjintao's avatar renjintao

order/add/params

parent 9584543b
......@@ -37,7 +37,6 @@
</Col>
</Row>
<Row>
<Col span="8">
<FormItem label="数量" style="width:100%" prop="quantity">
<InputNumber :min="0" v-model="orderSearchForm.quantity" style="width:240px"></InputNumber>
......@@ -169,20 +168,20 @@ export default {
type: "number",
trigger: "change"
}
],
]
},
disabled:false,
disabled: false
};
},
mounted(){
this.loadTree()
mounted() {
this.loadTree();
},
methods: {
handleSubmit() {
this.$refs.formValidate.validate(v => {
if (v) {
this.disabled = true;
this.orderSearchForm.status=1
this.orderSearchForm.status = 1;
Api.mesplancreate(this.orderSearchForm)
.then(r => {
this.disabled = false;
......@@ -202,7 +201,7 @@ export default {
});
},
handleClose() {
this.resetFields()
this.resetFields();
this.$emit("on-close");
},
l(key) {
......@@ -230,27 +229,14 @@ export default {
productName: "", //产品名称
drawnNumber: null, //图号
taskType: null, //任务类型
stage: null, //阶段
materialId: null, //材料
quantity: 1, //数量
guestName: "", //甲方客户
printSupply: "", //3D打印承制单位
functionaryOffice: "", //厂内责任机关
mainDepartmentId: "", //厂内责任主体部门ID
taskRequire: "", //任务接点要求
putintDocmentCode: "", //甲方投产输入文件编号
technologyDocmentCode: "", //甲方技术输入文件编号
outerDrawnNumber: "", //外部图号/模型号
modelVersion: "", //模型版本
taskCode: "", //甲方任务号
designer: "", //甲方设计人员
officeFunctionary: "", //厂内机关负责人
mainRoutingPeople: "", //厂内主工艺人员
routing_Method: null, //工艺方法
outer_Envelope_Size: "", //包装尺寸
demandStartDate: this.getFormatDate(nowDate), //开始时间
demandFinishDate: this.getFormatDate(tomorrowDate), //完成时间
remark: "" //备注
demandFinishDate: this.getFormatDateEnd(tomorrowDate), //完成时间
remark: "", //备注
projectNumber: "", //项目号
batchNumber: "", //批次号
urgencyLevel: null //紧急程度
};
},
loadTree() {
......@@ -312,7 +298,8 @@ export default {
"-" +
this.p(d.getMonth() + 1) +
"-" +
this.p(d.getDate())+ " 00:00:01";
this.p(d.getDate()) +
" 00:00:01";
return resDate;
},
getFormatDateEnd(dates) {
......@@ -322,7 +309,8 @@ export default {
"-" +
this.p(d.getMonth() + 1) +
"-" +
this.p(d.getDate())+ " 23:59:59";
this.p(d.getDate()) +
" 23:59:59";
return resDate;
},
p(s) {
......
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