Browse Source

完善采购管理、采购退货

master
yunuo970428 9 months ago
parent
commit
b0b67d7bed
  1. 4
      yxt-as-ui/src/views/purchase/procurement/procurementAdd.vue
  2. 4
      yxt-as-ui/src/views/purchase/purchasereturn/purchasereturnAdd.vue
  3. 4
      yxt-as-ui/src/views/workFlow/caigouFlow/procurementEdit.vue
  4. 4
      yxt-as-ui/src/views/workFlow/caigoutuihuoFlow/purchasereturnEdit.vue

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

@ -638,6 +638,10 @@ export default {
submit() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
if (this.formobj.pmsPurchaseBillDetailList.length === 0) {
this.$message({ showClose: true, type: 'error', message: '商品列表不能为空' })
return
}
this.submitdisabled = true
this.formobj.payableAmount = this.yfTotal
this.formobj.purchasePay.goodsMoney = this.calculateGoodsMoney

4
yxt-as-ui/src/views/purchase/purchasereturn/purchasereturnAdd.vue

@ -423,6 +423,10 @@ export default {
submit() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
if (this.formobj.pmsPurchasebackDetailList.length === 0) {
this.$message({ showClose: true, type: 'error', message: '商品列表不能为空' })
return
}
this.submitdisabled = true
this.formobj.receivableAmount = this.ysTotal
req.submit(this.formobj).then((res) => {

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

@ -636,6 +636,10 @@ export default {
submit() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
if (this.formobj.pmsPurchaseBillDetailList.length === 0) {
this.$message({ showClose: true, type: 'error', message: '商品列表不能为空' })
return
}
this.submitdisabled = true
this.formobj.payableAmount = this.yfTotal
this.formobj.purchasePay.goodsMoney = this.calculateGoodsMoney

4
yxt-as-ui/src/views/workFlow/caigoutuihuoFlow/purchasereturnEdit.vue

@ -417,6 +417,10 @@ export default {
submit() {
this.$refs['form_obj'].validate((valid) => {
if (valid) {
if (this.formobj.pmsPurchasebackDetailList.length === 0) {
this.$message({ showClose: true, type: 'error', message: '商品列表不能为空' })
return
}
this.submitdisabled = true
this.formobj.receivableAmount = this.ysTotal
req.submit(this.formobj).then((res) => {

Loading…
Cancel
Save