diff --git a/components/cx-navTitle.vue b/components/cx-navTitle.vue index f2a8708..3283577 100644 --- a/components/cx-navTitle.vue +++ b/components/cx-navTitle.vue @@ -1,17 +1,14 @@ - + \ No newline at end of file diff --git a/components/e-select/e-select.vue b/components/e-select/e-select.vue new file mode 100644 index 0000000..6c865ca --- /dev/null +++ b/components/e-select/e-select.vue @@ -0,0 +1,448 @@ + + + + + diff --git a/components/shoppinglist/shoppinglist.vue b/components/shoppinglist/shoppinglist.vue index 3628d5c..7a29516 100644 --- a/components/shoppinglist/shoppinglist.vue +++ b/components/shoppinglist/shoppinglist.vue @@ -15,7 +15,7 @@ - + {{item.store_name}} - + - + {{item.attrValue[index].sku}} @@ -51,12 +51,12 @@ 出售价格 - + 出售数量 - @@ -113,22 +113,13 @@ keyword: '', }, peicenumber: 0, - wherec: { - page: 1, - limit: 10, - keyword: '', - }, - wheres: { - page: 1, - limit: 10, - keyword: '', - }, + searchVal: "", checked: [], list: [], - + bought: [], - + checkedArr: [], // picker下拉数据源 @@ -157,7 +148,7 @@ watch: { checkedObj: { handler(n) { - + this.checkedArr = n }, deep: true @@ -166,11 +157,11 @@ mounted() { this.checkedArr = this.checkedObj this.getBounht(); - - + + }, methods: { - + // picker修改事件 bindPickerChange: function(e, storage) { console.log(e) @@ -189,7 +180,6 @@ tabs(index) { this.isActive = index this.$set(this.whereb, 'keyword', ''); - this.searchVal = '' this.searchBut() }, @@ -202,26 +192,28 @@ this.getBounht(); } }).exec(); + // 模拟触底刷新 }, - - + + setValue: function(event) { this.$set(this.whereb, 'keyword', event.detail.value); }, searchBut() { - - this.getBounht() + this.whereb.page = this.wherec.page = this.wheres.page = + this.bought = [] + this.isActive == 0 ? this.getBounht() : '' }, getBounht() { var that = this; if (that.loadingb || that.loadedb) return; that.loadingb = true; - + getCommunitygetOrderList(that.whereb).then( res => { - + that.loadingb = false; that.loadedb = res.data.list.length < that.whereb.limit; that.bought.push.apply(that.bought, res.data.list); @@ -235,15 +227,15 @@ } ); }, - - + + /*获取初始化选中的数据*/ getInitchecked(arr) { let that = this; arr.forEach((item, index) => { that.$set(item, 'check', false); that.checkedArr.forEach((val, i) => { - if (item.product_id == val.product_id ) { + if (item.product_id == val.product_id) { that.$set(item, 'check', true); } }) @@ -266,13 +258,13 @@ this.checkedArr.splice(this.checkedArr.findIndex(itemn => ((itemn.spu_id == item.spu_id) || (item .spu_id == ( itemn.spu && itemn.spu.spu_id)))), 1) - + } }, /*确定提交*/ submit() { this.$emit('getProduct', this.checkedArr); - console.log(this.checkedArr) + console.log(this.checkedArr) }, } } @@ -411,19 +403,26 @@ .picTxt_price { display: flex; margin-top: 37rpx; + height: 70rpx; + line-height: 70rpx; .price { display: flex; - margin-right: 30rpx; + margin-right: 15rpx; input { - width: 168rpx; - height: 39rpx; + width: 210rpx; + text-align: center; + height: 70rpx; + background: #F5F5F5; + border-radius: 7rpx 7rpx 7rpx 7rpx; font-size: 28rpx; font-family: PingFang SC-Regular, PingFang SC; font-weight: 400; - color: #CCCCCC; - margin-left: 30rpx; + + margin-left: 20rpx; + + } } diff --git a/config/app.js b/config/app.js index d257d78..cf10f77 100644 --- a/config/app.js +++ b/config/app.js @@ -10,9 +10,10 @@ let httpApiThree // let httpApi = 'http://192.168.31.110:8324' // 测试 if (process.env.NODE_ENV === "development") { // httpApi = 'https://shop.lihaink.cn' // 生产 - httpApi = "https://crmeb-test.shop.lihaink.cn" + httpApi = "https://crmeb-test.shop.lihaink.cn" // httpApi = "http://192.168.0.222" // httpApi = "http://192.168.0.108:8325" + // httpApi = 'http://192.168.0.108:8325' // #ifdef MP-WEIXIN httpApiTwo = "https://nk.lihaink.cn" httpApiThree = 'http://ceshi-oa.lihaink.cn' diff --git a/manifest.json b/manifest.json index ed85b52..707f1e0 100644 --- a/manifest.json +++ b/manifest.json @@ -26,7 +26,8 @@ "Camera" : {}, "Geolocation" : {}, "Payment" : {}, - "Share" : {} + "Share" : {}, + "OAuth" : {} }, "safearea" : { "bottom" : { @@ -111,9 +112,7 @@ "__platform__" : [ "ios", "android" ] } }, - "oauth" : { - "apple" : {} - }, + "oauth" : {}, "ad" : {} }, "icons" : { diff --git a/package.json b/package.json new file mode 100644 index 0000000..fd9711a --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "id": "e-select", + "name": "e-select下拉选择器", + "displayName": "e-select下拉选择器", + "version": "1.0.7", + "description": "select下拉选择器,支持vue2、vue3,支持搜索过滤,支持滚动动画,内置插槽可用于搭配分页组件", + "keywords": [ + "下拉选择框" + ], + "dcloudext": { + "category": [ + "前端组件", + "通用组件" + ] + } +} \ No newline at end of file diff --git a/pages.json b/pages.json index 1718b7f..40e01e4 100644 --- a/pages.json +++ b/pages.json @@ -698,34 +698,86 @@ "enablePullDownRefresh": false } - }, { - "path": "releaseOrdermanagement/index", - "style": { - "navigationBarTitleText": "订单管理", - "enablePullDownRefresh": false - } - } ] }, + { + "root": "pages/releaseManagement", + "name": "releaseManagement", + "pages": [{ + "path": "/index", + "style": { + "navigationBarTitleText": "发布管理", + "enablePullDownRefresh": false + } + + }] + }, + { + "root": "pages/commissionedSales", + "name": "commissionedSales", + "pages": [{ + "path": "index/index", + "style": { + "navigationBarTitleText": "委托销售", + "enablePullDownRefresh": false + } + + }, + { + "path": "initiateDelegation/index", + "style": { + "navigationBarTitleText": "发起委托", + "enablePullDownRefresh": false + } + + }, + { + "path": "addDelegation/index", + "style": { + "navigationBarTitleText": "新增委托", + "enablePullDownRefresh": false + } + + }, + { + "path": "receivedCommission/index", + "style": { + "navigationBarTitleText": "收到委托", + "enablePullDownRefresh": false + } + + }, + { + "path": "delegation_details/index", + "style": { + "navigationBarTitleText": "委托销售详情", + "enablePullDownRefresh": false + } + + } + ] + }, { "root": "pages/trading_hall", "name": "trading_hall", - "pages": [{ + "pages": [ + + { "path": "transfer_goods/index", "style": { "navigationBarTitleText": "新增调货", "enablePullDownRefresh": false } - },{ + }, { "path": "adddiscounts/index", "style": { "navigationBarTitleText": "新增打折", "enablePullDownRefresh": false } - },{ + }, { "path": "product_details/index", "style": { "navigationBarTitleText": "商品详情", @@ -733,11 +785,10 @@ } } - + ] }, - - + { "root": "pages/store", "name": "store", diff --git a/pages/admin/orderDetail/index.vue b/pages/admin/orderDetail/index.vue index 148701b..c51bfad 100644 --- a/pages/admin/orderDetail/index.vue +++ b/pages/admin/orderDetail/index.vue @@ -164,11 +164,23 @@ 确认付款 + + 收件码 + 去发货 去核销 + + + 请把二维码展示给取货人员 + + + + + + + + \ No newline at end of file diff --git a/pages/commissionedSales/delegation_details/index.vue b/pages/commissionedSales/delegation_details/index.vue new file mode 100644 index 0000000..df12537 --- /dev/null +++ b/pages/commissionedSales/delegation_details/index.vue @@ -0,0 +1,282 @@ + + + + + \ No newline at end of file diff --git a/pages/commissionedSales/index/index.vue b/pages/commissionedSales/index/index.vue new file mode 100644 index 0000000..1cd1dbf --- /dev/null +++ b/pages/commissionedSales/index/index.vue @@ -0,0 +1,164 @@ + + + + + \ No newline at end of file diff --git a/pages/commissionedSales/initiateDelegation/index.vue b/pages/commissionedSales/initiateDelegation/index.vue new file mode 100644 index 0000000..18543da --- /dev/null +++ b/pages/commissionedSales/initiateDelegation/index.vue @@ -0,0 +1,823 @@ +