Commit 8e3af8b1 authored by zhengke's avatar zhengke

1

parent e3670695
...@@ -40,6 +40,16 @@ ...@@ -40,6 +40,16 @@
</q-item> </q-item>
</template> </template>
</q-select> </q-select>
<q-input
disable
v-if="OrderMsg.EnterId > 0"
filled
stack-label
v-model="EnterName"
class="col-6 q-py-sm"
label="市场人员"
/>
<q-input filled stack-label :dense="false" v-model="OrderMsg.SaleRemark" type="textarea" class="col-12 q-py-sm" <q-input filled stack-label :dense="false" v-model="OrderMsg.SaleRemark" type="textarea" class="col-12 q-py-sm"
label="备注" /> label="备注" />
</div> </div>
...@@ -110,16 +120,25 @@ ...@@ -110,16 +120,25 @@
HelpEnterId: '', //协助老师 HelpEnterId: '', //协助老师
CourseConsultantId: '', //课程顾问 CourseConsultantId: '', //课程顾问
SourceId: 1, //传入Id SourceId: 1, //传入Id
SaleRemark: '' //备注 SaleRemark: '', //备注
} EnterId: 0 //市场人员
},
EnterName:''
}; };
}, },
created() { created() {
console.log(this.select,'select');
console.log(this.saveObj,'saveobj');
if (this.saveObj) { if (this.saveObj) {
this.OrderMsg.SourceId = this.saveObj.Id; this.OrderMsg.SourceId = this.saveObj.Id;
this.OrderMsg.Unit_Price = this.saveObj.SellPrice; this.OrderMsg.Unit_Price = this.saveObj.SellPrice;
this.OrderMsg.PreferPrice = this.OrderMsg.Unit_Price; this.OrderMsg.PreferPrice = this.OrderMsg.Unit_Price;
} }
if(this.select&&this.select.length>0){
this.OrderMsg.EnterId = this.select[0].CreateBy;
this.EnterName = this.select[0].CreateByName;
}
this.getOrderSEList(); this.getOrderSEList();
this.getEmployee(0); this.getEmployee(0);
this.getEmployee(2); this.getEmployee(2);
......
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