Commit 28704d12 authored by 李超鹏's avatar 李超鹏

完工数据设置默认值

parent 83626db6
......@@ -253,7 +253,7 @@
self.$u.api.getCompleteConfigAndData(self.orderId).then((res) => {
if (res.code == 200) {
self.list = res.data.config
self.form = res.data.value
self.form = res.data.value || {}
} else {
console.log(res.message, "获取订单完工项目失败!");
}
......@@ -400,6 +400,7 @@
}else{
this.$set(this.form,innerItem.fieldsName,data.value)
}
console.log(this.form)
},
nextStep() {
if (this.tabIndex < this.list.length - 1) {
......@@ -633,7 +634,7 @@
.u-search-box {
padding: 18rpx 30rpx;
}
.order-tabs {
margin-top: 20rpx;
margin-bottom: 32rpx;
......
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