|
@@ -250,6 +250,7 @@
|
|
|
|
|
|
<h3 class="gdzl">工程资料</h3>
|
|
|
<el-button
|
|
|
+ :disabled="isDis"
|
|
|
class="batchDownload"
|
|
|
type="primary"
|
|
|
size="small"
|
|
@@ -321,6 +322,11 @@
|
|
|
src="@/assets/common/pdf.png"
|
|
|
v-if="checkFileType(scope.row.fileUrl) == 'pdf'"
|
|
|
/>
|
|
|
+ <img
|
|
|
+ v-if="checkFileType(item.url) == 'file'"
|
|
|
+ class="file"
|
|
|
+ src="@/assets/common/zip.jpeg"
|
|
|
+ />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -535,6 +541,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ isDis: true,
|
|
|
imageURL: this.$imageUrl,
|
|
|
title: "审批",
|
|
|
imageURL: this.$imageUrl,
|
|
@@ -632,6 +639,11 @@ export default {
|
|
|
async getData(data) {
|
|
|
const res = await getDepositManageDetail(data);
|
|
|
console.log(res);
|
|
|
+ if (res.data.dataList.length == 0) {
|
|
|
+ this.isDis = true;
|
|
|
+ } else {
|
|
|
+ this.isDis = false;
|
|
|
+ }
|
|
|
res.data.items.forEach((item) => {
|
|
|
// item.number = (item.qty*100 - item.directTransferQty*100 - item.retiredQty*100) / 100;
|
|
|
item.sums1 = ["hasSendQty", "dataQty", "qty"];
|