|
|
@ -125,8 +125,8 @@ |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="计划数量" prop="plan_qty"> |
|
|
|
<el-input-number |
|
|
|
:disabled="form.region_code === 'FJ'" |
|
|
|
v-model.number="form.plan_qty" |
|
|
|
:disabled="form.region_code === 'FJ'" |
|
|
|
:min="0" |
|
|
|
style="width: 240px;" |
|
|
|
/> |
|
|
@ -485,7 +485,8 @@ const defaultForm = { |
|
|
|
custer_no: null, |
|
|
|
pack_method: null, |
|
|
|
order_subnum: 0, |
|
|
|
guadansum: 0 |
|
|
|
guadansum: 0, |
|
|
|
show: false |
|
|
|
} |
|
|
|
export default { |
|
|
|
name: 'PdmBdWorkorder', |
|
|
@ -640,9 +641,14 @@ export default { |
|
|
|
}, |
|
|
|
// 下发 |
|
|
|
submits(row) { |
|
|
|
this.crud.loading = true |
|
|
|
crudPdmBdWorkorder.submits(row).then(res => { |
|
|
|
this.crud.notify('下发成功', CRUD.NOTIFICATION_TYPE.SUCCESS) |
|
|
|
this.crud.toQuery() |
|
|
|
}).catch(() => { |
|
|
|
this.crud.loading = false |
|
|
|
}).finally(() => { |
|
|
|
this.crud.loading = false |
|
|
|
}) |
|
|
|
}, |
|
|
|
synchronize() { |
|
|
|