优化sql
This commit is contained in:
parent
aef91a2825
commit
b447b78104
@ -776,6 +776,34 @@ watch(
|
||||
}
|
||||
);
|
||||
watches.push(unwatchDeviceModel);
|
||||
//预计开始时间
|
||||
const unwatchStartTime = watch(
|
||||
() => detail.deviceModel,
|
||||
(newStartTime) => {
|
||||
console.log(`第 ${index + 1} 行的预计开始时间变化为: ${newStartTime}`);
|
||||
console.log("detail==", detail);
|
||||
if (detail.startTime) {
|
||||
//设置派工类型
|
||||
detail.dispatchTypes = "ASSEMBLE";
|
||||
openDialogWT(detail);
|
||||
}
|
||||
}
|
||||
);
|
||||
watches.push(unwatchStartTime);
|
||||
//预计结束时间
|
||||
const unwatchEndTime = watch(
|
||||
() => detail.deviceModel,
|
||||
(newEndTime) => {
|
||||
console.log(`第 ${index + 1} 行的预计结束时间变化为: ${newEndTime}`);
|
||||
console.log("detail==", detail);
|
||||
if (detail.startTime) {
|
||||
//设置派工类型
|
||||
detail.dispatchTypes = "ASSEMBLE";
|
||||
openDialogWT(detail);
|
||||
}
|
||||
}
|
||||
);
|
||||
watches.push(unwatchEndTime);
|
||||
});
|
||||
}, {
|
||||
deep: true
|
||||
|
Loading…
Reference in New Issue
Block a user