|
@@ -34,7 +34,7 @@
|
|
|
" @click="carryover">补货结转</ws-button>
|
|
|
<ws-button type="primary" v-hasPermission="
|
|
|
`report.procurementInReport.view`
|
|
|
- " @click="handleAudit()">审核</ws-button> -->
|
|
|
+ " @click="handleAudit()">审核</ws-button>
|
|
|
<ws-button type="primary" v-hasPermission="
|
|
|
`report.procurementInReport.view`
|
|
|
" @click="handlepass1()">通过</ws-button>
|
|
@@ -113,7 +113,9 @@
|
|
|
class="table_td"
|
|
|
prop="carNo"
|
|
|
label="车牌号"
|
|
|
- ></el-table-column>
|
|
|
+ ><template slot-scope="scope">
|
|
|
+ {{scope.row.carNo}}({{scope.row.tranCarNo}})
|
|
|
+ </template></el-table-column>
|
|
|
<el-table-column
|
|
|
class="table_td"
|
|
|
prop="warehousingDate"
|
|
@@ -997,15 +999,20 @@ export default {
|
|
|
postreplanishent({
|
|
|
customerConfirmationStatusFlag:
|
|
|
this.modification[0].customerConfirmationStatusFlag,
|
|
|
- purchaseReceiptReport: {
|
|
|
+ id:this.modification[0].id,
|
|
|
+ contractNo:this.modification[0].contractNo,
|
|
|
+ carryOverWeight: this.carryoverlist.carryOverWeight,
|
|
|
+ purchaseReceiptReport: {
|
|
|
contractNo: this.carryoverlist.contractNo,
|
|
|
carryOverWeight: this.carryoverlist.carryOverWeight,
|
|
|
- },
|
|
|
+ },
|
|
|
amountNotPayable: this.modification[0].amountNotPayable,
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
+ this.dialogFormVisible11=false
|
|
|
this.$message.success('结转成功')
|
|
|
+ this.dialogFormVisible11 = false
|
|
|
this.getList()
|
|
|
})
|
|
|
} else if (this.carryovercontractnolist.length <=0){
|
|
@@ -1038,11 +1045,13 @@ export default {
|
|
|
this.$message.warning('请选择一条要结转的条目')
|
|
|
} else {
|
|
|
this.dialogFormVisible11 = true
|
|
|
+ console.log(this.contractNoList.records)
|
|
|
this.carryovercontractnolist = this.contractNoList.records.filter(
|
|
|
(item) => {
|
|
|
return this.modification[0].id != item.id
|
|
|
}
|
|
|
)
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
handleSelectionChange(val) {
|
|
@@ -1144,6 +1153,7 @@ export default {
|
|
|
// }else if(this.roleId=="4ef070439cd64784bce8844fd3f0f8e1"){
|
|
|
// this.roleFlag=''
|
|
|
// }
|
|
|
+
|
|
|
getpurchreceipt({
|
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
currentPage: this.currentPage,
|
|
@@ -1156,7 +1166,13 @@ export default {
|
|
|
.then((response) => {
|
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
|
response.records[i].identification = 'false'
|
|
|
+ response.records[i].settlementPrice = response.records[i].unitPrice
|
|
|
+ - Math.abs(response.records[i].basisPrice)
|
|
|
+ - Math.abs(response.records[i].unloadingCharge)
|
|
|
+ - Math.abs(response.records[i].invoiceFee)
|
|
|
+ - Math.abs(response.records[i].deductionAmount)
|
|
|
}
|
|
|
+
|
|
|
this.deptBudgetTotal=response.total
|
|
|
this.warehouseList = response
|
|
|
})
|