|
|
|
@ -5,7 +5,7 @@ |
|
|
|
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" |
|
|
|
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" |
|
|
|
@refresh-change="refreshChange" @on-load="onLoad"> |
|
|
|
@refresh-change="refreshChange" @on-load="onLoad"> |
|
|
|
<template #menu-left> |
|
|
|
<template #menu-left> |
|
|
|
<el-button type="danger" icon="el-icon-delete" v-if="permission.role_delete" plain size="small" |
|
|
|
<el-button type="danger" icon="el-icon-delete" v-if="permission.role_delete" plain |
|
|
|
@click="handleDelete">删 除 |
|
|
|
@click="handleDelete">删 除 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<!-- <el-upload :auto-upload="false" :show-file-list="false" action="action" :on-change="handleChange" |
|
|
|
<!-- <el-upload :auto-upload="false" :show-file-list="false" action="action" :on-change="handleChange" |
|
|
|
@ -18,27 +18,27 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<template #poCode="{ row }"> |
|
|
|
<template #poCode="{ row }"> |
|
|
|
<el-text type="primary" size="small">{{ row.poCode }}</el-text> |
|
|
|
<el-text type="primary" size="medium">{{ row.poCode }}</el-text> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template #prodIdent="{row}"> |
|
|
|
<template #prodIdent="{row}"> |
|
|
|
<el-tag size="small">{{ row.prodIdent }}</el-tag> |
|
|
|
<el-tag size="medium">{{ row.prodIdent }}</el-tag> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template #curStatusText="{ row }"> |
|
|
|
<template #curStatusText="{ row }"> |
|
|
|
<el-tag v-if="row.curStatusText == '已派工'" size="small">{{ row.curStatusText }}</el-tag> |
|
|
|
<el-tag v-if="row.curStatusText == '已派工'" size="medium">{{ row.curStatusText }}</el-tag> |
|
|
|
<el-tag class="ml-2" type="success" v-if="row.curStatusText == '已完工'" size="small"> {{ row.curStatusText }}</el-tag> |
|
|
|
<el-tag class="ml-2" type="success" v-if="row.curStatusText == '已完工'" size="medium"> {{ row.curStatusText }}</el-tag> |
|
|
|
<el-tag class="ml-2" type="info" v-if="row.curStatusText == '已关闭'" size="small">{{ row.curStatusText }}</el-tag> |
|
|
|
<el-tag class="ml-2" type="info" v-if="row.curStatusText == '已关闭'" size="medium">{{ row.curStatusText }}</el-tag> |
|
|
|
<el-tag class="ml-2" type="warning" v-if="row.curStatusText == '加工中'" size="small">{{ row.curStatusText }}</el-tag> |
|
|
|
<el-tag class="ml-2" type="warning" v-if="row.curStatusText == '加工中'" size="medium">{{ row.curStatusText }}</el-tag> |
|
|
|
<el-tag class="ml-2" type="danger" v-if="row.curStatusText == '已退回'" size="small">{{ row.curStatusText }}</el-tag> |
|
|
|
<el-tag class="ml-2" type="danger" v-if="row.curStatusText == '已退回'" size="medium">{{ row.curStatusText }}</el-tag> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template #menu="{ row }"> |
|
|
|
<template #menu="{ row }"> |
|
|
|
<el-button type="primary" text plain style="border: 0; background-color: transparent !important" |
|
|
|
<el-button type="primary" text plain style="border: 0; background-color: transparent !important" |
|
|
|
size="small" @click.stop="updateLog(row)" icon="el-icon-view">查看工艺路线 |
|
|
|
size="medium" @click.stop="updateLog(row)" icon="el-icon-view">查看工艺路线 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" text plain style="border: 0; background-color: transparent !important" |
|
|
|
<el-button type="primary" text plain style="border: 0; background-color: transparent !important" |
|
|
|
size="small" @click.stop="updateLog(row)" icon="el-icon-reading">分批 |
|
|
|
size="medium" @click.stop="updateLog(row)" icon="el-icon-reading">分批 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" text plain style="border: 0; background-color: transparent !important" |
|
|
|
<el-button type="primary" text plain style="border: 0; background-color: transparent !important" |
|
|
|
size="small" @click.stop="updateLog(row)" icon="el-icon-remove">关闭 |
|
|
|
size="medium" @click.stop="updateLog(row)" icon="el-icon-remove">关闭 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</avue-crud> |
|
|
|
</avue-crud> |
|
|
|
@ -88,7 +88,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
option: { |
|
|
|
option: { |
|
|
|
tip: false, |
|
|
|
tip: false, |
|
|
|
size: 'small', |
|
|
|
size: 'medium', |
|
|
|
simplePage: true, |
|
|
|
simplePage: true, |
|
|
|
searchShow: true, |
|
|
|
searchShow: true, |
|
|
|
searchMenuSpan: 6, |
|
|
|
searchMenuSpan: 6, |
|
|
|
@ -103,7 +103,7 @@ export default { |
|
|
|
editBtnText: '修改', |
|
|
|
editBtnText: '修改', |
|
|
|
labelWidth: 120, |
|
|
|
labelWidth: 120, |
|
|
|
searchLabelWidth: 100, |
|
|
|
searchLabelWidth: 100, |
|
|
|
menuWidth: 300, |
|
|
|
menuWidth: 330, |
|
|
|
dialogWidth: 900, |
|
|
|
dialogWidth: 900, |
|
|
|
dialogClickModal: false, |
|
|
|
dialogClickModal: false, |
|
|
|
searchEnter: true, |
|
|
|
searchEnter: true, |
|
|
|
@ -117,7 +117,7 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '计划单号', |
|
|
|
label: '计划单号', |
|
|
|
prop: 'poCode', |
|
|
|
prop: 'poCode', |
|
|
|
search: true, |
|
|
|
search: false, |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
width: 150, |
|
|
|
width: 150, |
|
|
|
span: 12, |
|
|
|
span: 12, |
|
|
|
@ -132,7 +132,7 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '零件号', |
|
|
|
label: '零件号', |
|
|
|
prop: 'partCode', |
|
|
|
prop: 'partCode', |
|
|
|
search: true, |
|
|
|
search: false, |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
width: 150, |
|
|
|
width: 150, |
|
|
|
span: 12, |
|
|
|
span: 12, |
|
|
|
@ -147,7 +147,7 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '产品型号', |
|
|
|
label: '产品型号', |
|
|
|
prop: 'productType', |
|
|
|
prop: 'productType', |
|
|
|
search: true, |
|
|
|
search: false, |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
disabled: true, |
|
|
|
disabled: true, |
|
|
|
width: 120, |
|
|
|
width: 120, |
|
|
|
@ -163,7 +163,7 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '名称', |
|
|
|
label: '名称', |
|
|
|
prop: 'partName', |
|
|
|
prop: 'partName', |
|
|
|
search: true, |
|
|
|
search: false, |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
disabled: true, |
|
|
|
disabled: true, |
|
|
|
span: 12, |
|
|
|
span: 12, |
|
|
|
@ -179,7 +179,7 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '镀种', |
|
|
|
label: '镀种', |
|
|
|
prop: 'plate', |
|
|
|
prop: 'plate', |
|
|
|
search: true, |
|
|
|
search: false, |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
disabled: true, |
|
|
|
disabled: true, |
|
|
|
span: 12, |
|
|
|
span: 12, |
|
|
|
@ -194,7 +194,7 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '镀种小类', |
|
|
|
label: '镀种小类', |
|
|
|
prop: 'plate', |
|
|
|
prop: 'plate', |
|
|
|
search: true, |
|
|
|
search: false, |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
width: 120, |
|
|
|
width: 120, |
|
|
|
display: false, |
|
|
|
display: false, |
|
|
|
@ -225,7 +225,7 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '使用部门', |
|
|
|
label: '使用部门', |
|
|
|
prop: 'useDept', |
|
|
|
prop: 'useDept', |
|
|
|
search: true, |
|
|
|
search: false, |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
disabled: true, |
|
|
|
disabled: true, |
|
|
|
width: 120, |
|
|
|
width: 120, |
|
|
|
@ -272,7 +272,7 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '需求交期', |
|
|
|
label: '需求交期', |
|
|
|
prop: 'demandDate', |
|
|
|
prop: 'demandDate', |
|
|
|
search: true, |
|
|
|
search: false, |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
width: 150, |
|
|
|
width: 150, |
|
|
|
span: 12, |
|
|
|
span: 12, |
|
|
|
@ -288,7 +288,7 @@ export default { |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '计划员', |
|
|
|
label: '计划员', |
|
|
|
prop: 'planUser', |
|
|
|
prop: 'planUser', |
|
|
|
search: true, |
|
|
|
search: false, |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
width: 120, |
|
|
|
width: 120, |
|
|
|
span: 12, |
|
|
|
span: 12, |
|
|
|
@ -464,6 +464,14 @@ export default { |
|
|
|
// display: false, |
|
|
|
// display: false, |
|
|
|
|
|
|
|
|
|
|
|
// }, |
|
|
|
// }, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
label: '关键字', |
|
|
|
|
|
|
|
prop: 'serchTxt', |
|
|
|
|
|
|
|
search: true, |
|
|
|
|
|
|
|
sortable: true, |
|
|
|
|
|
|
|
searchPlaceholder: '关键字模糊搜索', |
|
|
|
|
|
|
|
span: 12, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -690,7 +698,7 @@ export default { |
|
|
|
this.data = [ |
|
|
|
this.data = [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"alreadyBranchQty": 5.0, |
|
|
|
"alreadyBranchQty": 5.0, |
|
|
|
"bsPlatingSmall": { |
|
|
|
"bsPlatingmedium": { |
|
|
|
"bpsId": 4, |
|
|
|
"bpsId": 4, |
|
|
|
"bpsName": "小类04", |
|
|
|
"bpsName": "小类04", |
|
|
|
"bsWorkCenter": { |
|
|
|
"bsWorkCenter": { |
|
|
|
@ -941,7 +949,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"alreadyBranchQty": 5.0, |
|
|
|
"alreadyBranchQty": 5.0, |
|
|
|
"bsPlatingSmall": { |
|
|
|
"bsPlatingmedium": { |
|
|
|
"bpsId": 6, |
|
|
|
"bpsId": 6, |
|
|
|
"bpsName": "小类06", |
|
|
|
"bpsName": "小类06", |
|
|
|
"bsWorkCenter": { |
|
|
|
"bsWorkCenter": { |
|
|
|
@ -1192,7 +1200,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"alreadyBranchQty": 3.0, |
|
|
|
"alreadyBranchQty": 3.0, |
|
|
|
"bsPlatingSmall": { |
|
|
|
"bsPlatingmedium": { |
|
|
|
"bpsId": 5, |
|
|
|
"bpsId": 5, |
|
|
|
"bpsName": "小类05", |
|
|
|
"bpsName": "小类05", |
|
|
|
"bsWorkCenter": { |
|
|
|
"bsWorkCenter": { |
|
|
|
|