|
@@ -1351,14 +1351,9 @@ const pd_gdprintonClick = () => {
|
|
|
const oncjsbpcClick = async () => {
|
|
const oncjsbpcClick = async () => {
|
|
|
cjsbpcformData['sbdh'] = _machine.value;
|
|
cjsbpcformData['sbdh'] = _machine.value;
|
|
|
paichengData.value = [];
|
|
paichengData.value = [];
|
|
|
- await _EquipmentSchedulingdata();
|
|
|
|
|
- await _ScheduleSelectiondata();
|
|
|
|
|
|
|
+ _EquipmentSchedulingdata();
|
|
|
|
|
+ _ScheduleSelectiondata();
|
|
|
|
|
|
|
|
- paichengData.value.map((item, index) => {
|
|
|
|
|
- item['优先次序'] = 50 + index
|
|
|
|
|
- })
|
|
|
|
|
-
|
|
|
|
|
- handleDataSortAndSettingDate()
|
|
|
|
|
cjsbpclist.value = true;
|
|
cjsbpclist.value = true;
|
|
|
};
|
|
};
|
|
|
//调用班次选择列表接口
|
|
//调用班次选择列表接口
|
|
@@ -1402,6 +1397,11 @@ const _EquipmentSchedulingdata = async ()=>{
|
|
|
console.log(EquipmentSchedulingdata)
|
|
console.log(EquipmentSchedulingdata)
|
|
|
if (EquipmentSchedulingdata.code === 0) {
|
|
if (EquipmentSchedulingdata.code === 0) {
|
|
|
paichengData.value = EquipmentSchedulingdata.data
|
|
paichengData.value = EquipmentSchedulingdata.data
|
|
|
|
|
+ paichengData.value.map((item, index) => {
|
|
|
|
|
+ item['优先次序'] = 50 + index
|
|
|
|
|
+ })
|
|
|
|
|
+
|
|
|
|
|
+ handleDataSortAndSettingDate()
|
|
|
}
|
|
}
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
console.error(error);
|
|
console.error(error);
|