Commit a5a983b0 authored by renjintao's avatar renjintao

aps

parent cdc5aad4
This diff is collapsed.
......@@ -455,44 +455,6 @@ export default {
this.data1 = res.result;
}
});
//加载数据
//alert(id);
// let arr1 = {
// id: '1',
// op_task_pk: '001',
// part_task_pk: '001',
// task_seq: '1',
// task_name: '测试工序1',
// put_into_qty: '10',
// plan_start: '04/05/2020',
// plan_finish: '06/05/2020',
// setup_time: '5',
// run_time: '1',
// transport_time: '1',
// check_time: '1',
// efficiency_value: '0.5',
// singleout: '2',
// first_equip: 'NTY-0012',
// equip_type: '加工设备',
// cal_id: '日历id',
// machine_rule: '优先',
// plan_method: '是',
// over_time: '1',
// isdiscrete: '是',
// discrete_value: '1.2',
// multi_machine: '5',
// notes: '暂无备注信息test',
// insert_flag: 1,
// outside_time: '04/06/2020',
// taskseq_des: '',
// workshopcode: '',
// routing_detail_id: '',
// routing_header_id: '',
// comb_param: '',
// rule_qty: ''
// }
// this.data1.push(arr1)
},
//插单事件start----
......
......@@ -61,48 +61,48 @@ export default {
deletelModal: false,
apsModal: false,
list: [
{
id: 1,
part_task_pk: '2092',
priority: '1',
plan_qty: '6',
spare_qty: '0',
plan_start: '13/03/2020',
plan_finish: '06/04/2020',
notes: '',
demand_start: '17/01/2020',
demand_finish: '24/01/2020',
insert_flag: 0,
badjustflag: '0'
},
{
id: 2,
part_task_pk: '2095',
priority: '2',
plan_qty: '7',
spare_qty: '0',
plan_start: '13/03/2020',
plan_finish: '09/04/2020',
notes: 'null',
demand_start: '17/01/2020',
demand_finish: '24/01/2020',
insert_flag: 1,
badjustflag: '0'
},
{
id: 3,
part_task_pk: '2096',
priority: '3',
plan_qty: '9',
spare_qty: '0',
plan_start: '13/03/2020',
plan_finish: '26/03/2020',
notes: 'null',
demand_start: '20/01/2020',
demand_finish: '24/01/2020',
insert_flag: 0,
badjustflag: '0'
}
// {
// id: 1,
// part_task_pk: '2092',
// priority: '1',
// plan_qty: '6',
// spare_qty: '0',
// plan_start: '13/03/2020',
// plan_finish: '06/04/2020',
// notes: '',
// demand_start: '17/01/2020',
// demand_finish: '24/01/2020',
// insert_flag: 0,
// badjustflag: '0'
// },
// {
// id: 2,
// part_task_pk: '2095',
// priority: '2',
// plan_qty: '7',
// spare_qty: '0',
// plan_start: '13/03/2020',
// plan_finish: '09/04/2020',
// notes: 'null',
// demand_start: '17/01/2020',
// demand_finish: '24/01/2020',
// insert_flag: 1,
// badjustflag: '0'
// },
// {
// id: 3,
// part_task_pk: '2096',
// priority: '3',
// plan_qty: '9',
// spare_qty: '0',
// plan_start: '13/03/2020',
// plan_finish: '26/03/2020',
// notes: 'null',
// demand_start: '20/01/2020',
// demand_finish: '24/01/2020',
// insert_flag: 0,
// badjustflag: '0'
// }
],
curId: 0,
columns: [
......@@ -271,7 +271,8 @@ export default {
}
},
mounted() {
console.log(this)
//console.log(this)
this.loadList()
},
async fetch({ store, params }) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment