commit
d59ab3b69b
@ -19,7 +19,7 @@ stdiet:
|
|||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
server:
|
server:
|
||||||
# 服务器的HTTP端口,默认为8080
|
# 服务器的HTTP端口,默认为8080
|
||||||
port: 8091
|
port: 8090
|
||||||
servlet:
|
servlet:
|
||||||
# 应用的访问路径
|
# 应用的访问路径
|
||||||
context-path: /
|
context-path: /
|
||||||
@ -186,5 +186,6 @@ aliyun:
|
|||||||
|
|
||||||
lucene:
|
lucene:
|
||||||
index:
|
index:
|
||||||
nutritionQuestion: D:\develop\LuceneIndex\nutritionQuestion
|
# nutritionQuestion: D:\develop\LuceneIndex\nutritionQuestion
|
||||||
|
nutritionQuestion: /Users/wonder/Documents/Workspaces/java/ShengtangManage/running/uploadPath/nutritionQuestion
|
||||||
|
|
||||||
|
@ -53,8 +53,12 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="收款账号" prop="accountId">
|
<el-form-item label="进粉渠道" prop="accountId">
|
||||||
<el-select v-model="form.accountId" placeholder="请选择">
|
<el-select
|
||||||
|
v-model="form.accountId"
|
||||||
|
placeholder="请选择"
|
||||||
|
@change="handleOnChanelIdChange"
|
||||||
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in accountIdOptions"
|
v-for="dict in accountIdOptions"
|
||||||
:key="dict.dictValue"
|
:key="dict.dictValue"
|
||||||
@ -157,10 +161,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8" v-show="orderRateOptionsShow">
|
<el-col :span="8" v-show="orderRateOptionsShow">
|
||||||
<el-form-item label="拆分比例" prop="nutritionistRate">
|
<el-form-item label="拆分比例" prop="nutritionistRate">
|
||||||
<el-select
|
<el-select v-model="form.nutritionistRate" placeholder="请选择">
|
||||||
v-model="form.nutritionistRate"
|
|
||||||
placeholder="请选择"
|
|
||||||
>
|
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in orderRateOptions"
|
v-for="dict in orderRateOptions"
|
||||||
:key="dict.dictValue"
|
:key="dict.dictValue"
|
||||||
@ -672,12 +673,15 @@ export default {
|
|||||||
handleOrderTypeChange() {
|
handleOrderTypeChange() {
|
||||||
// console.log(this.form.orderTypeList);
|
// console.log(this.form.orderTypeList);
|
||||||
},
|
},
|
||||||
|
handleOnChanelIdChange(val) {
|
||||||
|
this.initPlanningAndOperation();
|
||||||
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
// 监听收款账号的变化
|
// 监听收款账号的变化
|
||||||
"form.accountId": function (newVal, oldVal) {
|
// "form.accountId": function (newVal, oldVal) {
|
||||||
this.initPlanningAndOperation();
|
// this.initPlanningAndOperation();
|
||||||
},
|
// },
|
||||||
"form.orderTypeList": function (newVal, oldVal) {
|
"form.orderTypeList": function (newVal, oldVal) {
|
||||||
//判断订单类型是否选择了二开
|
//判断订单类型是否选择了二开
|
||||||
if (newVal[1] == 1) {
|
if (newVal[1] == 1) {
|
||||||
|
@ -11,7 +11,11 @@
|
|||||||
<el-form ref="form" :model="form" :rules="rules" label-width="90px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="90px">
|
||||||
<el-col :span="16">
|
<el-col :span="16">
|
||||||
<el-form-item label="订单类型" prop="orderTypeName">
|
<el-form-item label="订单类型" prop="orderTypeName">
|
||||||
<el-input v-model="form.orderTypeName" placeholder="" :disabled="true"/>
|
<el-input
|
||||||
|
v-model="form.orderTypeName"
|
||||||
|
placeholder=""
|
||||||
|
:disabled="true"
|
||||||
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
@ -32,8 +36,12 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="收款账号" prop="accountId">
|
<el-form-item label="进粉渠道" prop="accountId">
|
||||||
<el-select v-model="form.accountId" placeholder="请选择">
|
<el-select
|
||||||
|
v-model="form.accountId"
|
||||||
|
placeholder="请选择"
|
||||||
|
@change="handleOnChannelIdChange"
|
||||||
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in accountIdOptions"
|
v-for="dict in accountIdOptions"
|
||||||
:key="dict.dictValue"
|
:key="dict.dictValue"
|
||||||
@ -389,7 +397,7 @@ export default {
|
|||||||
//是否显示售后、营养师、营养师助理
|
//是否显示售后、营养师、营养师助理
|
||||||
afterSaleNutriAssShow: true,
|
afterSaleNutriAssShow: true,
|
||||||
//是否显示策划、策划助理、运营、运营助理
|
//是否显示策划、策划助理、运营、运营助理
|
||||||
planOperatorShow: true
|
planOperatorShow: true,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@ -571,9 +579,9 @@ export default {
|
|||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
// console.log("--"+obj.orderType);
|
// console.log("--"+obj.orderType);
|
||||||
this.onSaleShow = this.form.orderType == "2";
|
this.onSaleShow = this.form.orderType == "2";
|
||||||
this.afterSaleNutriAssShow = this.form.orderType != "2" && this.form.afterSaleCommissOrder == 0;
|
this.afterSaleNutriAssShow =
|
||||||
|
this.form.orderType != "2" && this.form.afterSaleCommissOrder == 0;
|
||||||
this.planOperatorShow = this.form.afterSaleCommissOrder == 0;
|
this.planOperatorShow = this.form.afterSaleCommissOrder == 0;
|
||||||
|
|
||||||
},
|
},
|
||||||
handleOnClosed() {
|
handleOnClosed() {
|
||||||
this.reset();
|
this.reset();
|
||||||
@ -609,13 +617,17 @@ export default {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
handleOnChannelIdChange(val) {
|
||||||
watch: {
|
console.log(val);
|
||||||
// 监听收款账号的变化
|
|
||||||
"form.accountId": function (newVal, oldVal) {
|
|
||||||
// console.log("updte");
|
|
||||||
this.initPlanningAndOperation();
|
this.initPlanningAndOperation();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
// 监听收款账号的变化
|
||||||
|
// "form.accountId": function (newVal, oldVal) {
|
||||||
|
// // console.log("updte");
|
||||||
|
// this.initPlanningAndOperation();
|
||||||
|
// },
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user