add: 手持生箔呼叫空辊、下料

This commit is contained in:
2024-08-07 18:52:39 +08:00
parent 9a8395f4b6
commit 01bd8257af
53 changed files with 828 additions and 276 deletions

View File

@@ -191,7 +191,7 @@
</el-form-item>
<el-form-item :label="$t('Point.dialog.workshop_code')">
<el-select
v-model="form.workshop_code"
v-model="form.product_area"
:placeholder="$t('common.Please_select')"
style="width: 370px;"
>
@@ -307,9 +307,9 @@
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="selection" width="55" />
<el-table-column
prop="workshop_code"
prop="product_area"
:label="$t('Point.table.workshop_code')"
:min-width="flexWidth('workshop_code',crud.data,$t('Point.table.workshop_code'))"
:min-width="flexWidth('product_area',crud.data,$t('Point.table.workshop_code'))"
/>
<el-table-column
prop="point_code"
@@ -471,13 +471,13 @@ import PointDialog from '@/views/wms/sch/point/PointDialog.vue'
import i18n from '@/i18n'
const defaultForm = {
point_id: null,
point_code: null,
point_name: null,
region_code: null,
region_name: null,
point_type: null,
point_status: null,
can_material_type: null,
can_vehicle_type: null,
vehicle_max_qty: null,
vehicle_type: null,
@@ -491,11 +491,11 @@ const defaultForm = {
out_order_seq: null,
in_empty_seq: null,
out_empty_seq: null,
parent_point_code: null,
device_code: null,
ext_point_code: null,
ing_task_code: null,
is_has_workder: 'true',
workshop_code: null,
product_area: null,
is_auto: 'true',
remark: null,
is_used: 'true',
@@ -510,8 +510,8 @@ export default {
return CRUD({
title: i18n.t('Point.title'),
url: 'api/schBasePoint',
idField: 'point_code',
sort: 'point_code,desc',
idField: 'point_id',
sort: 'point_id,desc',
crudMethod: { ...crudSchBasePoint },
optShow: {
add: true,
@@ -587,8 +587,8 @@ export default {
return true
},
[CRUD.HOOK.beforeToCU]() {
this.form.is_has_workder = this.form.is_has_workder.toString()
this.form.is_auto = this.form.is_auto.toString()
this.form.is_has_workder = this.form.is_has_workder ? this.form.is_has_workder.toString() : 'false'
this.form.is_auto = this.form.is_auto ? this.form.is_auto.toString() : 'false'
},
[CRUD.HOOK.afterToCU]() {
if (this.form.region_code) {