|
|
@ -720,7 +720,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// TODO 清空
|
|
|
|
// 清空
|
|
|
|
if (this.checkUpdate) {
|
|
|
|
if (this.checkUpdate) {
|
|
|
|
for (let i = 0; i < this.wetMaterialPlanList.length; i++){
|
|
|
|
for (let i = 0; i < this.wetMaterialPlanList.length; i++){
|
|
|
|
this.wetMaterialPlanList[i].materialName = null;
|
|
|
|
this.wetMaterialPlanList[i].materialName = null;
|
|
|
@ -745,7 +745,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// TODO 检验工单-物料-料罐
|
|
|
|
// 检验工单-物料-料罐
|
|
|
|
for (let i = 0; i < this.selectList.length; i++) {
|
|
|
|
for (let i = 0; i < this.selectList.length; i++) {
|
|
|
|
for (let j = 0; j < this.wetMaterialPlanList.length; j++) {
|
|
|
|
for (let j = 0; j < this.wetMaterialPlanList.length; j++) {
|
|
|
|
if (this.selectList[i].workorderCode == this.wetMaterialPlanList[j].workorderCode) {
|
|
|
|
if (this.selectList[i].workorderCode == this.wetMaterialPlanList[j].workorderCode) {
|
|
|
@ -783,7 +783,7 @@ export default {
|
|
|
|
this.bmsList.push(bms)
|
|
|
|
this.bmsList.push(bms)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO 将选择的信息放入newList
|
|
|
|
// 将选择的信息放入newList
|
|
|
|
for (let i = 0; i < this.selectList.length; i++) {
|
|
|
|
for (let i = 0; i < this.selectList.length; i++) {
|
|
|
|
|
|
|
|
|
|
|
|
// 创建一个新工单对象
|
|
|
|
// 创建一个新工单对象
|
|
|
@ -828,7 +828,7 @@ export default {
|
|
|
|
this.newWorkOrderList.push(workOrder)
|
|
|
|
this.newWorkOrderList.push(workOrder)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// // TODO 将选择的数据在上方的列表中删除
|
|
|
|
// // 将选择的数据在上方的列表中删除
|
|
|
|
for (let i = 0; i < this.selectList.length; i++) {
|
|
|
|
for (let i = 0; i < this.selectList.length; i++) {
|
|
|
|
for (let j = 0; j < this.wetMaterialPlanList.length; j++) {
|
|
|
|
for (let j = 0; j < this.wetMaterialPlanList.length; j++) {
|
|
|
|
if (this.selectList[i].workorderCode == this.wetMaterialPlanList[j].workorderCode) {
|
|
|
|
if (this.selectList[i].workorderCode == this.wetMaterialPlanList[j].workorderCode) {
|
|
|
@ -1248,7 +1248,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 修改-提交按钮 */
|
|
|
|
/** 修改-提交按钮 */
|
|
|
|
updateForm() {
|
|
|
|
updateForm() {
|
|
|
|
// TODO 必须全部修改
|
|
|
|
// 必须全部修改
|
|
|
|
for (let i = 0; i < this.wetMaterialPlanList.length; i++) {
|
|
|
|
for (let i = 0; i < this.wetMaterialPlanList.length; i++) {
|
|
|
|
if (this.wetMaterialPlanList[i].bucketName == null) {
|
|
|
|
if (this.wetMaterialPlanList[i].bucketName == null) {
|
|
|
|
this.$message({
|
|
|
|
this.$message({
|
|
|
|