|
@@ -115,7 +115,13 @@
|
|
|
<content-title title="发票列表" desc="请填写贸易相关的发票列表"></content-title>
|
|
|
<content-total :amount="handleInput(allAmount())" :words="smallToBig(allAmount())"></content-total>
|
|
|
|
|
|
- <el-table :data="fileList" row-key="ziiId" default-expand-all :row-class-name="tableRowClassName" border stripe="">
|
|
|
+ <el-table
|
|
|
+ :data="fileList"
|
|
|
+ row-key="ziiId"
|
|
|
+ default-expand-all
|
|
|
+ :row-class-name="tableRowClassName"
|
|
|
+ border
|
|
|
+ stripe="">
|
|
|
<el-table-column type="index" width="50" align="center" />
|
|
|
<el-table-column label="发票代码" align="center" prop="ziiNo" maxlength="10" />
|
|
|
<el-table-column label="发票号码" align="center" prop="ziiNumber" maxlength="10" />
|
|
@@ -138,8 +144,14 @@
|
|
|
<content-title title="贸易合同">
|
|
|
<el-button class="WIDTH64" type="success">上传</el-button>
|
|
|
</content-title>
|
|
|
- <el-upload class="mt20" :disabled="true" :file-list="contractList" :auto-upload="false" action="" ref="contractUpload" list-type="picture-card" :on-preview="invoicePictureCardPreview">
|
|
|
- </el-upload>
|
|
|
+ <el-row class="zap-form" type="flex">
|
|
|
+ <attachments v-for="(item, index) in contractList" :key="index" :fileName="item.pfiFileName">
|
|
|
+ <img class="" :src="item.url" />
|
|
|
+ <div class="attachements__marker" slot="marker">
|
|
|
+ <el-button class="zap-button-primary" size="mini" @click="invoicePictureCardPreview(item)">预览</el-button>
|
|
|
+ </div>
|
|
|
+ </attachments>
|
|
|
+ </el-row>
|
|
|
</div>
|
|
|
</el-row>
|
|
|
<el-row class="zap-margin-top">
|
|
@@ -147,8 +159,14 @@
|
|
|
<content-title title="物流附件">
|
|
|
<el-button class="WIDTH64" type="success">上传</el-button>
|
|
|
</content-title>
|
|
|
- <el-upload class="mt20" :disabled="true" :file-list="logisticsList" :auto-upload="false" action="" ref="logisticsUpload" list-type="picture-card" :on-preview="invoicePictureCardPreview">
|
|
|
- </el-upload>
|
|
|
+ <el-row class="zap-form" type="flex">
|
|
|
+ <attachments v-for="(item, index) in logisticsList" :key="index" :fileName="item.pfiFileName">
|
|
|
+ <img class="" :src="item.url" />
|
|
|
+ <div class="attachements__marker" slot="marker">
|
|
|
+ <el-button class="zap-button-primary" size="mini" @click="invoicePictureCardPreview(item)">预览</el-button>
|
|
|
+ </div>
|
|
|
+ </attachments>
|
|
|
+ </el-row>
|
|
|
</div>
|
|
|
</el-row>
|
|
|
<el-row class="zap-margin-top">
|
|
@@ -156,8 +174,14 @@
|
|
|
<content-title title="其他附件">
|
|
|
<el-button class="WIDTH64" type="success">上传</el-button>
|
|
|
</content-title>
|
|
|
- <el-upload class="mt20" :disabled="true" :file-list="otherList" :auto-upload="false" action="" ref="otherUpload" list-type="picture-card" :on-preview="invoicePictureCardPreview">
|
|
|
- </el-upload>
|
|
|
+ <el-row class="zap-form" type="flex">
|
|
|
+ <attachments v-for="(item, index) in otherList" :key="index" :fileName="item.pfiFileName">
|
|
|
+ <img class="" :src="item.url" />
|
|
|
+ <div class="attachements__marker" slot="marker">
|
|
|
+ <el-button class="zap-button-primary" size="mini" @click="invoicePictureCardPreview(item)">预览</el-button>
|
|
|
+ </div>
|
|
|
+ </attachments>
|
|
|
+ </el-row>
|
|
|
</div>
|
|
|
</el-row>
|
|
|
|
|
@@ -345,7 +369,7 @@ export default {
|
|
|
allAmount() {
|
|
|
var strarr = [0.00];
|
|
|
for (let i in this.fileList) {
|
|
|
- if ( this.fileList[i]["ziiCheckStt"] == "1" && !!(this.fileList[i]["ziiAmount"])) {
|
|
|
+ if (this.fileList[i]["ziiCheckStt"] == "1" && !!(this.fileList[i]["ziiAmount"])) {
|
|
|
strarr.push(this.fileList[i]["ziiAmount"]);
|
|
|
}
|
|
|
}
|