|
|
@@ -142,7 +142,7 @@
|
|
|
import {
|
|
|
listWorkshopByParentId,
|
|
|
saveOrUpdate_gw,
|
|
|
- listFactoryLineByParentId,
|
|
|
+ listFactoryLine,
|
|
|
getById
|
|
|
} from '@/api/factoryModel';
|
|
|
import { getUserPage } from '@/api/system/organization';
|
|
|
@@ -240,11 +240,12 @@ export default {
|
|
|
message: '请输入',
|
|
|
trigger: 'change'
|
|
|
},
|
|
|
- 'extInfo.taskNames': {
|
|
|
+ 'taskNames': {
|
|
|
required: true,
|
|
|
- message: '请输入',
|
|
|
+ message: '请选择',
|
|
|
trigger: 'change'
|
|
|
},
|
|
|
+
|
|
|
productionLineId: {
|
|
|
required: true,
|
|
|
message: '请输入',
|
|
|
@@ -455,7 +456,7 @@ export default {
|
|
|
// 获取产线
|
|
|
getlistFactoryLineByParentId() {
|
|
|
|
|
|
- listFactoryLineByParentId(this.form.extInfo.workshopId).then((res) => {
|
|
|
+ listFactoryLine([this.form.extInfo.workshopId]).then((res) => {
|
|
|
console.log(res);
|
|
|
this.options.productionLineId = res;
|
|
|
});
|