|
@@ -170,7 +170,15 @@
|
|
|
<el-button type="text" @click="handleOpenUpload(scope.row.id)" v-if="scope.row.status === 10" v-db-click>上传设计稿</el-button>
|
|
|
<el-button type="text" @click="handleChangeOrder(scope.row.id)" v-if="scope.row.status === 0" v-db-click>编辑</el-button>
|
|
|
<el-button type="text" v-if="scope.row.status == '30'" @click="handleAfterSales(scope.row)" v-db-click>售后</el-button>
|
|
|
- <el-button type="text" style="color: rgb(217, 0, 27)" @click="handleRemove(scope.row.id)" v-if="scope.row.status == 10" v-db-click>删除</el-button>
|
|
|
+ <!-- <el-button type="text" style="color: rgb(217, 0, 27)" @click="handleRemove(scope.row.id)" v-if="scope.row.status == 10" v-db-click>删除</el-button> -->
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ style="color: rgb(217, 0, 27)"
|
|
|
+ @click="handleRemove(scope.row.id)"
|
|
|
+ v-if="scope.row.dataResource === 0 && (scope.row.status == 0 || scope.row.status == 10)"
|
|
|
+ v-db-click
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -500,6 +508,9 @@ export default {
|
|
|
API.submissionBatch({}).then((res) => {
|
|
|
this.submissionData = res.data.data
|
|
|
this.loadingSubmission = false
|
|
|
+ if (res.data.data.idList && res.data.data.idList.length > 0) {
|
|
|
+ API.generateBatchPlanTime(res.data.data.idList).then(() => {})
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
submissionHistory() {
|