Commit 7c779d61 authored by 罗超's avatar 罗超

1

parent 92fdaf65
......@@ -47,8 +47,8 @@
</div>
<div style="margin:30px 10px 70px 0;">
<q-btn class="q-mr-md" label="取消" @click="closeEditOrder" />
<q-btn color="accent" class="q-mr-md" label="保存" v-if="saveObj.PaymentWay!==1" @click="saveOrderInfo()" />
<q-btn color="accent disableStatus" class="q-mr-md"v-if="saveObj.PaymentWay===1" label="保存" />
<q-btn color="accent" class="q-mr-md" label="保存" v-if="saveObj.PaymentWay!==1&&saveObj.Status!==1" @click="saveOrderInfo()" />
<q-btn color="accent disableStatus" class="q-mr-md"v-else label="保存" />
</div>
</div>
</q-card>
......@@ -170,6 +170,13 @@
}, (res) => {
if (res.data.resultCode === 1) {
this.stuList = res.data.data
this.stuList.forEach(item=>{
if(item.StuName=='男'){
item.StuId=1
}else if(item.StuName=='女'){
item.StuId=2
}
})
} else {
this.Error(res.data.message);
}
......
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