Browse Source

完善采购申请管理

master
yunuo970428 11 months ago
parent
commit
30f818a3f6
  1. 2
      yxt-as-ui/src/views/purchase/procurement/procurementAdd.vue
  2. 2
      yxt-as-ui/src/views/purchase/procurement/procurementInfo.vue
  3. 2
      yxt-as-ui/src/views/workFlow/caigouFlow/procurementDaiBan.vue
  4. 2
      yxt-as-ui/src/views/workFlow/caigouFlow/procurementEdit.vue
  5. 2
      yxt-as-ui/src/views/workFlow/caigouFlow/procurementYiBan.vue

2
yxt-as-ui/src/views/purchase/procurement/procurementAdd.vue

@ -359,7 +359,7 @@ export default {
if (this.formobj.pmsPurchaseBillDetailList.length > 0) { if (this.formobj.pmsPurchaseBillDetailList.length > 0) {
this.formobj.pmsPurchaseBillDetailList.forEach((e) => { this.formobj.pmsPurchaseBillDetailList.forEach((e) => {
if (e.goodsSpuName !== '') { if (e.goodsSpuName !== '') {
sl = Math.round((parseFloat(sl) + parseFloat(e.count !== '' ? e.count : '0')) * 100) / 100 sl = Math.round((parseFloat(sl) + parseFloat(e.count === null ? '0' : e.count !== '' ? e.count : '0')) * 100) / 100
} }
}) })
} }

2
yxt-as-ui/src/views/purchase/procurement/procurementInfo.vue

@ -262,7 +262,7 @@ export default {
if (this.formobj.pmsPurchaseBillDetailList.length > 0) { if (this.formobj.pmsPurchaseBillDetailList.length > 0) {
this.formobj.pmsPurchaseBillDetailList.forEach((e) => { this.formobj.pmsPurchaseBillDetailList.forEach((e) => {
if (e.goodsSpuName !== '') { if (e.goodsSpuName !== '') {
sl = Math.round((parseFloat(sl) + parseFloat(e.count !== '' ? e.count : '0')) * 100) / 100 sl = Math.round((parseFloat(sl) + parseFloat(e.count === null ? '0' : e.count !== '' ? e.count : '0')) * 100) / 100
} }
}) })
} }

2
yxt-as-ui/src/views/workFlow/caigouFlow/procurementDaiBan.vue

@ -368,7 +368,7 @@ export default {
if (this.formobj.pmsPurchaseBillDetailList.length > 0) { if (this.formobj.pmsPurchaseBillDetailList.length > 0) {
this.formobj.pmsPurchaseBillDetailList.forEach((e) => { this.formobj.pmsPurchaseBillDetailList.forEach((e) => {
if (e.goodsSpuName !== '') { if (e.goodsSpuName !== '') {
sl = Math.round((parseFloat(sl) + parseFloat(e.count !== '' ? e.count : '0')) * 100) / 100 sl = Math.round((parseFloat(sl) + parseFloat(e.count === null ? '0' : e.count !== '' ? e.count : '0')) * 100) / 100
} }
}) })
} }

2
yxt-as-ui/src/views/workFlow/caigouFlow/procurementEdit.vue

@ -375,7 +375,7 @@ export default {
if (this.formobj.pmsPurchaseBillDetailList.length > 0) { if (this.formobj.pmsPurchaseBillDetailList.length > 0) {
this.formobj.pmsPurchaseBillDetailList.forEach((e) => { this.formobj.pmsPurchaseBillDetailList.forEach((e) => {
if (e.goodsSpuName !== '') { if (e.goodsSpuName !== '') {
sl = Math.round((parseFloat(sl) + parseFloat(e.count !== '' ? e.count : '0')) * 100) / 100 sl = Math.round((parseFloat(sl) + parseFloat(e.count === null ? '0' : e.count !== '' ? e.count : '0')) * 100) / 100
} }
}) })
} }

2
yxt-as-ui/src/views/workFlow/caigouFlow/procurementYiBan.vue

@ -297,7 +297,7 @@ export default {
if (this.formobj.pmsPurchaseBillDetailList.length > 0) { if (this.formobj.pmsPurchaseBillDetailList.length > 0) {
this.formobj.pmsPurchaseBillDetailList.forEach((e) => { this.formobj.pmsPurchaseBillDetailList.forEach((e) => {
if (e.goodsSpuName !== '') { if (e.goodsSpuName !== '') {
sl = Math.round((parseFloat(sl) + parseFloat(e.count !== '' ? e.count : '0')) * 100) / 100 sl = Math.round((parseFloat(sl) + parseFloat(e.count === null ? '0' : e.count !== '' ? e.count : '0')) * 100) / 100
} }
}) })
} }

Loading…
Cancel
Save