Browse Source

Merge pull request 'zq-orderListTwo-0813' (#110) from zq-orderListTwo-0813 into master

Reviewed-on: #110
pull/113/head
zhangqi 2 weeks ago
parent
commit
bf1dff98a8
  1. 7
      src/components/GuipDialog.vue
  2. 5
      src/components/site/serviceSetting/showSet.vue
  3. 36
      src/views/agent/checkOrderList.vue

7
src/components/GuipDialog.vue

@ -1,7 +1,6 @@
<template> <template>
<el-dialog <el-dialog
:visible.sync="dialogShow" :visible.sync="dialogShow"
:title="title"
v-bind="$attrs" v-bind="$attrs"
append-to-body append-to-body
:width="width" :width="width"
@ -10,6 +9,12 @@
:class="type == 'center' ?'center' : 'normal'" :class="type == 'center' ?'center' : 'normal'"
:close-on-click-modal="closeOnClickModal" :close-on-click-modal="closeOnClickModal"
> >
<template #title>
<slot v-if="$slots.title" name="title"></slot>
<span v-else class="default-header">{{ title }}</span>
</template>
<!-- 默认内容插槽 -->
<!-- 自定义内容 --> <!-- 自定义内容 -->
<slot></slot> <slot></slot>
<!-- 底部按钮 --> <!-- 底部按钮 -->

5
src/components/site/serviceSetting/showSet.vue

@ -212,6 +212,11 @@ export default {
} }
</script> </script>
<style lang="scss"> <style lang="scss">
.flex-common{
h3{
color: #1E2226;
}
}
.card-item{ .card-item{
padding: 24px; padding: 24px;
display: flex; display: flex;

36
src/views/agent/checkOrderList.vue

@ -4,27 +4,34 @@
<div class="pageheader flex-between"> <div class="pageheader flex-between">
<span class="pagetitle">{{ pageTitle }}</span> <span class="pagetitle">{{ pageTitle }}</span>
<GuipButton size="table" type="ignore" @click="showPddSetting">拼多多发货</GuipButton> <GuipButton size="table" type="ignore" @click="showPddSetting">拼多多发货</GuipButton>
<GuipDialog :dialogVisible="dialogVisiblePddSetting" title="999" :confirmText="pddSettingConfirmText"
<GuipDialog :dialogVisible="dialogVisiblePddSetting" title="" :confirmText="pddSettingConfirmText"
cancelText="取消" :show-close-button="false" :show-cancel-button="true" @confirm="pddSetting" cancelText="取消" :show-close-button="false" :show-cancel-button="true" @confirm="pddSetting"
@cancel="closePddSetting" @close="closePddSetting" @dialogVisibleChange="dialogVisibleChange"> @cancel="closePddSetting" @close="closePddSetting" @dialogVisibleChange="dialogVisibleChange">
<!-- 自定义内容 --> <!-- 自定义内容 -->
<template #title>
<div class="custom-header">
<el-tabs v-model="pddSettingActiveName">
<el-tab-pane label="拼多多手工发货" name="1"></el-tab-pane>
<el-tab-pane label="拼多多自动发货" name="2"></el-tab-pane>
</el-tabs>
<i class="el-icon-close close-icon" @click="dialogVisiblePddSetting = false"></i>
</div>
</template>
<el-form> <el-form>
<el-tabs v-model="pddSettingActiveName" @tab-click="handleClick"> <div v-if="pddSettingActiveName == '1'">
<el-tab-pane label="拼多多手工发货" name="1">
<PromptText text='导出待发货订单excel,到拼多多导入该excel进行发货' :type="1" /> <PromptText text='导出待发货订单excel,到拼多多导入该excel进行发货' :type="1" />
<GuipSelect class="mt-16" label="选择站点" v-model="pddExportUid" <GuipSelect class="mt-16" label="选择站点" v-model="pddExportUid"
@change="selectPddExportSite()" :options="searchSiteList" valueKey="uid" labelKey="name" @change="selectPddExportSite()" :options="searchSiteList" valueKey="uid" labelKey="name"
:extraItem="{ label: '请选择站点', value: '0' }" placeholder="" clearable width="300px" /> :extraItem="{ label: '请选择站点', value: '0' }" placeholder="" clearable width="300px" />
</el-tab-pane> </div>
<el-tab-pane label="拼多多自动发货" name="2"> <div v-if="pddSettingActiveName == '2'">
<PromptText text='需要自己在拼多多购买自动发货软件,并设置下方规则' :type="1" /> <PromptText text='需要自己在拼多多购买自动发货软件,并设置下方规则' :type="1" />
<div class="flex-wrap mt-16"> <div class="flex gap12 flex-name2">
<div class="mb-16"> <div class="mb-16">
<p>提交规则</p> <p>提交规则</p>
</div> </div>
<div class="mt-16"> <div>
<div> <div>
<el-checkbox checked disabled><span <el-checkbox checked disabled><span
class="fontblue">允许未发货的有效订单提交检测不可取消</span></el-checkbox> class="fontblue">允许未发货的有效订单提交检测不可取消</span></el-checkbox>
@ -36,8 +43,7 @@
</div> </div>
</div> </div>
</div> </div>
</el-tab-pane> </div>
</el-tabs>
</el-form> </el-form>
</GuipDialog> </GuipDialog>
</div> </div>
@ -764,6 +770,16 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.custom-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
width: 100%;
}
.flex-name2{
margin-top: 26px;
align-items: flex-start;
}
.pageheader { .pageheader {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

Loading…
Cancel
Save