|
|
@ -59,8 +59,8 @@ |
|
|
|
<el-button v-if="item.title === '修改'" @click="handleUpload" class="search-button-style">I 导入</el-button> |
|
|
|
<el-button class="search-button-style" @click="submitForm">S 保存</el-button> |
|
|
|
<el-button v-if="item.title === '修改'" @click="releaseHandle(1)" class="search-button-style">P 发布</el-button> |
|
|
|
<el-button v-if="item.title === '修改'" @click="releaseHandle(2)" class="search-button-style">全局发布</el-button> |
|
|
|
<el-button v-if="item.title === '修改'" @click="releaseHandle(3)" class="search-button-style">取消发布</el-button> |
|
|
|
<el-button v-if="item.title === '修改' && formData['AP_CustDemandVerHead-Status'] === '1'" @click="releaseHandle(2)" class="search-button-style">全局发布</el-button> |
|
|
|
<el-button v-if="item.title === '修改' && formData['AP_CustDemandVerHead-Status'] === '1'" @click="releaseHandle(3)" class="search-button-style">取消发布</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -74,11 +74,20 @@ |
|
|
|
border> |
|
|
|
<el-table-column label="零件" width="180"> |
|
|
|
<template #default="scope"> |
|
|
|
<el-input v-model="scope.row['ArtId']" clearable placeholder="请输入" /> |
|
|
|
<el-input |
|
|
|
v-model="scope.row['ArtId']" |
|
|
|
:disabled="title === '修改' && formData['AP_CustDemandVerHead-Status'] === '1'" |
|
|
|
clearable |
|
|
|
placeholder="请输入" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column v-for="(item, index) in headers" :key="index" :label="item" width="130"> |
|
|
|
<template v-slot="{ row }"><el-input v-model="row.Item[item]" clearable /></template> |
|
|
|
<template v-slot="{ row }"> |
|
|
|
<el-input |
|
|
|
v-model="row.Item[item]" |
|
|
|
:disabled="title === '修改' && formData['AP_CustDemandVerHead-Status'] === '1'" |
|
|
|
clearable /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-col> |
|
|
|