|
@@ -96,21 +96,42 @@
|
|
|
<el-input v-model="form.deptName" placeholder="请输入部门名称" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="显示排序" prop="orderNum">
|
|
|
<el-input-number v-model="form.orderNum" controls-position="right" :min="0" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="油站类型" prop="singleStationFlag" :required="isShow" v-show="isShow">
|
|
|
+ <el-radio-group v-model="form.singleStationFlag">
|
|
|
+ <el-radio
|
|
|
+ label="0"
|
|
|
+ >
|
|
|
+ 单站
|
|
|
+ </el-radio>
|
|
|
+ <el-radio
|
|
|
+ label="1"
|
|
|
+ >
|
|
|
+ 集团站
|
|
|
+ </el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="负责人" prop="leader">
|
|
|
<el-input v-model="form.leader" placeholder="请输入负责人" maxlength="20" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="联系电话" prop="phone">
|
|
|
<el-input v-model="form.phone" placeholder="请输入联系电话" maxlength="11" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="邮箱" prop="email">
|
|
|
<el-input v-model="form.email" placeholder="请输入邮箱" maxlength="50" />
|
|
@@ -122,43 +143,43 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
- <el-col :span="12" v-show=isShow>
|
|
|
+ <el-col :span="12" v-show="isShow">
|
|
|
<el-form-item label="油站地址" prop="deptAddress">
|
|
|
<el-input v-model="form.deptAddress" maxlength="50" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
- <el-col :span="12" v-show=isShow>
|
|
|
+ <el-col :span="12" v-show="isShow">
|
|
|
<el-form-item label="油枪数量" prop="oilGunNum">
|
|
|
<el-input v-model="form.oilGunNum" maxlength="50" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="12" v-show=isShow>
|
|
|
+ <el-col :span="12" v-show="isShow">
|
|
|
<el-form-item label="油站照片" prop="stationPic">
|
|
|
<el-input v-model="form.stationPic" maxlength="50" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="12" v-show=isShow>
|
|
|
+ <el-col :span="12" v-show="isShow">
|
|
|
<el-form-item label="油站经度" prop="stationLatitude">
|
|
|
<el-input v-model="form.stationLatitude" maxlength="50" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="12" v-show=isShow>
|
|
|
+ <el-col :span="12" v-show="isShow">
|
|
|
<el-form-item label="油站纬度" prop="stationLongitude">
|
|
|
<el-input v-model="form.stationLongitude" maxlength="50" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="12" v-show=isShow>
|
|
|
+ <el-col :span="12" v-show="isShow">
|
|
|
<el-form-item label="商户号" prop="mno">
|
|
|
<el-input v-model="form.mno" maxlength="50" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="12" v-show=isShow>
|
|
|
+ <el-col :span="12" v-show="isShow">
|
|
|
<el-form-item label="小程序appID" prop="appId">
|
|
|
<el-input v-model="form.appId" maxlength="50" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="12" v-show=isShow>
|
|
|
+ <el-col :span="12" v-show="isShow">
|
|
|
<el-form-item label="小程序appSecret" prop="appSecret">
|
|
|
<el-input v-model="form.appSecret" maxlength="50" />
|
|
|
</el-form-item>
|
|
@@ -227,6 +248,9 @@ export default {
|
|
|
orderNum: [
|
|
|
{ required: true, message: "显示排序不能为空", trigger: "blur" }
|
|
|
],
|
|
|
+ // singleStationFlag: [
|
|
|
+ // { required: true, message: "站点类型不能为空", trigger: "change" }
|
|
|
+ // ],
|
|
|
email: [
|
|
|
{
|
|
|
type: "email",
|
|
@@ -268,7 +292,6 @@ export default {
|
|
|
selectDepart(val) {
|
|
|
this.form.jiBie=parseInt(val.jiBie)+1;
|
|
|
if(val.jiBie==1){
|
|
|
- console.log("123123123");
|
|
|
this.isShow=true;
|
|
|
}else{
|
|
|
this.isShow=false;
|