|
@@ -626,7 +626,7 @@ export default {
|
|
|
methods: {
|
|
|
async initForm() {
|
|
|
this.loading = true;
|
|
|
- console.log(this.pay_status);
|
|
|
+ // console.log(this.pay_status);
|
|
|
this.pdisabled =
|
|
|
parseInt(this.pay_status) === 0 && parseInt(this.dstatus) === 0;
|
|
|
if (this.isDetail === "003" || this.isDetail === "007") {
|
|
@@ -703,7 +703,7 @@ export default {
|
|
|
this.spread = !this.spread;
|
|
|
},
|
|
|
addGoods() {
|
|
|
- console.log(this.supplierNo);
|
|
|
+ // console.log(this.supplierNo);
|
|
|
if (this.supplierNo.length === 1) {
|
|
|
this.changeModelId = this.supplierNo[0];
|
|
|
if (this.ruleForm.goodList && this.ruleForm.goodList.length > 0) {
|
|
@@ -959,7 +959,7 @@ export default {
|
|
|
} else {
|
|
|
this.show = false;
|
|
|
}
|
|
|
- console.log(value);
|
|
|
+ // console.log(value);
|
|
|
},
|
|
|
delGoods(index) {
|
|
|
this.ruleForm.goodList.splice(index, 1);
|
|
@@ -972,13 +972,13 @@ export default {
|
|
|
if (valid) {
|
|
|
let listTotal = 0;
|
|
|
this.ruleForm.goodList.forEach((v1) => {
|
|
|
- console.log(v1.purchasePrice);
|
|
|
- console.log(v1.purchasePrice * 1);
|
|
|
+ // console.log(v1.purchasePrice);
|
|
|
+ // console.log(v1.purchasePrice * 1);
|
|
|
listTotal += v1.purchasePrice * 1;
|
|
|
listTotal =
|
|
|
listTotal === 0 ? 0 : parseFloat(this.setNum(listTotal));
|
|
|
});
|
|
|
- console.log(this.scaleTotal, listTotal);
|
|
|
+ // console.log(this.scaleTotal, listTotal);
|
|
|
// console.log(listTotal);
|
|
|
const obj = JSON.parse(JSON.stringify(this.ruleForm));
|
|
|
if (obj.account[obj.account.length - 1] !== "2") {
|