This website works better with JavaScript.
Home
Explore
Help
Sign In
BWPB3
/
WxXuSaleEmployeeRole
Watch
9
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Activity
Browse Source
1、预报新建,创建客户只允许添加一位判断
2、特价申请选取框
master
chenxuhui
7 years ago
parent
a5b4fb85aa
commit
1d7f14d4cc
5 changed files
with
75 additions
and
29 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
pages/customerChooseTemplate/customerChooseTemplate.js
+27
-24
pages/guarantee/detail/detail.wxss
+44
-0
pages/specialOrderApplication/creatNewSpecialOrder/creatNewSpecialOrder.js
+2
-4
pages/specialOrderApplication/creatNewSpecialOrder/creatNewSpecialOrder.wxml
+1
-1
pages/specialOrderApplication/specialOrderApplication.js
+ 1
- 0
pages/customerChooseTemplate/customerChooseTemplate.js
View File
@ -41,6 +41,7 @@ Page({
// 多选框数值变化
checkboxValueChange
:
function
(
e
)
{
// 新建预报页面只允许选取一位客户
if
(
fromPage
==
"newForecast"
&&
e
.
detail
.
value
.
length
>
0
)
{
this
.
setData
(
{
checkBoxArray
:
e
.
detail
.
value
,
+ 27
- 24
pages/guarantee/detail/detail.wxss
View File
@ -117,27 +117,9 @@ page {
overflow: hidden;
}
.drawer_box {
width: 650rpx;
overflow: hidden;
position: fixed;
top: 50%;
left: 0;
z-index: 1001;
background: #fafafa;
margin: -150px 50rpx 0 50rpx;
border-radius: 3px;
}
.top {
height: 20%;
justify-content: center;
align-items: center;
}
.sousuo {
margin-right: 10%;
margin-left: 10%;
/* margin-right: 10%;
margin-left: 10%; */
text-align: center;
background: #d6d8da;
height: 40px;
@ -149,22 +131,43 @@ page {
overflow-y: scroll; /*超出父盒子高度可滚动*/
}
.drawer_box {
width: 650rpx;
overflow: hidden;
position: fixed;
top: 50%;
left: 0;
z-index: 1001;
background: #fafafa;
margin: -150px 50rpx 0 50rpx;
border-radius: 3px;
}
.btn_ok {
padding: 10px;
font: 20px "microsoft yahei";
text-align: center;
border-top: 1px solid #e8e8ea;
color: #3cc51f;
color: #2788f8;
}
.top {
height: 20%;
justify-content: center;
align-items: center;
}
.grid1 {
width: 100%;
border-bottom: 1px solid #c3c3c3;
padding-top: 5px;
padding-bottom: 10px;
/* padding-top: 5px;
padding-bottom: 10px; */
padding-top: 16rpx;
padding-bottom: 16rpx;
text-align: center;
}
.text3 {
font-size: 18px;
color: rgb(48, 48, 48);
}
}
+ 44
- 0
pages/specialOrderApplication/creatNewSpecialOrder/creatNewSpecialOrder.js
View File
@ -5,6 +5,45 @@ const app = getApp();
var
dateTimePicker
=
require
(
'../../../utils/dateTimePicker.js'
)
;
var
timechage
=
require
(
"../../../utils/dateTimeUtil.js"
)
var
getDept
=
"/MainSystem/B3MiniProgramRpc/Rpcs/BaseInfoRpc/GetDepartment"
;
var
getSaleKind
=
"/MainSystem/B3MiniProgramRpc/Rpcs/BaseInfoRpc/GetSaleKind"
function
GetSaleKind
(
that
,
v
)
{
let
method
=
getSaleKind
;
let
params
=
[
{
"InputValue"
:
v
,
"PageIndex"
:
0
,
"PageSize"
:
100
}
]
;
network
.
transfer_request
(
method
,
params
,
function
(
res
)
{
that
.
setData
(
{
currency
:
res
.
result
,
saletype
:
res
.
result
}
)
}
)
that
.
setData
(
{
which
:
"销售类型"
}
)
}
function
GetDepartment
(
that
,
inputValue
)
{
let
method
=
getDept
;
let
params
=
[
{
"InputValue"
:
inputValue
,
"PageIndex"
:
0
,
"PageSize"
:
100
}
]
;
network
.
transfer_request
(
method
,
params
,
function
(
res
)
{
that
.
setData
(
{
currency
:
res
.
result
,
department
:
res
.
result
}
)
}
)
that
.
setData
(
{
which
:
"部门"
}
)
}
function
GetAccountingUnit
(
that
,
inputValue
)
{
let
method
=
"/MainSystem/B3MiniProgramRpc/Rpcs/BaseInfoRpc/GetAccountingUnit"
;
let
params
=
[
{
@ -63,6 +102,11 @@ Page({
addrs
:
""
,
}
,
// 添加地址
getAddrs
:
function
(
e
)
{
this
.
data
.
addrs
=
e
.
detail
.
value
;
}
,
// 存货特价开始时间
bindStartTimeChange
:
function
(
e
)
{
var
itemIndex
=
e
.
currentTarget
.
dataset
.
index
;
+ 2
- 4
pages/specialOrderApplication/creatNewSpecialOrder/creatNewSpecialOrder.wxml
View File
@ -10,15 +10,13 @@
<swiper-item class="swiper-items1">
<view class='backGroundContainer'>
<view class='baseitem'>
<!-- <view class='baseitem'>
<text class='baseitem_key'>购货客户</text>
<view class='baseitem_value' bindtap="powerDrawer" data-statu="open" data-x='购货客户' data-item='{{which}}'>
{{customer[customerIndex].Name}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='horizontallineView'></view>
-->
<view class='baseitem'>
+ 1
- 1
pages/specialOrderApplication/specialOrderApplication.js
View File
@ -9,7 +9,7 @@ Page({
*
/
data
:
{
winHeight
:
app
.
globalData
.
winHeight
,
unCheckDataArr
:
[
1
,
2
,
3
,
4
,
5
,
6
,
6
,
8
,
1
,
2
,
3
,
4
,
5
,
6
,
6
,
8
,
1
,
2
,
3
,
4
,
5
,
6
,
6
,
8
,
1
,
2
,
3
,
4
,
5
,
6
,
6
,
8
]
,
unCheckDataArr
:
[
1
,
2
,
3
,
4
,
5
,
]
,
}
,
// 新建特价申请
Write
Preview
Loading…
Cancel
Save