‘修改合同搜索’
parent
f7a65138d2
commit
3c29010266
|
@ -112,6 +112,7 @@
|
|||
info: 0,
|
||||
rSelect: [],
|
||||
has_amount_view:false, //检查是否有查看合同金额的权限
|
||||
key_name:'',//关键词
|
||||
}
|
||||
},
|
||||
onLoad: function(t) {
|
||||
|
@ -124,6 +125,9 @@
|
|||
this.page >= this.totalPage || (this.page++, this.getList())
|
||||
},
|
||||
methods: {
|
||||
bindKeyName: function(e){
|
||||
this.key_name = e.detail.value;
|
||||
},
|
||||
toSelectCustomer: function() {
|
||||
this.$refs.customerChild.init()
|
||||
},
|
||||
|
@ -180,7 +184,8 @@
|
|||
type: this.typeIndex,
|
||||
status: this.status,
|
||||
staff_id: this.ascripId,
|
||||
customer_id: this.customerObj ? this.customerObj.id : ""
|
||||
customer_id: this.customerObj ? this.customerObj.id : "",
|
||||
name:this.key_name
|
||||
};
|
||||
// 检查是否查看合同金额的权限
|
||||
(n.checkHasAmountView)().then((function(i) {
|
||||
|
@ -202,7 +207,7 @@
|
|||
this.end_time = t.detail.value, this.start_time || (this.start_time = t.detail.value)
|
||||
},
|
||||
reset: function() {
|
||||
this.type = "", this.start_time = "", this.end_time = "", this.ascripId = null, this.ascripIndex = null, this.status = null, this.customerObj = null
|
||||
this.type = "", this.start_time = "",this.key_name = "", this.end_time = "", this.ascripId = null, this.ascripIndex = null, this.status = null, this.customerObj = null
|
||||
},
|
||||
sureQuery: function() {
|
||||
this.$refs.screenpopup.close(), this.init()
|
||||
|
|
|
@ -58,6 +58,13 @@
|
|||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="fir_li data-v-e5a6e2f8">
|
||||
<view class="li_label data-v-e5a6e2f8">关键词搜索</view>
|
||||
<view class="li_box data-v-e5a6e2f8" style="display:flex;">
|
||||
<input type="text" value="{{key_name}}" placeholder="请输入关键词" data-event-opts="{{[['change',[['bindKeyName',['$event']]]]]}}" bindchange="__e" class="key-input"/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="button_bottom data-v-e5a6e2f8">
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -124,6 +124,7 @@
|
|||
<view class="cost_text data-v-2a5dec54">{{"关联公司:"+item.corporation.name}}</view>
|
||||
<view class="cost_text data-v-2a5dec54">{{"发票金额:"+item.money}}</view>
|
||||
<view class="cost_text data-v-2a5dec54">{{"消费日期:"+item.createtime}}</view>
|
||||
<view class="cost_text data-v-2a5dec54">{{"创建人:"+item.staff.name}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
Loading…
Reference in New Issue