From b4d1a0379fafee4b7a3b16a12ef3a220af4aa504 Mon Sep 17 00:00:00 2001 From: xcw <727612669@qq.com> Date: Fri, 17 Mar 2023 16:54:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=B9=E7=94=A8=E6=90=9C?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../groupCompany/contract/contractDetail.wxml | 5 +- pagesA/cost/index.wxss | 2 +- pagesA/cost/screen.js | 145 +++++++++++++++++- pagesA/cost/screen.wxml | 57 ++++++- pagesA/cost/screen.wxss | 14 +- 5 files changed, 213 insertions(+), 10 deletions(-) diff --git a/pages/index/groupCompany/contract/contractDetail.wxml b/pages/index/groupCompany/contract/contractDetail.wxml index 681aed9..faeb221 100644 --- a/pages/index/groupCompany/contract/contractDetail.wxml +++ b/pages/index/groupCompany/contract/contractDetail.wxml @@ -48,7 +48,7 @@ - + @@ -61,11 +61,12 @@ 报销 - + {{info.receivables?info.receivables.repayment_money:''}} 回款 + diff --git a/pagesA/cost/index.wxss b/pagesA/cost/index.wxss index 400974a..ffe0e0e 100644 --- a/pagesA/cost/index.wxss +++ b/pagesA/cost/index.wxss @@ -1 +1 @@ -.bot_total.data-v-5cad64ad{position:fixed;left:0;bottom:0;width:750rpx;height:80rpx;background:#fff;font-size:24rpx;color:#333;text-align:center;line-height:80rpx;color:#03aa96}.botwarp.data-v-5cad64ad{background:#fff;padding:0 24rpx}.botwarp .wa_li.data-v-5cad64ad{padding:24rpx 35rpx;border-bottom:1rpx solid #f5f5f5;display:flex;justify-content:space-between;align-items:center}.botwarp .wa_li .wa_label.data-v-5cad64ad{font-size:24rpx;color:#333}.botwarp .wa_li .wa_money.data-v-5cad64ad{font-size:24rpx;color:#666}.botwarp .wa_li .wa_money text.data-v-5cad64ad{color:#03aa96}.botwarp .wa_btn.data-v-5cad64ad{width:100%;height:100rpx;font-size:24rpx;color:#03aa96;text-align:center;line-height:100rpx}.tab_list.data-v-5cad64ad{width:750rpx;height:80rpx;display:flex;justify-content:space-around;align-items:center;background:#fff}.tab_list .tabli.data-v-5cad64ad{font-size:24rpx;color:#333;line-height:75rpx;text-align:center;border-bottom:4rpx solid #fff}.tab_list .tabliactive.data-v-5cad64ad{border-bottom:4rpx solid #03aa96}.searchbox.data-v-5cad64ad{display:flex;justify-content:flex-end;margin:24rpx}.searchbox .searchtext.data-v-5cad64ad{display:flex;justify-content:center;align-items:center;font-size:24rpx;color:#03aa96;padding:8rpx 28rpx;background:#fff;border-radius:5rpx;box-shadow:2rpx 2rpx 50rpx rgba(0,0,0,.1)}.searchbox .searchtext .icon-shaixuan.data-v-5cad64ad{color:#03aa96}.scrollbox.data-v-5cad64ad{width:750rpx;height:calc(100vh - 180rpx)} \ No newline at end of file +.bot_total.data-v-5cad64ad{position:fixed;left:0;bottom:0;width:750rpx;height:80rpx;background:#fff;font-size:24rpx;color:#333;text-align:center;line-height:80rpx;color:#03aa96}.botwarp.data-v-5cad64ad{background:#fff;padding:0 24rpx}.botwarp .wa_li.data-v-5cad64ad{padding:24rpx 35rpx;border-bottom:1rpx solid #f5f5f5;display:flex;justify-content:space-between;align-items:center}.botwarp .wa_li .wa_label.data-v-5cad64ad{font-size:24rpx;color:#333}.botwarp .wa_li .wa_money.data-v-5cad64ad{font-size:24rpx;color:#666}.botwarp .wa_li .wa_money text.data-v-5cad64ad{color:#03aa96}.botwarp .wa_btn.data-v-5cad64ad{width:100%;height:100rpx;font-size:24rpx;color:#03aa96;text-align:center;line-height:100rpx}.tab_list.data-v-5cad64ad{width:750rpx;height:80rpx;display:flex;justify-content:space-around;align-items:center;background:#fff}.tab_list .tabli.data-v-5cad64ad{font-size:24rpx;color:#333;line-height:75rpx;text-align:center;border-bottom:4rpx solid #fff}.tab_list .tabliactive.data-v-5cad64ad{border-bottom:4rpx solid #03aa96}.searchbox.data-v-5cad64ad{display:flex;justify-content:flex-end;margin:24rpx}.searchbox .searchtext.data-v-5cad64ad{display:flex;justify-content:center;align-items:center;font-size:24rpx;color:#03aa96;padding:8rpx 28rpx;background:#fff;border-radius:5rpx;box-shadow:2rpx 2rpx 50rpx rgba(0,0,0,.1)}.searchbox .searchtext .icon-shaixuan.data-v-5cad64ad{color:#03aa96}.scrollbox.data-v-5cad64ad{width:750rpx;height:calc(100vh - 180rpx)} diff --git a/pagesA/cost/screen.js b/pagesA/cost/screen.js index 201d49f..5200d24 100644 --- a/pagesA/cost/screen.js +++ b/pagesA/cost/screen.js @@ -1,10 +1,145 @@ -require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/cost/screen"],{"479a":function(t,e,n){"use strict";n.r(e);var i=n("a723"),s=n("b5cd");for(var u in s)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return s[t]}))}(u);n("d50f");var c=n("f0c5"),o=Object(c["a"])(s["default"],i["b"],i["c"],!1,null,"199dac44",null,!1,i["a"],void 0);e["default"]=o.exports},"5b00":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={components:{selectCustomer:function(){Promise.all([n.e("common/vendor"),n.e("components/selectCustomer")]).then(function(){return resolve(n("5bcd"))}.bind(null,n)).catch(n.oe)}},data:function(){return{times:"",statusList:[{id:1,name:"待审核"},{id:2,name:"审核通过"},{id:3,name:"审核拒绝"}],check_status:null,customerObj:null,start_time:"",end_time:""}},methods:{init:function(){this.$refs.popup.open()},close:function(){this.$refs.popup.close()},toSelectCustomer:function(){this.$refs.customerChild.init()},getCustomerinfo:function(t){this.customerObj=t},changeTab:function(t){this.check_status=t.detail.value},changeStartTime:function(t){this.start_time=t.detail.value,this.end_time||(this.end_time=t.detail.value)},changeEndTime:function(t){this.end_time=t.detail.value,this.start_time||(this.start_time=t.detail.value)},reset:function(){this.check_status=null,this.customerObj=null,this.start_time="",this.end_time=""},sureQuery:function(){var t={times:this.start_time&&this.end_time?this.start_time+","+this.end_time:"",check_status:this.statusList[this.check_status]?this.statusList[this.check_status].id:"",customer_id:this.customerObj?this.customerObj.id:""};this.close(),this.$emit("sureParams",t)}}};e.default=i},a723:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var i={uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,"6f9d"))}},s=function(){var t=this.$createElement;this._self._c},u=[]},b5cd:function(t,e,n){"use strict";n.r(e);var i=n("5b00"),s=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=s.a},c7bd:function(t,e,n){},d50f:function(t,e,n){"use strict";var i=n("c7bd"),s=n.n(i);s.a}}]); -;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ +require('../common/vendor.js'); +(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ + ["pagesA/cost/screen"], { + "479a": function(t, e, n) { + "use strict"; + n.r(e); + var i = n("a723"), + s = n("b5cd"); + for (var u in s)["default"].indexOf(u) < 0 && function(t) { + n.d(e, t, (function() { + return s[t] + })) + }(u); + n("d50f"); + var c = n("f0c5"), + o = Object(c["a"])(s["default"], i["b"], i["c"], !1, null, "199dac44", null, !1, i["a"], void 0); + e["default"] = o.exports + }, + "5b00": function(t, e, n) { + "use strict"; + Object.defineProperty(e, "__esModule", { + value: !0 + }), e.default = void 0; + var i = { + components: { + selectCustomer: function() { + Promise.all([n.e("common/vendor"), n.e("components/selectCustomer")]).then(function() { + return resolve(n("5bcd")) + }.bind(null, n)).catch(n.oe) + } + }, + data: function() { + return { + times: "", + statusList: [{ + id: 1, + name: "待审核" + }, { + id: 2, + name: "审核通过" + }, { + id: 3, + name: "审核拒绝" + }], + check_status: null, + customerObj: null, + start_time: "", + end_time: "", + key_name:'', + } + }, + methods: { + bindKeyName: function(e){ + this.key_name = e.detail.value; + }, + init: function() { + this.$refs.popup.open() + }, + close: function() { + this.$refs.popup.close() + }, + toSelectCustomer: function() { + this.$refs.customerChild.init() + }, + getCustomerinfo: function(t) { + this.customerObj = t + }, + changeTab: function(t) { + this.check_status = t.detail.value + }, + changeStartTime: function(t) { + this.start_time = t.detail.value, this.end_time || (this.end_time = t.detail.value) + }, + changeEndTime: function(t) { + this.end_time = t.detail.value, this.start_time || (this.start_time = t.detail.value) + }, + reset: function() { + this.check_status = null, this.customerObj = null, this.start_time = "", this.end_time = "", + this.key_name = "" + }, + sureQuery: function() { + var t = { + times: this.start_time && this.end_time ? this.start_time + "," + this.end_time : "", + check_status: this.statusList[this.check_status] ? this.statusList[this.check_status].id : "", + customer_id: this.customerObj ? this.customerObj.id : "", + name:this.key_name ? this.key_name : "", + }; + this.close(), this.$emit("sureParams", t) + } + } + }; + e.default = i + }, + a723: function(t, e, n) { + "use strict"; + n.d(e, "b", (function() { + return s + })), n.d(e, "c", (function() { + return u + })), n.d(e, "a", (function() { + return i + })); + var i = { + uniPopup: function() { + return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null, "6f9d")) + } + }, + s = function() { + var t = this.$createElement; + this._self._c + }, + u = [] + }, + b5cd: function(t, e, n) { + "use strict"; + n.r(e); + var i = n("5b00"), + s = n.n(i); + for (var u in i)["default"].indexOf(u) < 0 && function(t) { + n.d(e, t, (function() { + return i[t] + })) + }(u); + e["default"] = s.a + }, + c7bd: function(t, e, n) {}, + d50f: function(t, e, n) { + "use strict"; + var i = n("c7bd"), + s = n.n(i); + s.a + } + } +]);; +(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'pagesA/cost/screen-create-component', { - 'pagesA/cost/screen-create-component':(function(module, exports, __webpack_require__){ + 'pagesA/cost/screen-create-component': (function(module, exports, __webpack_require__) { __webpack_require__('543d')['createComponent'](__webpack_require__("479a")) }) }, - [['pagesA/cost/screen-create-component']] -]); + [ + ['pagesA/cost/screen-create-component'] + ] +]); \ No newline at end of file diff --git a/pagesA/cost/screen.wxml b/pagesA/cost/screen.wxml index 131fc4e..7116269 100644 --- a/pagesA/cost/screen.wxml +++ b/pagesA/cost/screen.wxml @@ -1 +1,56 @@ -关联客户{{''+(customerObj?customerObj.name:'点击选择')+''}}费用状态{{''+(statusList[check_status]?statusList[check_status].name:'点击选择')+''}}时间筛选{{''+(start_time?start_time:'开始时间')}}{{(end_time?end_time:'结束时间')+''}}重置确定 \ No newline at end of file + + + + + + 关联客户 + + + {{''+(customerObj?customerObj.name:'点击选择')+''}} + + + + + + 费用状态 + + + + {{''+(statusList[check_status]?statusList[check_status].name:'点击选择')+''}} + + + + + + + 时间筛选 + + + + {{''+(start_time?start_time:'开始时间')}} + + + + + {{(end_time?end_time:'结束时间')+''}} + + + + + + + + 关键词搜索 + + + + + + + + 重置 + 确定 + + + + \ No newline at end of file diff --git a/pagesA/cost/screen.wxss b/pagesA/cost/screen.wxss index d9cd13b..7445b5e 100644 --- a/pagesA/cost/screen.wxss +++ b/pagesA/cost/screen.wxss @@ -1 +1,13 @@ -.screen_content.data-v-199dac44{width:702rpx;z-index:2;border-top:1rpx solid #ccc;background-color:#fff;padding:24rpx}.screen_content .fir_li.data-v-199dac44{margin-bottom:20rpx}.screen_content .fir_li .li_label.data-v-199dac44{font-size:28rpx;color:#333;margin-bottom:15rpx}.screen_content .fir_li .li_box.data-v-199dac44{border-radius:15rpx;border:1rpx solid #ccc;height:60rpx;padding:0 35rpx;line-height:60rpx}.screen_content .fir_li .form_right.data-v-199dac44{display:flex;justify-content:space-between;color:#999}.screen_content .fir_li .form_right image.data-v-199dac44{width:40rpx;height:40rpx;margin:28rpx 5rpx 0 0}.screen_content .fir_li .form_right .rightinput.data-v-199dac44{height:60rpx;line-height:60rpx;width:100%}.button_bottom.data-v-199dac44{display:flex;width:100%;height:90rpx;background-color:#fff;line-height:90rpx;text-align:center;font-size:32rpx}.button_bottom.data-v-199dac44 :first-child{flex:1;color:#03aa96;border-top:1rpx solid #ccc}.button_bottom.data-v-199dac44 :last-child{flex:1;background-color:#03aa96;color:#fff} \ No newline at end of file +.screen_content.data-v-199dac44{width:702rpx;z-index:2;border-top:1rpx solid #ccc;background-color:#fff;padding:24rpx}.screen_content .fir_li.data-v-199dac44{margin-bottom:20rpx}.screen_content .fir_li .li_label.data-v-199dac44{font-size:28rpx;color:#333;margin-bottom:15rpx}.screen_content .fir_li .li_box.data-v-199dac44{border-radius:15rpx;border:1rpx solid #ccc;height:60rpx;padding:0 35rpx;line-height:60rpx}.screen_content .fir_li .form_right.data-v-199dac44{display:flex;justify-content:space-between;color:#999}.screen_content .fir_li .form_right image.data-v-199dac44{width:40rpx;height:40rpx;margin:28rpx 5rpx 0 0}.screen_content .fir_li .form_right .rightinput.data-v-199dac44{height:60rpx;line-height:60rpx;width:100%}.button_bottom.data-v-199dac44{display:flex;width:100%;height:90rpx;background-color:#fff;line-height:90rpx;text-align:center;font-size:32rpx}.button_bottom.data-v-199dac44 :first-child{flex:1;color:#03aa96;border-top:1rpx solid #ccc}.button_bottom.data-v-199dac44 :last-child{flex:1;background-color:#03aa96;color:#fff} +.key-input { + width: 100%; + height: 60rpx; + line-height: 60rpx; + display: block; + border-radius: 15rpx; + border: 1rpx solid #ccc; + height: 60rpx; + padding: 0 35rpx; + line-height: 60rpx; + margin-top: 20rpx; +} \ No newline at end of file