Browse Source

完善定调价管理

master
yunuo970428 1 month ago
parent
commit
9214d25a9b
  1. 9
      yxt-as-ui/src/views/storage/adjustment/adjustmentAdd.vue
  2. 4
      yxt-as-ui/src/views/workFlow/adjustmentFlow/adjustmentEdit.vue

9
yxt-as-ui/src/views/storage/adjustment/adjustmentAdd.vue

@ -204,10 +204,9 @@ export default {
saveOrUpdate() {
if (this.formobj.smsPricestrategyBillDetailList.length > 0) {
for (var i = 0; i < this.formobj.smsPricestrategyBillDetailList.length; i++) {
if (this.formobj.smsPricestrategyBillDetailList[i].strategyType = '') {
this.$message({ showClose: true, type: 'warning', message: '商品类别列表中价格策略不能为空' })
return
}
if (this.formobj.smsPricestrategyBillDetailList[i].strategyType === '') {
this.$message({ showClose: true, type: 'warning', message: '商品类别列表中价格策略不能为空' })
}
}
} else {
this.$message({ showClose: true, type: 'warning', message: '商品类别列表不能为空' })
@ -236,7 +235,7 @@ export default {
submit() {
if (this.formobj.smsPricestrategyBillDetailList.length > 0) {
for (var i = 0; i < this.formobj.smsPricestrategyBillDetailList.length; i++) {
if (this.formobj.smsPricestrategyBillDetailList[i].strategyType = '') {
if (this.formobj.smsPricestrategyBillDetailList[i].strategyType === '') {
this.$message({ showClose: true, type: 'warning', message: '商品类别列表中价格策略不能为空' })
return
}

4
yxt-as-ui/src/views/workFlow/adjustmentFlow/adjustmentEdit.vue

@ -221,7 +221,7 @@ export default {
saveOrUpdate() {
if (this.formobj.smsPricestrategyBillDetailList.length > 0) {
for (var i = 0; i < this.formobj.smsPricestrategyBillDetailList.length; i++) {
if (this.formobj.smsPricestrategyBillDetailList[i].strategyType = '') {
if (this.formobj.smsPricestrategyBillDetailList[i].strategyType === '') {
this.$message({ showClose: true, type: 'warning', message: '商品类别列表中价格策略不能为空' })
return
}
@ -260,7 +260,7 @@ export default {
submit() {
if (this.formobj.smsPricestrategyBillDetailList.length > 0) {
for (var i = 0; i < this.formobj.smsPricestrategyBillDetailList.length; i++) {
if (this.formobj.smsPricestrategyBillDetailList[i].strategyType = '') {
if (this.formobj.smsPricestrategyBillDetailList[i].strategyType === '') {
this.$message({ showClose: true, type: 'warning', message: '商品类别列表中价格策略不能为空' })
return
}

Loading…
Cancel
Save