chenrui před 1 rokem
rodič
revize
1a62323012

+ 4 - 0
src/views/productManagement/productInfo/edit.vue

@@ -392,6 +392,10 @@ export default {
           }
           delete form.productType
           _this.spinning = true
+          // 后台不要为null的值
+          form.carOwnersPrice = !form.carOwnersPrice ? '' : form.carOwnersPrice
+          form.specialPrice = !form.specialPrice ? '' : form.specialPrice
+          form.terminalPrice = !form.terminalPrice ? '' : form.terminalPrice
           dealerProductSave(form).then(res => {
             if (res.status == 200) {
               _this.$message.success(res.message)