Commit dd5ab8bd authored by zhengke's avatar zhengke

修改

parent 0abc2ee8
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</q-input> </q-input>
</div> </div>
</div> </div>
<div class="row wrap"> <div class="row wrap" style="display:none;">
<div class="col-6"> <div class="col-6">
<q-input filled stack-label maxlength="8" :dense="false" v-model="objOption.OriginalPrice" <q-input filled stack-label maxlength="8" :dense="false" v-model="objOption.OriginalPrice"
ref="OriginalPrice" class="col-6 q-pr-lg q-pb-lg" label="原价" ref="OriginalPrice" class="col-6 q-pr-lg q-pb-lg" label="原价"
......
...@@ -26,10 +26,10 @@ ...@@ -26,10 +26,10 @@
</q-select> </q-select>
<q-select standout="bg-primary text-white" option-value="Id" option-label="Name" v-model="OrderMsg.OrderSource" <q-select standout="bg-primary text-white" option-value="Id" option-label="Name" v-model="OrderMsg.OrderSource"
:options="SourceEnumList" emit-value map-options class="q-pb-lg" label="客人来源" /> :options="SourceEnumList" emit-value map-options class="q-pb-lg" label="客人来源" />
<q-input v-if="OrderMsg.OrderSource==3" filled stack-label :dense="false" v-model="OrderMsg.GeneralOccupation" class="col-12 q-pb-lg" label="一般同行" /> <q-input v-if="OrderMsg.OrderSource==3" filled stack-label :dense="false" maxlength="50" v-model="OrderMsg.GeneralOccupation" class="col-12 q-pb-lg" label="一般同行" />
<q-input v-if="OrderMsg.OrderSource==7" filled stack-label :dense="false" v-model="OrderMsg.EduOccupation" class="col-12 q-pb-lg" label="教育同行" /> <q-input v-if="OrderMsg.OrderSource==7" filled stack-label :dense="false" maxlength="50" v-model="OrderMsg.EduOccupation" class="col-12 q-pb-lg" label="教育同行" />
<q-toggle v-model="OrderMsg.IsLessPrice" :false-value="0" :true-value="1" label="是否少价" class="q-mb-md" /> <q-toggle v-model="OrderMsg.IsLessPrice" :false-value="0" :true-value="1" label="是否少价" class="q-mb-md" />
<q-input v-if="OrderMsg.IsLessPrice==1" @keyup.native="checkPrice(OrderMsg,'LessPrice')" filled stack-label :dense="false" v-model="OrderMsg.LessPrice" class="col-12" label="少价金额" /> <q-input v-if="OrderMsg.IsLessPrice==1" @keyup.native="checkPrice(OrderMsg,'LessPrice')" maxlength="10" filled stack-label :dense="false" v-model="OrderMsg.LessPrice" class="col-12" label="少价金额" />
<q-input filled stack-label :dense="false" v-model="OrderMsg.SaleRemark" style="margin-top: 20px" <q-input filled stack-label :dense="false" v-model="OrderMsg.SaleRemark" style="margin-top: 20px"
type="textarea" class="col-12" label="备注" /> type="textarea" class="col-12" label="备注" />
<div style="margin:30px 10px 0 0;"> <div style="margin:30px 10px 0 0;">
...@@ -118,6 +118,12 @@ ...@@ -118,6 +118,12 @@
if (res.Code == 1) { if (res.Code == 1) {
this.EmployeeList = res.Data; this.EmployeeList = res.Data;
this.AllemployeeList = res.Data; this.AllemployeeList = res.Data;
let obj = {
Id:0,
EmployeeName:'不限'
}
this.EmployeeList.unshift(obj);
this.AllemployeeList.unshift(obj);
} }
}).catch(() => {}) }).catch(() => {})
}, },
......
...@@ -249,10 +249,10 @@ ...@@ -249,10 +249,10 @@
</q-select> </q-select>
<q-select standout="bg-primary text-white" option-value="Id" option-label="Name" <q-select standout="bg-primary text-white" option-value="Id" option-label="Name"
v-model="enrollMsg.OrderSource" :options="SourceEnumList" class="q-pb-lg" emit-value map-options label="客人来源" /> v-model="enrollMsg.OrderSource" :options="SourceEnumList" class="q-pb-lg" emit-value map-options label="客人来源" />
<q-input v-if="enrollMsg.OrderSource==3" filled stack-label :dense="false" v-model="enrollMsg.GeneralOccupation" class="col-12 q-pb-lg" label="一般同行" /> <q-input v-if="enrollMsg.OrderSource==3" filled stack-label :dense="false" v-model="enrollMsg.GeneralOccupation" maxlength="50" class="col-12 q-pb-lg" label="一般同行" />
<q-input v-if="enrollMsg.OrderSource==7" filled stack-label :dense="false" v-model="enrollMsg.EduOccupation" class="col-12 q-pb-lg" label="教育同行" /> <q-input v-if="enrollMsg.OrderSource==7" filled stack-label :dense="false" v-model="enrollMsg.EduOccupation" maxlength="50" class="col-12 q-pb-lg" label="教育同行" />
<q-toggle v-model="enrollMsg.IsLessPrice" :false-value="0" :true-value="1" label="是否少价" class="q-mb-md" /> <q-toggle v-model="enrollMsg.IsLessPrice" :false-value="0" :true-value="1" label="是否少价" class="q-mb-md" />
<q-input v-if="enrollMsg.IsLessPrice==1" @keyup.native="checkPrice(enrollMsg,'LessPrice')" filled stack-label :dense="false" v-model="enrollMsg.LessPrice" class="col-12" label="少价金额" /> <q-input v-if="enrollMsg.IsLessPrice==1" @keyup.native="checkPrice(enrollMsg,'LessPrice')" filled stack-label maxlength="10" :dense="false" v-model="enrollMsg.LessPrice" class="col-12" label="少价金额" />
<q-input filled stack-label type="textarea" maxlength="500" :dense="false" v-model="enrollMsg.SaleRemark" <q-input filled stack-label type="textarea" maxlength="500" :dense="false" v-model="enrollMsg.SaleRemark"
style="margin-top: 20px" class="col-12" label="备注" /> style="margin-top: 20px" class="col-12" label="备注" />
<div style="margin:30px 10px 0 0;"> <div style="margin:30px 10px 0 0;">
...@@ -379,6 +379,12 @@ ...@@ -379,6 +379,12 @@
if (res.Code == 1) { if (res.Code == 1) {
this.EmployeeList = res.Data; this.EmployeeList = res.Data;
this.AllemployeeList = res.Data; this.AllemployeeList = res.Data;
let obj = {
Id:0,
EmployeeName:'不限'
}
this.EmployeeList.unshift(obj);
this.AllemployeeList.unshift(obj);
} }
}).catch(() => {}) }).catch(() => {})
}, },
......
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