|
@@ -147,8 +147,8 @@ export default {
|
|
|
methods:{
|
|
|
submitForm(formName) {
|
|
|
this.$refs[formName].validate((valid) => {
|
|
|
- console.log(valid)
|
|
|
if (valid) {
|
|
|
+ this.SumPrice=0;
|
|
|
console.log(this.itemsArr)
|
|
|
var issubmit=true;
|
|
|
for(var g=0;g<this.itemsArr.length;g++){
|
|
@@ -157,6 +157,7 @@ export default {
|
|
|
//for(var k=0;k<this.itemsArr.length;k++){
|
|
|
this.SumPrice+=Number(this.itemsArr[g].itemTotal)
|
|
|
//}
|
|
|
+ console.log(this.SumPrice);
|
|
|
}else{
|
|
|
this.$message({
|
|
|
showClose: true,
|