@@ -30,7 +30,7 @@
<el-dialog title="交接单" v-if="openAllFile" v-model="openAllFile" width="500">
<div>
- <div v-for="(file, index) in rowData.fileList" :key="index">
+ <div v-for="(file, index) in rowData.fileList" :key="index" style="padding: 8px 0;">
<a style="color: #409eff; cursor: pointer" @click="openFile(file.fileUrl)">{{ file.fileName }}</a>
</div>
@@ -70,7 +70,7 @@ const sourceList = ref({
pageSize: 10,
keyword: "",
status: "",
- type: 2
+ type: 2,
},
});
const loading = ref(false);
@@ -162,17 +162,19 @@ const config = computed(() => {
renderHTML(row) {
return [
- {
- attrs: {
- label: "出库",
- type: "primary",
- text: true,
- },
- el: "button",
- click() {
- clickOperation(row);
+ row.status !== 2
+ ? {
+ attrs: {
+ label: "出库",
+ type: "primary",
+ text: true,
+ },
+ el: "button",
+ click() {
+ clickOperation(row);
+ }
+ : {},
];