Commit d344a913 authored by mengwenhao's avatar mengwenhao

Merge branch 'dev' into test

parents e2c8f619 6cc7a5ff
...@@ -682,6 +682,12 @@ export default { ...@@ -682,6 +682,12 @@ export default {
this.optionsValue = [val.category_1_id, val.category_2_id]; this.optionsValue = [val.category_1_id, val.category_2_id];
this.rulesForm.useStartTime = this.formatDate(val.rule_start_time); this.rulesForm.useStartTime = this.formatDate(val.rule_start_time);
this.rulesForm.useEndTime = this.formatDate(val.rule_end_time); this.rulesForm.useEndTime = this.formatDate(val.rule_end_time);
console.log(val.original_price);
if (!val.original_price) {
this.$nextTick(() => {
this.goodsObj.original_price = "";
})
}
}, },
rejectVisible (val) { rejectVisible (val) {
if (!val) { if (!val) {
...@@ -1161,7 +1167,7 @@ export default { ...@@ -1161,7 +1167,7 @@ export default {
// 更改原价 // 更改原价
perPrice () { perPrice () {
if (!this.goodsObj.original_price) { if (!this.goodsObj.original_price || this.goodsObj.original_price == 0) {
this.$nextTick(() => { this.$nextTick(() => {
this.goodsObj.original_price = ""; this.goodsObj.original_price = "";
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment