|
@@ -11,13 +11,13 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
- <el-form-item label="存货名称" prop="chName">
|
|
|
|
- <el-input v-model="screenForm.chName" placeholder="请输入存货名称"></el-input>
|
|
|
|
|
|
+ <el-form-item label="产品名称" prop="chName">
|
|
|
|
+ <el-input v-model="screenForm.chName" placeholder="请输入产品名称"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
- <el-form-item label="存货编码" prop="chNum">
|
|
|
|
- <el-input v-model="screenForm.chNum" placeholder="请输入存货编码"></el-input>
|
|
|
|
|
|
+ <el-form-item label="产品编码" prop="chNum">
|
|
|
|
+ <el-input v-model="screenForm.chNum" placeholder="请输入产品编码"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
@@ -56,26 +56,51 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="table">
|
|
<div class="table">
|
|
- <el-table v-loading="listLoading" :data="dataList" element-loading-text="Loading" border fit highlight-current-row stripe>
|
|
|
|
- <el-table-column align="center" label="入库单号" prop="billNo" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
+ <el-table
|
|
|
|
+ v-loading="listLoading"
|
|
|
|
+ :data="dataList"
|
|
|
|
+ element-loading-text="Loading"
|
|
|
|
+ border
|
|
|
|
+ fit
|
|
|
|
+ highlight-current-row
|
|
|
|
+ stripe
|
|
|
|
+ show-summary
|
|
|
|
+ :summary-method="$getSummaries">
|
|
|
|
+ <el-table-column align="center" label="入库单号" prop="billNo" min-width="140" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="入库日期" prop="fdate" min-width="120" show-overflow-tooltip>
|
|
<el-table-column align="center" label="入库日期" prop="fdate" min-width="120" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{scope.row.fdate | dateToDayFilter}}
|
|
{{scope.row.fdate | dateToDayFilter}}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" label="仓库" prop="stockId" min-width="140" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="仓库" prop="stockId" min-width="120" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="供货单位" prop="supplyName" min-width="200" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="供货单位" prop="supplyName" min-width="200" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="审核日期" prop="approveDate" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="审核日期" prop="approveDate" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="备注" prop="abcdRemarks" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="备注" prop="abcdRemarks" min-width="160" show-overflow-tooltip></el-table-column>
|
|
- <el-table-column align="center" label="存货编码" prop="materialNumber" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="center" label="存货名称" prop="materialName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="center" label="规格型号" prop="uom" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="center" label="主计量" prop="unit" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="center" label="数量" prop="auxUnitQty" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="center" label="原币含税单价" prop="taxPrice" min-width="120" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="center" label="原币金额" prop="amount" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="center" label="原币税额" prop="entryTaxAmount" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="center" label="原币价税合计" prop="allAmount" min-width="120" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="产品编码" prop="materialCode" min-width="140" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="center" label="产品名称" prop="materialName" min-width="140" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="center" label="规格型号" prop="uom" min-width="200" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="center" label="单位" prop="unit" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="right" label="数量" prop="auxUnitQty" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="right" label="原币含税单价" prop="taxPrice" min-width="120" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{scope.row.taxPrice | numToFixed}}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column align="right" label="原币金额" prop="amount" min-width="100" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{scope.row.amount | numToFixed}}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column align="right" label="原币税额" prop="entryTaxAmount" min-width="100" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{scope.row.entryTaxAmount | numToFixed}}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column align="right" label="原币价税合计" prop="allAmount" min-width="120" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{scope.row.allAmount | numToFixed}}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column align="center" label="税率" prop="entryTaxRate" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="税率" prop="entryTaxRate" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="制单人" prop="createBy" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="制单人" prop="createBy" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="审核人" prop="approverId" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="审核人" prop="approverId" min-width="100" show-overflow-tooltip></el-table-column>
|
|
@@ -139,7 +164,7 @@ export default {
|
|
return {
|
|
return {
|
|
billNo: this.screenForm.orderNum,
|
|
billNo: this.screenForm.orderNum,
|
|
materialName: this.screenForm.chName,
|
|
materialName: this.screenForm.chName,
|
|
- materialNumber: this.screenForm.chNum,
|
|
|
|
|
|
+ materialCode: this.screenForm.chNum,
|
|
startTime: this.screenForm.date ? this.screenForm.date[0] : '',
|
|
startTime: this.screenForm.date ? this.screenForm.date[0] : '',
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
supplyName: this.screenForm.company,
|
|
supplyName: this.screenForm.company,
|
|
@@ -173,12 +198,16 @@ export default {
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
billNo: this.screenForm.orderNum,
|
|
billNo: this.screenForm.orderNum,
|
|
materialName: this.screenForm.chName,
|
|
materialName: this.screenForm.chName,
|
|
- materialNumber: this.screenForm.chNum,
|
|
|
|
|
|
+ materialCode: this.screenForm.chNum,
|
|
startTime: this.screenForm.date ? this.screenForm.date[0] : '',
|
|
startTime: this.screenForm.date ? this.screenForm.date[0] : '',
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
supplyName: this.screenForm.company,
|
|
supplyName: this.screenForm.company,
|
|
};
|
|
};
|
|
getEnterList(params).then((res) => {
|
|
getEnterList(params).then((res) => {
|
|
|
|
+ res.data.records.forEach(item => {
|
|
|
|
+ item.sums1 = ['auxUnitQty'];
|
|
|
|
+ item.sums2 = ['taxPrice', 'amount', 'entryTaxAmount', 'allAmount'];
|
|
|
|
+ })
|
|
this.dataList = res.data.records;
|
|
this.dataList = res.data.records;
|
|
this.listTotal = res.data.total;
|
|
this.listTotal = res.data.total;
|
|
this.listLoading = false;
|
|
this.listLoading = false;
|