chenxuhui 7 years ago
parent
commit
e281f13797
2 changed files with 9 additions and 8 deletions
  1. +5
    -5
      pages/specialOrderApplication/creatNewSpecialOrder/creatNewSpecialOrder.js
  2. +4
    -3
      pages/specialOrderApplication/creatNewSpecialOrder/creatNewSpecialOrder.wxml

+ 5
- 5
pages/specialOrderApplication/creatNewSpecialOrder/creatNewSpecialOrder.js View File

@ -328,16 +328,16 @@ Page({
// 原单价
var infoprice = goodsArr[i].Price;
if (infoprice == null){
infoprice ="请输入原单价";
infoprice ="";
}
// 特价
var policyPrice ="请输入特价价格";
var policyPrice ="";
// 开始时间
var infoStartTime ="请选择开始时间";
var infoStartTime = timechage.formatTimeTwo(Date.parse(new Date()), 'Y-M-D');
// 结束时间
var infoEndTime = "请选择结束时间";
var infoEndTime = timechage.formatTimeTwo(Date.parse(new Date()), 'Y-M-D');
// 申请数量
var infoNum = "请输入申请数量";
var infoNum = "";
let goodsNameObj = {
Goods_Name: name,


+ 4
- 3
pages/specialOrderApplication/creatNewSpecialOrder/creatNewSpecialOrder.wxml View File

@ -177,7 +177,8 @@
<view class='baseitem'>
<text class='baseitem_key'>原单价</text>
<view class='baseitem_value'>
{{item.Price}}
<input class='inputItem' style='text' value='{{item.Price}}' placeholder='请输入原单价价格' placeholder-style='color:rgb(202, 202, 202)' bindinput='getInputValue' data-index='{{idx}}' data-datastyle='goodsname'>
</input>
</view>
</view>
<view class='horizontallineView'></view>
@ -185,7 +186,7 @@
<view class='baseitem'>
<text class='baseitem_key'>特价</text>
<view class='baseitem_value'>
<input class='inputItem' style='text' value='{{item.applicationPrice}}' bindinput='getInputValue' data-index='{{idx}}' data-datastyle='goodsname'>
<input class='inputItem' style='text' value='{{item.applicationPrice}}' placeholder='请输入申请特价价格' placeholder-style='color:rgb(202, 202, 202)' bindinput='getInputValue' data-index='{{idx}}' data-datastyle='goodsname'>
</input>
</view>
</view>
@ -214,7 +215,7 @@
<view class='baseitem'>
<text class='baseitem_key'>申请数量</text>
<view class='baseitem_value'>
<input class='inputItem' style='text' value='{{item.applicationNum}}' bindinput='getInputValue' data-index='{{idx}}' data-datastyle='goodsname'>
<input class='inputItem' placeholder='请输入申请数量' placeholder-style='color:rgb(202, 202, 202)' style='text' value='{{item.applicationNum}}' bindinput='getInputValue' data-index='{{idx}}' data-datastyle='goodsname'>
</input>
</view>
</view>


Loading…
Cancel
Save