Commit 6832bc6e by 朱继来

temp

parent 0f3dc01e
...@@ -1537,9 +1537,18 @@ ...@@ -1537,9 +1537,18 @@
changeOrder: function(){ changeOrder: function(){
$('.deletegoods').click(function(){ $('.deletegoods').click(function(){
var thisobj=$(this); var thisobj=$(this);
var new_client_price = $('#new_client_price').val();
var content = '';
if (new_client_price) {
content = '<i class="error">* 该单为新客价订单,如改单将删除整单优惠</i>';
}
content += '<div><textarea type="text" class="reason" style="width:300px;height: 100px"></textarea></div><span class="error">请填写删除商品原因,100字以内</span>';
layer.open({ layer.open({
title: '删除商品' title: '删除商品'
,content: '<div><textarea type="text" class="reason" style="width:300px;height: 100px"></textarea></div><span class="error">请填写删除商品原因,100字以内</span>' ,content: content
,btn:['确定', '取消'] ,btn:['确定', '取消']
,yes: function(index, layero){ ,yes: function(index, layero){
if(!$('.reason').val()){ if(!$('.reason').val()){
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
<input type="hidden" class="action_type" value="{{$action_name}}"> <input type="hidden" class="action_type" value="{{$action_name}}">
<input type="hidden" id="order_id" name="order_id" value="{{$order_info['order_id']}}"> <input type="hidden" id="order_id" name="order_id" value="{{$order_info['order_id']}}">
<input type="hidden" id="user_id" name="user_id" value="{{$order_info['user_id']}}"> <input type="hidden" id="user_id" name="user_id" value="{{$order_info['user_id']}}">
<input type="hidden" id="new_client_price" name="new_client_price" value="{{$order_price_info['new_client_price']}}">
<div class="tabs-box table-responsive"> <div class="tabs-box table-responsive">
<table class="table table-bordered order-express"> <table class="table table-bordered order-express">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment