|
|
@ -803,26 +803,28 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
this.bmsList.push(bms)
|
|
|
|
this.bmsList.push(bms)
|
|
|
|
|
|
|
|
|
|
|
|
// 创建一个新工单对象
|
|
|
|
|
|
|
|
var workOrder = {
|
|
|
|
|
|
|
|
productName: null,
|
|
|
|
|
|
|
|
factoryCode: null,
|
|
|
|
|
|
|
|
workorderId: null,
|
|
|
|
|
|
|
|
workorderCode: null,
|
|
|
|
|
|
|
|
bucketId: null,
|
|
|
|
|
|
|
|
bucketCode: null,
|
|
|
|
|
|
|
|
bucketName: null,
|
|
|
|
|
|
|
|
materialId: null,
|
|
|
|
|
|
|
|
materialCode: null,
|
|
|
|
|
|
|
|
materialName: null,
|
|
|
|
|
|
|
|
shiftId: null,
|
|
|
|
|
|
|
|
shiftDesc: null,
|
|
|
|
|
|
|
|
planTime: null,
|
|
|
|
|
|
|
|
productDate: null,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 将选择的信息放入newList
|
|
|
|
// 将选择的信息放入newList
|
|
|
|
for (let i = 0; i < this.selectList.length; i++) {
|
|
|
|
for (let i = 0; i < this.selectList.length; i++) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 创建一个新工单对象
|
|
|
|
|
|
|
|
var workOrder = {
|
|
|
|
|
|
|
|
productName: null,
|
|
|
|
|
|
|
|
factoryCode: null,
|
|
|
|
|
|
|
|
workorderId: null,
|
|
|
|
|
|
|
|
workorderCode: null,
|
|
|
|
|
|
|
|
bucketId: null,
|
|
|
|
|
|
|
|
bucketCode: null,
|
|
|
|
|
|
|
|
bucketName: null,
|
|
|
|
|
|
|
|
materialId: null,
|
|
|
|
|
|
|
|
materialCode: null,
|
|
|
|
|
|
|
|
materialName: null,
|
|
|
|
|
|
|
|
shiftId: null,
|
|
|
|
|
|
|
|
shiftDesc: null,
|
|
|
|
|
|
|
|
planTime: null,
|
|
|
|
|
|
|
|
productDate: null,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
workOrder.bucketCode = bucket.bucketCode;
|
|
|
|
workOrder.bucketCode = bucket.bucketCode;
|
|
|
|
workOrder.bucketId = bucket.bucketId;
|
|
|
|
workOrder.bucketId = bucket.bucketId;
|
|
|
|
workOrder.bucketName = bucket.bucketName;
|
|
|
|
workOrder.bucketName = bucket.bucketName;
|
|
|
|