|
@@ -554,10 +554,7 @@
|
|
|
<el-input v-model="TWareHouseFees.tMblno" placeholder="" :disabled="true"/>
|
|
|
</el-form-item> -->
|
|
|
|
|
|
- <el-form-item
|
|
|
- label="对账日期"
|
|
|
- prop="fAccbilldate"
|
|
|
- >
|
|
|
+ <el-form-item label="对账日期" prop="fAccbilldate">
|
|
|
<el-date-picker
|
|
|
v-model="queryParams.fAccbilldate"
|
|
|
size="small"
|
|
@@ -2178,11 +2175,18 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
surface: "13",
|
|
|
- label: "fAmount",
|
|
|
+ label: "fAmtdr",
|
|
|
name: "费用金额",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
+ {
|
|
|
+ surface: "14",
|
|
|
+ label: "fAmtcr",
|
|
|
+ name: "本次金额",
|
|
|
+ checked: 0,
|
|
|
+ width: 100,
|
|
|
+ },
|
|
|
],
|
|
|
tableDate5: [
|
|
|
{
|
|
@@ -3553,12 +3557,17 @@ export default {
|
|
|
this.hide = true;
|
|
|
this.pass.fAmtdr = 0;
|
|
|
this.pass.fAmtcr = 0;
|
|
|
+ this.selection.map((e) => {
|
|
|
+ e.fAmtdr=e.fAmount
|
|
|
+ e.fAmtcr=e.fAmt
|
|
|
+ });
|
|
|
for (let item in this.selection) {
|
|
|
this.pass.fAmtcr = Number(this.pass.fAmtcr);
|
|
|
this.pass.fAmtdr = Number(this.pass.fAmtdr);
|
|
|
- this.pass.fAmtcr += Number(this.selection[item].fAmt);
|
|
|
- this.pass.fAmtdr += Number(this.selection[item].fAmount);
|
|
|
+ this.pass.fAmtcr += Number(this.selection[item].fAmtcr);
|
|
|
+ this.pass.fAmtdr += Number(this.selection[item].fAmtdr);
|
|
|
}
|
|
|
+
|
|
|
// this.pass.fAmtcr.toFixed(2);
|
|
|
if (this.state_s == true) {
|
|
|
if (this.selection.length == "0") {
|