mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 08:55:52 +08:00
Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop-ui
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<InputNumber :min="1" :max="365" style="width:100px;" v-model="form.distributionDay"></InputNumber>
|
||||
</FormItem>
|
||||
<FormItem label="分销结算天数" prop="cashDay">
|
||||
<InputNumber :min="1" :max="365" style="width:100px;" v-model="form.cashDay"></InputNumber>
|
||||
<InputNumber :min="0" :max="365" style="width:100px;" v-model="form.cashDay"></InputNumber>
|
||||
</FormItem>
|
||||
<FormItem>
|
||||
<Button type="primary" @click="submit">保存</Button>
|
||||
|
||||
@@ -465,10 +465,11 @@ export default {
|
||||
|
||||
// 提交修改数据
|
||||
handleSubmitModal() {
|
||||
debugger
|
||||
const { nickName, sex, username, face, newPassword,id } = this.form;
|
||||
let time = new Date(this.form.birthday);
|
||||
let birthday = time ?
|
||||
time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() : '';
|
||||
let birthday = this.form.birthday=== undefined?'':
|
||||
time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate();
|
||||
let submit = {
|
||||
regionId: this.form.regionId,
|
||||
region: this.form.region,
|
||||
|
||||
@@ -169,7 +169,7 @@ export default {
|
||||
// 开启或关闭活动
|
||||
openOrClose(row) {
|
||||
let name = "开启";
|
||||
if (row.promotionStatus === "START") {
|
||||
if (row.promotionStatus === 'NEW' ||row.promotionStatus === "START") {
|
||||
name = "关闭";
|
||||
this.$Modal.confirm({
|
||||
title: "提示",
|
||||
|
||||
@@ -87,7 +87,17 @@
|
||||
<p class="item">
|
||||
<span class="label">店铺所在地:</span>
|
||||
<span class="info">
|
||||
{{storeInfo.storeAddressPath || storeInfo.storeAddressDetail?storeInfo.storeAddressPath +storeInfo.storeAddressDetail:"暂未完善"}}
|
||||
<span>
|
||||
{{
|
||||
(storeInfo.storeAddressPath!==null && storeInfo.storeAddressPath!=='' && storeInfo.storeAddressPath!=="null" && storeInfo.storeAddressPath!==undefined )? storeInfo.storeAddressPath: ""
|
||||
}}
|
||||
</span>
|
||||
<span>
|
||||
{{
|
||||
(storeInfo.storeAddressDetail!==null && storeInfo.storeAddressDetail!=='' && storeInfo.storeAddressDetail!=="null" && storeInfo.storeAddressDetail!==undefined )? storeInfo.storeAddressDetail:""
|
||||
}}
|
||||
</span>
|
||||
{{(storeInfo.storeAddressPath!==null && storeInfo.storeAddressPath!=='' && storeInfo.storeAddressPath!=="null" && storeInfo.storeAddressPath!==undefined) || (storeInfo.storeAddressDetail!==null && storeInfo.storeAddressDetail!=='' && storeInfo.storeAddressDetail!=="null" && storeInfo.storeAddressDetail!==undefined )?"":"暂未完善"}}
|
||||
</span>
|
||||
</p>
|
||||
<p class="item">
|
||||
|
||||
@@ -5,21 +5,40 @@
|
||||
<RadioGroup v-model="formValidate.type" type="button">
|
||||
<Radio label="KDNIAO">快递鸟</Radio>
|
||||
<Radio label="KUAIDI100">快递100</Radio>
|
||||
<Radio label="SHUNFENG">顺丰</Radio>
|
||||
</RadioGroup>
|
||||
</FormItem>
|
||||
<FormItem v-if="formValidate.type==='KDNIAO'" label="快递鸟 商户ID" prop="kdniaoEbusinessID">
|
||||
<FormItem v-if="formValidate.type === 'KDNIAO'" label="快递鸟 商户ID" prop="kdniaoEbusinessID">
|
||||
<Input v-model="formValidate.kdniaoEbusinessID" />
|
||||
</FormItem>
|
||||
<FormItem v-if="formValidate.type==='KDNIAO'" label="快递鸟 AppKey" prop="kdniaoAppKey">
|
||||
<FormItem v-if="formValidate.type === 'KDNIAO'" label="快递鸟 AppKey" prop="kdniaoAppKey">
|
||||
<Input class="label-appkey" v-model="formValidate.kdniaoAppKey" />
|
||||
</FormItem>
|
||||
|
||||
<FormItem v-if="formValidate.type==='KUAIDI100'" label="快递100 授权码" prop="kuaidi100Customer">
|
||||
<FormItem v-if="formValidate.type === 'KUAIDI100'" label="快递100 授权码" prop="kuaidi100Customer">
|
||||
<Input class="label-appkey" v-model="formValidate.kuaidi100Customer" />
|
||||
</FormItem>
|
||||
<FormItem v-if="formValidate.type==='KUAIDI100'" label="快递100 Key" prop="kuaidi100Key">
|
||||
<FormItem v-if="formValidate.type === 'KUAIDI100'" label="快递100 Key" prop="kuaidi100Key">
|
||||
<Input class="label-appkey" v-model="formValidate.kuaidi100Key" />
|
||||
</FormItem>
|
||||
<div v-if="formValidate.type === 'SHUNFENG'">
|
||||
<FormItem label="顾客编码" prop="clientCode">
|
||||
<Input v-model="formValidate.clientCode" />
|
||||
</FormItem>
|
||||
<FormItem label="校验码" prop="checkWord">
|
||||
<Input v-model="formValidate.checkWord" />
|
||||
</FormItem>
|
||||
<FormItem label="请求地址" prop="callUrl">
|
||||
<Input class="label-appkey" v-model="formValidate.callUrl" />
|
||||
</FormItem>
|
||||
|
||||
<FormItem label="打印模板" prop="templateCode">
|
||||
<Input class="label-appkey" v-model="formValidate.templateCode" />
|
||||
</FormItem>
|
||||
<FormItem label="月结号" prop="monthlyCardNo">
|
||||
<Input class="label-appkey" v-model="formValidate.monthlyCardNo" />
|
||||
</FormItem>
|
||||
</div>
|
||||
<div class="label-btns">
|
||||
<Button type="primary" @click="submit('formValidate')">保存</Button>
|
||||
</div>
|
||||
@@ -36,12 +55,13 @@ export default {
|
||||
formValidate: { // 表单数据
|
||||
type: "",
|
||||
kdniaoEbusinessID: "",
|
||||
kdniaoAppKey: "" ,
|
||||
kuaidi100Customer: "" ,
|
||||
kuaidi100Key: "" ,},
|
||||
kdniaoAppKey: "",
|
||||
kuaidi100Customer: "",
|
||||
kuaidi100Key: "",
|
||||
},
|
||||
};
|
||||
},
|
||||
props: ["res",'type'],
|
||||
props: ["res", 'type'],
|
||||
created() {
|
||||
this.init();
|
||||
},
|
||||
@@ -49,7 +69,7 @@ export default {
|
||||
// 验证
|
||||
submit(name) {
|
||||
let that = this;
|
||||
if( handleSubmit(that, name )){
|
||||
if (handleSubmit(that, name)) {
|
||||
this.setupSetting()
|
||||
}
|
||||
},
|
||||
@@ -83,15 +103,17 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "./style.scss";
|
||||
|
||||
.label-item {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/deep/ .ivu-input {
|
||||
width: 300px !important;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.ivu-input-wrapper {
|
||||
width: 300px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
</style>
|
||||
}</style>
|
||||
|
||||
Reference in New Issue
Block a user