|
|
|
|
@ -21,7 +21,29 @@ |
|
|
|
|
:permission="getPermission" |
|
|
|
|
:before-open="beforeOpen" |
|
|
|
|
@sort-change="sortChange" |
|
|
|
|
></avue-crud> |
|
|
|
|
> |
|
|
|
|
<template #caId-form="{ type }"> |
|
|
|
|
<span v-show="type == 'edit' || type == 'add'"> |
|
|
|
|
<jhSelect |
|
|
|
|
:value="form.caId" |
|
|
|
|
@input="val => (form.caId = val)" |
|
|
|
|
placeholder="请搜索选择" |
|
|
|
|
api-url="/blade-desk/BA/craftAbility/list" |
|
|
|
|
echo-api="/blade-desk/BA/craftAbility/list" |
|
|
|
|
echoParamsKey="ids" |
|
|
|
|
echo-method="get" |
|
|
|
|
api-method="get" |
|
|
|
|
list-key="records" |
|
|
|
|
total-key="total" |
|
|
|
|
label-key="caName" |
|
|
|
|
value-key="id" |
|
|
|
|
search-key="caName" |
|
|
|
|
:debounce-time="500" |
|
|
|
|
:title="'修改'" |
|
|
|
|
/> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</avue-crud> |
|
|
|
|
</basic-container> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
@ -97,7 +119,7 @@ export default { |
|
|
|
|
// }, |
|
|
|
|
column: [ |
|
|
|
|
{ |
|
|
|
|
label: '工序名称', |
|
|
|
|
label: '工序', |
|
|
|
|
prop: 'ppsId', |
|
|
|
|
labelWidth: 150, |
|
|
|
|
// bind: 'bsProcedureSet.ppsName', |
|
|
|
|
@ -114,6 +136,13 @@ export default { |
|
|
|
|
value: 'id', |
|
|
|
|
res: 'data.records', |
|
|
|
|
}, |
|
|
|
|
rules: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
|
message: '请选择工序', |
|
|
|
|
trigger: 'click', |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '作业中心', |
|
|
|
|
@ -138,6 +167,22 @@ export default { |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '工艺能力', |
|
|
|
|
prop: 'caId', |
|
|
|
|
width: 150, |
|
|
|
|
labelWidth: 150, |
|
|
|
|
search: false, |
|
|
|
|
sortable: 'custom', |
|
|
|
|
filterable: true, |
|
|
|
|
span: 24, |
|
|
|
|
// type: 'select', |
|
|
|
|
// dicUrl: '/api/blade-desk/BA/WorkCenter/listForSelect', |
|
|
|
|
// props: { |
|
|
|
|
// label: 'wcName', |
|
|
|
|
// value: 'id', |
|
|
|
|
// }, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '生产标识', |
|
|
|
|
prop: 'pqId', |
|
|
|
|
@ -294,7 +339,8 @@ export default { |
|
|
|
|
referenceFile:row.referenceFile, |
|
|
|
|
wcId:row.wcId, |
|
|
|
|
papers:row.papers, |
|
|
|
|
prodApplyArea:row.prodApplyArea |
|
|
|
|
prodApplyArea:row.prodApplyArea, |
|
|
|
|
caId:row.caId, |
|
|
|
|
} |
|
|
|
|
addFile(params).then(res =>{ |
|
|
|
|
if(res.data.code == 200){ |
|
|
|
|
|