|
@@ -1499,7 +1499,7 @@
|
|
|
v-input-limit="2"
|
|
|
style="width: 100%"
|
|
|
placeholder="毛重">
|
|
|
- <template slot="append">{{ (importList.fPlangrossweight / 1000).toFixed(2) }}吨</template>
|
|
|
+ <template slot="append">{{ (importList.fPlangrossweight / 1000).toFixed(4) }}吨</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -1511,7 +1511,7 @@
|
|
|
style="width: 100%"
|
|
|
placeholder="净重"
|
|
|
>
|
|
|
- <template slot="append">{{ (importList.fPlannetweight / 1000).toFixed(2) }}吨</template>
|
|
|
+ <template slot="append">{{ (importList.fPlannetweight / 1000).toFixed(4) }}吨</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -3015,8 +3015,8 @@
|
|
|
<td>{{ item.fMblno }}</td>
|
|
|
<td>{{ item.fCntrno }}</td>
|
|
|
<td>{{ item.fQty }}</td>
|
|
|
- <td>{{ (item.fGrossweight / 1000).toFixed(2) }}</td>
|
|
|
- <td>{{ (item.fNetweight / 1000).toFixed(2) }}</td>
|
|
|
+ <td>{{ (item.fGrossweight / 1000).toFixed(4) }}</td>
|
|
|
+ <td>{{ (item.fNetweight / 1000).toFixed(4) }}</td>
|
|
|
<td>{{ item.remark }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -3398,8 +3398,8 @@
|
|
|
<td>{{ item.fQty }}</td>
|
|
|
<td>{{ item.fWarehouseInformation }}</td>
|
|
|
<td>{{ item.fQty }}</td>
|
|
|
- <td>{{ (item.fNetweight / 1000).toFixed(2) }}</td>
|
|
|
- <td>{{ (item.fGrossweight / 1000).toFixed(2) }}</td>
|
|
|
+ <td>{{ (item.fNetweight / 1000).toFixed(4) }}</td>
|
|
|
+ <td>{{ (item.fGrossweight / 1000).toFixed(4) }}</td>
|
|
|
<td>{{ item.remark }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -3689,8 +3689,8 @@
|
|
|
<td>{{ item.fMblno }}</td>
|
|
|
<td>{{ item.fCntrno }}</td>
|
|
|
<td>{{ item.fQty }}</td>
|
|
|
- <td>{{ (item.fGrossweight / 1000).toFixed(2) }}</td>
|
|
|
- <td>{{ (item.fNetweight / 1000).toFixed(2) }}</td>
|
|
|
+ <td>{{ (item.fGrossweight / 1000).toFixed(4) }}</td>
|
|
|
+ <td>{{ (item.fNetweight / 1000).toFixed(4) }}</td>
|
|
|
<td>{{ item.remark }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -4197,8 +4197,8 @@
|
|
|
<td>{{ item.fMblno }}</td>
|
|
|
<td>{{ item.fCntrno }}</td>
|
|
|
<td>{{ item.fQty }}</td>
|
|
|
- <td>{{ (item.fGrossweight / 1000).toFixed(2) }}</td>
|
|
|
- <td>{{ (item.fNetweight / 1000).toFixed(2) }}</td>
|
|
|
+ <td>{{ (item.fGrossweight / 1000).toFixed(4) }}</td>
|
|
|
+ <td>{{ (item.fNetweight / 1000).toFixed(4) }}</td>
|
|
|
<td>{{ item.remark }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -4580,8 +4580,8 @@
|
|
|
<td>{{ item.fQty }}</td>
|
|
|
<td>{{ item.fWarehouseInformation }}</td>
|
|
|
<td>{{ item.fQty }}</td>
|
|
|
- <td>{{ (item.fNetweight / 1000).toFixed(2) }}</td>
|
|
|
- <td>{{ (item.fGrossweight / 1000).toFixed(2) }}</td>
|
|
|
+ <td>{{ (item.fNetweight / 1000).toFixed(4) }}</td>
|
|
|
+ <td>{{ (item.fGrossweight / 1000).toFixed(4) }}</td>
|
|
|
<td>{{ item.remark }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -4871,8 +4871,8 @@
|
|
|
<td>{{ item.fMblno }}</td>
|
|
|
<td>{{ item.fCntrno }}</td>
|
|
|
<td>{{ item.fQty }}</td>
|
|
|
- <td>{{ (item.fGrossweight / 1000).toFixed(2) }}</td>
|
|
|
- <td>{{ (item.fNetweight / 1000).toFixed(2) }}</td>
|
|
|
+ <td>{{ (item.fGrossweight / 1000).toFixed(4) }}</td>
|
|
|
+ <td>{{ (item.fNetweight / 1000).toFixed(4) }}</td>
|
|
|
<td>{{ item.remark }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -5371,8 +5371,8 @@
|
|
|
<td>{{ item.fMblno }}</td>
|
|
|
<td>{{ item.fCntrno }}</td>
|
|
|
<td>{{ item.fQty }}</td>
|
|
|
- <td>{{ (item.fGrossweight / 1000).toFixed(2) }}</td>
|
|
|
- <td>{{ (item.fNetweight / 1000).toFixed(2) }}</td>
|
|
|
+ <td>{{ (item.fGrossweight / 1000).toFixed(4) }}</td>
|
|
|
+ <td>{{ (item.fNetweight / 1000).toFixed(4) }}</td>
|
|
|
<td>{{ item.remark }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -6502,16 +6502,16 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
tfNetweight(row) {
|
|
|
- this.tfNetweightnum = (row / 1000).toFixed(2);
|
|
|
+ this.tfNetweightnum = (row / 1000).toFixed(4);
|
|
|
},
|
|
|
tfNetweight2(row) {
|
|
|
- this.tfNetweightnum2 = (row / 1000).toFixed(2);
|
|
|
+ this.tfNetweightnum2 = (row / 1000).toFixed(4);
|
|
|
},
|
|
|
tfGrossweight(row) {
|
|
|
- this.tfGrossweightnum = (row / 1000).toFixed(2);
|
|
|
+ this.tfGrossweightnum = (row / 1000).toFixed(4);
|
|
|
},
|
|
|
tfGrossweight2(row) {
|
|
|
- this.tfGrossweightnum2 = (row / 1000).toFixed(2);
|
|
|
+ this.tfGrossweightnum2 = (row / 1000).toFixed(4);
|
|
|
},
|
|
|
//列设置全选
|
|
|
allChecked() {
|
|
@@ -7077,8 +7077,8 @@ export default {
|
|
|
Date.parse(this.form.freeContainerDate)
|
|
|
);
|
|
|
this.$set(this.form, "fFeetUnit", this.form.fFeetunit);
|
|
|
- this.tfNetweightnum = (this.form.fPlannetweight / 1000).toFixed(2);
|
|
|
- this.tfGrossweightnum = (this.form.fPlangrossweight / 1000).toFixed(2);
|
|
|
+ this.tfNetweightnum = (this.form.fPlannetweight / 1000).toFixed(4);
|
|
|
+ this.tfGrossweightnum = (this.form.fPlangrossweight / 1000).toFixed(4);
|
|
|
if (this.form.fTrademodeid) {
|
|
|
this.$set(this.form, "fTrademodeid", this.form.fTrademodeid.toString());
|
|
|
}
|
|
@@ -7739,9 +7739,9 @@ export default {
|
|
|
}
|
|
|
}, 0);
|
|
|
if (column.property === "fGrossweight") {
|
|
|
- sums[index] = (sums[index] / 1000).toFixed(2) + "吨";
|
|
|
+ sums[index] = (sums[index] / 1000).toFixed(4) + "吨";
|
|
|
} else if (column.property === "fNetweight") {
|
|
|
- sums[index] = (sums[index] / 1000).toFixed(2) + "吨";
|
|
|
+ sums[index] = (sums[index] / 1000).toFixed(4) + "吨";
|
|
|
} else {
|
|
|
sums[index] = sums[index].toFixed(2);
|
|
|
}
|
|
@@ -7756,25 +7756,25 @@ export default {
|
|
|
let Num2 =
|
|
|
Number(this.importList.fPlangrossweight) / Number(this.importList.fPlanqty);
|
|
|
this.importList.fNetweight = Number(
|
|
|
- (this.importList.fQty * Num1).toFixed(2)
|
|
|
+ (this.importList.fQty * Num1).toFixed(4)
|
|
|
);
|
|
|
- this.tfNetweightnum2 = (this.importList.fNetweight / 1000).toFixed(2);
|
|
|
+ this.tfNetweightnum2 = (this.importList.fNetweight / 1000).toFixed(4);
|
|
|
this.importList.fGrossweight = Number(
|
|
|
- (this.importList.fQty * Num2).toFixed(2)
|
|
|
+ (this.importList.fQty * Num2).toFixed(4)
|
|
|
);
|
|
|
- this.tfGrossweightnum2 = (this.importList.fGrossweight / 1000).toFixed(2);
|
|
|
+ this.tfGrossweightnum2 = (this.importList.fGrossweight / 1000).toFixed(4);
|
|
|
} else {
|
|
|
let Num1 = Number(this.form.fPlannetweight) / Number(this.form.fPlanqty);
|
|
|
let Num2 =
|
|
|
Number(this.form.fPlangrossweight) / Number(this.form.fPlanqty);
|
|
|
this.importList.fNetweight = Number(
|
|
|
- (this.importList.fQty * Num1).toFixed(2)
|
|
|
+ (this.importList.fQty * Num1).toFixed(4)
|
|
|
);
|
|
|
- this.tfNetweightnum2 = (this.importList.fNetweight / 1000).toFixed(2);
|
|
|
+ this.tfNetweightnum2 = (this.importList.fNetweight / 1000).toFixed(4);
|
|
|
this.importList.fGrossweight = Number(
|
|
|
- (this.importList.fQty * Num2).toFixed(2)
|
|
|
+ (this.importList.fQty * Num2).toFixed(4)
|
|
|
);
|
|
|
- this.tfGrossweightnum2 = (this.importList.fGrossweight / 1000).toFixed(2);
|
|
|
+ this.tfGrossweightnum2 = (this.importList.fGrossweight / 1000).toFixed(4);
|
|
|
}
|
|
|
},
|
|
|
imporComputer() {
|
|
@@ -7867,11 +7867,11 @@ export default {
|
|
|
this.importList.fGrossweight = this.Printinglist[0].fGrossweight;
|
|
|
this.importList.fNetweight = this.Printinglist[0].fNetweight;
|
|
|
this.tfNetweightnum2 = (this.importList.fNetweight / 1000).toFixed(
|
|
|
- 2
|
|
|
+ 4
|
|
|
);
|
|
|
this.tfGrossweightnum2 = (
|
|
|
this.importList.fGrossweight / 1000
|
|
|
- ).toFixed(2);
|
|
|
+ ).toFixed(4);
|
|
|
}
|
|
|
this.weightList = true;
|
|
|
}
|
|
@@ -8094,8 +8094,8 @@ export default {
|
|
|
this.fWarehouseidOptions = response.data;
|
|
|
});
|
|
|
this.allfPlanqty += row.fQty;
|
|
|
- this.tfNetweightnum2 = (row.fNetweight / 1000).toFixed(2);
|
|
|
- this.tfGrossweightnum2 = (row.fGrossweight / 1000).toFixed(2);
|
|
|
+ this.tfNetweightnum2 = (row.fNetweight / 1000).toFixed(4);
|
|
|
+ this.tfGrossweightnum2 = (row.fGrossweight / 1000).toFixed(4);
|
|
|
row.fBsdate = new Date(row.fBsdate).getTime();
|
|
|
row.fBusinessType = row.fBusinessType.toString();
|
|
|
row.fCntrtype = Number(row.fCntrtype);
|