Browse Source

销售出库-签单字段按需显示按钮

jingbb 2 months ago
parent
commit
f652e639f8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/inventiry/salesOutbound/salesOutboundList.vue

+ 2 - 1
src/views/inventiry/salesOutbound/salesOutboundList.vue

@@ -148,7 +148,8 @@
       <template #bodyCell="{ column, record, index, text }"> </template>
       <template #bodyCell="{ column, record, index, text }"> </template>
 
 
       <template #signing="props">
       <template #signing="props">
-        <a @click="viewFile(props)" >查看</a>
+        <a @click="viewFile(props)" v-if="!props.record.signing">上传</a>
+        <a @click="viewFile(props)" v-if="props.record.signing">查看</a>
       </template>
       </template>
     </BasicTable>
     </BasicTable>
     <!-- 表单区域 -->
     <!-- 表单区域 -->