LAPTOP-R6EHHS26\86155 7 months ago
commit d2b2a3d462

@ -11,8 +11,8 @@
<el-form-item label="生产时间" prop="productDateArray"> <el-form-item label="生产时间" prop="productDateArray">
<el-date-picker <el-date-picker
v-model="queryParams.productDateArray" v-model="queryParams.productDateArray"
format="yyyy-MM-dd HH:mm:ss" format="yyyy-MM-dd"
type="datetimerange" type="daterange"
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
@ -168,7 +168,7 @@ export default {
var y = dd.getFullYear(); var y = dd.getFullYear();
var m = dd.getMonth() + 1; // var m = dd.getMonth() + 1; //
var d = dd.getDate(); var d = dd.getDate();
return y + "-" + m + "-" + d ; return y + "-" + m + "-" + d + " 00:00:00";
}, },
/** 查询设备小时产量列表 */ /** 查询设备小时产量列表 */

@ -671,7 +671,7 @@ export default {
}, },
// //
onSelectWorkOrder(obj) { onSelectWorkOrder(obj) {
this.form.orderNo = obj.orderNo; this.form.orderNo = obj.workorderCode;
this.form.materialName = obj.materialName; this.form.materialName = obj.materialName;
this.form.materialCode = obj.materialCode; this.form.materialCode = obj.materialCode;
this.form.quality = obj.quality; this.form.quality = obj.quality;

Loading…
Cancel
Save