Commit a26b8b53 authored by xiangzj's avatar xiangzj

订单动态接口更换

parent 583ace75
......@@ -3,8 +3,8 @@
// "appid" : "__UNI__EDB6A1F",
"appid" : "__UNI__EDB6A1F",
"description" : "订货系统",
"versionName" : "1.1.24",
"versionCode" : "10124",
"versionName" : "1.1.25",
"versionCode" : "10125",
"transformPx" : false,
"app-plus" : {
/* 5+App特有相关 */
......@@ -134,7 +134,7 @@
"changeOrigin" : true
},
"/crm-app" : {
// "target" : "http://10.0.135.61",
// "target" : "https://218.89.67.37/",
"target" : "http://221.10.127.60:5000",
"changeOrigin" : true
},
......@@ -155,6 +155,7 @@
},
"/uusafe" : {
"target" : "https://zzy.ipincloud.cn:9070",
// "target" : "https://apps.wuliangye.com.cn:9076",
"changeOrigin" : true
}
}
......
......@@ -301,7 +301,7 @@
'BoxCode': this.orderDetail.INFO.ZZFLD000098,
// 'CallbackUrlList': JSON.stringify({WorksbackUrl:''}),
'City': this.orderDetail.INFO.ZZFLD000003_TEXT,
// County: this.orderDetail.INFO.,
'County': this.orderDetail.INFO.STREET_TEXT,
'MobileNumber': this.orderDetail.INFO.ZZFLD00002M,
// OrderAmount: "",
'OrderGoods': JSON.stringify(goodsInfo),
......@@ -311,7 +311,7 @@
"SecretKey": "8B72E5CB394E3CABB56DC8E04AC4DE7F",
'StoreCompanyName': this.orderDetail.INFO.CUST_NAME,
'StoreName': this.orderDetail.INFO.CUST_NAME,
"Sign": md5.hex_md5(`Action=guanying.adapter.crmorder.down&Address=${this.orderDetail.INFO.ZZFLD00002N}&BoxCode=${this.orderDetail.INFO.ZZFLD000098}&City=${this.orderDetail.INFO.ZZFLD000003_TEXT}&MobileNumber=${this.orderDetail.INFO.ZZFLD00002M}&OrderGoods=${JSON.stringify(goodsInfo)}&OutsideCoreOrderID=${this.orderDetail.INFO.OBJECT_ID}&Province=${this.orderDetail.INFO.ZZFLD000002_TEXT}&RealName=${this.orderDetail.INFO.ZZFLD00002L}&StoreCompanyName=${this.orderDetail.INFO.CUST_NAME}&StoreName=${this.orderDetail.INFO.CUST_NAME}&SecretKey=8B72E5CB394E3CABB56DC8E04AC4DE7F`)
"Sign": md5.hex_md5(`Action=guanying.adapter.crmorder.down&Address=${this.orderDetail.INFO.ZZFLD00002N}&BoxCode=${this.orderDetail.INFO.ZZFLD000098}&City=${this.orderDetail.INFO.ZZFLD000003_TEXT}&County=${this.orderDetail.INFO.STREET_TEXT}&MobileNumber=${this.orderDetail.INFO.ZZFLD00002M}&OrderGoods=${JSON.stringify(goodsInfo)}&OutsideCoreOrderID=${this.orderDetail.INFO.OBJECT_ID}&Province=${this.orderDetail.INFO.ZZFLD000002_TEXT}&RealName=${this.orderDetail.INFO.ZZFLD00002L}&StoreCompanyName=${this.orderDetail.INFO.CUST_NAME}&StoreName=${this.orderDetail.INFO.CUST_NAME}&SecretKey=8B72E5CB394E3CABB56DC8E04AC4DE7F`)
}
const res2 = await apiSubmitCustom(params2)
if(res2.Status !== 'Success'){
......
......@@ -100,6 +100,7 @@
cursorNumber: 0,
rememberPsw: true,
rememberAt: true,
flag: false
}
},
computed: {
......@@ -128,11 +129,13 @@
}
},
onLoad() {
ToastPlusModule && this.initEx()
},
onShow() {
// 判断是否正在等待authEx的返回结果,第一次进入页面默认是false
if (!this.flag && !this.accessToken) {
ToastPlusModule && this.authEx()
}
},
//页面初始加载
mounted() {
......@@ -195,7 +198,10 @@
uni.showLoading({
title: '加载中'
});
// 开启等待被唤醒
this.flag = true
ToastPlusModule.registerExSyncFunc({}, res => {
this.flag = false
this.accessToken = res.data?.token || res
this.getIdToken()
})
......
......@@ -154,7 +154,7 @@
},
mainHeight() {
return {
'height': `${this.sysinfo.safeArea.height - 44 }px`,
'height': `${this.sysinfo.safeArea.height - 30 }px`,
}
},
scrollHeight() {
......
<template>
<view class="lists">
<view class="status_bar" :style="navHeight"></view>
<view class="header-bg">
<!-- <view class="header-bg">
<image class="header-bg-img" src="@/static/image/nav_bg@3x.png" mode="scaleToFill"></image>
</view>
<view class="main">
<view class="middle view">
</view> -->
<view class="main" :style="mainHeight">
<view class="middle view planout-block-item">
<view class="text-block">
<text class="middle-date">全部订单</text>
<view class="middle-date-des uni-list picker-year">
......@@ -13,9 +13,7 @@
<view class="uni-list-cell-db">
<picker class="picker-block" @change="bindPickerTypesChange($event,'type')" range-key='name'
mode="selector" :value="condition.PROCESS_TYPE_VIEW" :range="salePlanArr">
<view class="uni-input">
{{condition.PROCESS_TYPE_VIEW}}
</view>
<text class="uni-input-text">{{condition.PROCESS_TYPE_VIEW}}</text>
</picker>
</view>
</view>
......@@ -29,9 +27,7 @@
<view class="uni-list-cell-db">
<picker class="picker-block" @change="bindPickerTypesChange($event,'status')" range-key='name'
mode="selector" :value="condition.ESTAT_VIEW" :range="saleStatusArr">
<view class="uni-input">
{{condition.ESTAT_VIEW}}
</view>
<text class="uni-input-text">{{condition.ESTAT_VIEW}}</text>
</picker>
</view>
</view>
......@@ -45,7 +41,7 @@
<view class="uni-list-cell-db">
<picker class="picker-block" @change="bindPickerYearStartChange" mode="date"
:value="condition.POSTING_DATE" fields='day'>
<text class="uni-input">{{condition.POSTING_DATE}}</text>
<text class="uni-input-text">{{condition.POSTING_DATE}}</text>
</picker>
</view>
</view>
......@@ -62,30 +58,47 @@
<text class="btn-text">查询</text>
</button>
</view>
<scroll-view :style='scrollHeight' class="scroll-area" scroll-y="true" lower-threshold='150'
@scrolltolower='scrolltolower'>
<list class="scroll-area view" loadmoreoffset='100' show-scrollbar='false' @loadmore="scrolltolower">
<cell class="list-cell" v-for="(item,index) in lists" :key='index'>
<view class="middle view planout-block-item">
<view class="text-block">
<text class="middle-date">{{item.OBJECT_ID}}</text>
<text class="middle-pro-des">{{item.DESCRIPTION}}</text>
<!-- <scroll-view class="scroll-area" scroll-y="true" lower-threshold='150'
@scrolltolower='scrolltolower'> -->
<list ref="list" class="scroll-area view" loadmoreoffset='100' @loadmore="scrolltolower"
:show-scrollbar='false'>
<refresh @refresh="refresh" :display="refreshing ? 'show' : 'hide'">
<!-- <loading-indicator></loading-indicator> -->
</refresh>
<cell class="" v-for="(item,index) in lists" :key='index'>
<view class="scroll-item block-detal">
<view class="block-detal-item">
<text class="detal-item-label">创建日期</text>
<text class="detal-item-value">{{item.postingDate}}</text>
</view>
<view class="text-block">
<text class="middle-date">制票通知单</text>
<text class="middle-date-des">{{item.ZZFLD000007}}/{{item.ZZFLD000009}}</text>
<view class="block-detal-item">
<text class="detal-item-label">{{item.objectId}}</text>
<text class="middle-pro-des">{{item.description}}</text>
</view>
<view class="text-block">
<text class="middle-date">发货</text>
<text class="middle-date-des">{{item.ZDELIVER}}/{{item.ZZFLD000007}}</text>
<view class="block-detal-item">
<text class="detal-item-label">制票通知单</text>
<text class="detal-item-value">{{item.zzfld000007}}/{{item.zzfld000009}}</text>
</view>
<view class="block-detal-item">
<text class="detal-item-label">本单可发货量(件)</text>
<text class="detal-item-value">{{item.zzfld000007}}</text>
</view>
<view class="block-detal-item block-detal-item-last">
<text class="detal-item-label">已发货(件)</text>
<text class="detal-item-value">{{item.zdeliver}}</text>
</view>
</view>
<view class="empty-block"></view>
<!-- </scroll-view> -->
</cell>
<cell>
<view class="loading-more" v-if='lists.length>2'>
<text class="loading-more-text">{{loadingText}}</text>
</view>
</cell>
<!-- <view class="planout-block-item__last"> </view> -->
</list>
</scroll-view>
<!-- </scroll-view> -->
<no-data v-if="lists.length === 0"></no-data>
</view>
</view>
</template>
......@@ -102,14 +115,16 @@
querySysDictionaryDetailsByCode,
} from '@/servers/purchaseList.js'
import {
querySaleOrder
querySaleOrder,
findAppWantGoods
} from '@/servers/breakwords.js'
import timeFormat from '@/uview-ui/libs/function/timeFormat.js'
import noData from '@/components/nodata.nvue';
import orderItem from './order-item.nvue';
export default {
data() {
return {
refreshing: false,
isOpened: 'none',
loadingText: '加载中...',
condition: {
......@@ -151,6 +166,9 @@
saleStatusArr: [],
}
},
components: {
noData,
},
computed: {
...mapState(['sysinfo', 'userInfo']),
navHeight() {
......@@ -158,86 +176,75 @@
'height': `${this.sysinfo.safeArea.top + 44}px`
}
},
scrollHeight() {
return {
'height': `${this.sysinfo.safeArea.height - 297- 44 - 20 -40}px`
}
},
mainHeight() {
return {
'height': `${this.sysinfo.safeArea.height - 44 }px`,
}
},
},
onNavigationBarButtonTap(e) {
// console.log('onNavigationBarButtonTap:', e, this.isOpened, this.selectedSalePlan);
// if (this.isOpened === 'left' && this.selectedSalePlan && this.selectedSalePlan.PLAN_NUMBER) {
// uni.$emit('selectedSalePlan', {
// selectedSalePlan: this.selectedSalePlan,
// index: this.toPageParams.index
// })
// uni.navigateBack()
// return
// }
// this.isOpened = this.isOpened === 'none' ? 'left' : 'none';
// #ifdef APP-PLUS
// let pages = getCurrentPages()
// let page = pages[pages.length - 1]
// let webView = page.$getAppWebview();
// console.log('webView', webView)
// webView.setTitleNViewButtonStyle(0, {
// text: this.isOpened === 'none' ? '选择' : '完成',
// });
// let titleObj = webView.getStyle().titleNView;
// if(!titleObj.buttons){
// returnl
// }
// titleObj.buttons[0].text = 'dd';
// webView.setStyle({
// titleNView:titleObj
// })
// #endif
},
onLoad(option) {
console.log('select-saleplan', option)
if (option && option.from) {
const {
from,
product,
head
} = option
this.toPageParams.product = JSON.parse(product)
this.toPageParams.page = from
this.toPageParams.head = JSON.parse(head)
scrollHeight() {
return {
'height': `${this.sysinfo.safeArea.height - 44 - 156 }px`
}
},
onPullDownRefresh() {
console.log('refresh');
this.reset()
this.getSalesPlan(true)
setTimeout(function() {
uni.stopPullDownRefresh();
}, 600);
},
// onPullDownRefresh() {
// console.log('refresh');
// this.reset()
// this.getSalesPlan(true)
// setTimeout(function() {
// uni.stopPullDownRefresh();
// }, 600);
// },
created() {
// this.condition.GJAHR = timeFormat(new Date(), 'yyyy')
// this.condition.MONAT = timeFormat(new Date(), 'mm')
this.reset()
this.getSalesPlan(true);
this.getSalesPlan(true)
this.getSelectDictDataOrigin('A0043')
this.getSelectDictDataOrigin('A0041')
},
methods: {
search() {
this.reset()
this.getSalesPlan(true)
},
bindPickerYearStartChange(e) {
console.log('picker发送选择改变,携带值为', e.detail.value)
this.condition.POSTING_DATE = e.detail.value
},
bindPickerTypesChange(e, type) {
console.log('picker发送选择改变,携带值为', e.detail.value)
const index = e.detail.value || 0
switch (type){
case 'type':
this.condition.PROCESS_TYPE = this.salePlanArr[index].value
this.condition.PROCESS_TYPE_VIEW = this.salePlanArr[index].name
break;
case 'status':
this.condition.ESTAT = this.saleStatusArr[index].value
this.condition.ESTAT_VIEW = this.saleStatusArr[index].name
break;
default:
break;
}
},
getSelectDictDataOrigin(dictcode) {
querySysDictionaryDetailsByCode({'code': dictcode})
.then(res => {
if(res.data.Rows.length>0){
switch (dictcode){
case 'A0043':
this.salePlanArr = res.data.Rows
const arr1 = {
name: "全部订单",
value: "",
}
this.salePlanArr = [arr1, ...res.data.Rows]
break;
case 'A0041':
this.saleStatusArr = res.data.Rows
const arr2 = {
name: "全部状态",
value: "",
}
this.saleStatusArr = [arr2, ...res.data.Rows]
break;
default:
break;
......@@ -246,11 +253,10 @@
})
.catch(() => {})
},
bindPickerYearStartChange(e) {
console.log('picker发送选择改变,携带值为', e.detail.value)
this.condition.POSTING_DATE = e.detail.value
},
async getSalesPlan(isRefresh) {
if (isRefresh) {
this.page.PAGE = 1
}
if (this.loadParams.isDone) {
return
}
......@@ -261,29 +267,55 @@
POSTING_DATE
} = this.condition
const params = {
'$filter':"PARTNER eq '"+this.userInfo.code+"'"+
" and PROCESS_TYPE eq '" + PROCESS_TYPE+"'"+
" and ESTAT eq '" + ESTAT+"'"+
" and OBJECT_ID eq '" + OBJECT_ID+"'"+
"and POSTING_DATE eq '" + POSTING_DATE+"'",
'$skip':0,
'$top':50,
pagesize: this.page.PAGESIZE,
page: this.page.PAGE,
partner: this.userInfo.code,
processType: PROCESS_TYPE,
estat: ESTAT,
objectId: OBJECT_ID,
postingDate: POSTING_DATE
}
uni.showLoading({
title: '加载中'
});
setTimeout(function() {
uni.hideLoading();
}, 2000);
try{
const res = await querySaleOrder(params)
const res = await findAppWantGoods(params)
uni.hideLoading();
const {
Rows,
page,
Total
} = res.data
this.page.PAGE = page * 1
this.loadParams.total = Total * 1
this.loadParams.totalPage = Math.ceil(Total * 1 / this.page.PAGESIZE * 1)
if (isRefresh) {
this.lists = Rows
this.loadParams.isDone = false
this.lists = res.d.results
}catch(e){
//TODO handle the exception
} else {
this.lists = this.lists.concat(Rows)
}
setTimeout(() => {
this.refreshing = false;
}, 300)
},
refresh(e) {
this.refreshing = true;
this.reset()
this.getSalesPlan(true)
// #ifdef APP-NVUE
try {
// console.log('-------', this.$refs.list)
this.$refs.list.resetLoadmore();
} catch (e) {
console.log('onrefresh', e)
}
// #endif
},
scrolltolower() {
console.log('onReachBottom');
......@@ -306,59 +338,7 @@
this.lists = []
this.loadingText = '加载中'
},
search() {
this.reset()
this.getSalesPlan(true);
},
bindPickerTypesChange(e, type) {
console.log('picker发送选择改变,携带值为', e.detail.value)
const index = e.detail.value || 0
switch (type){
case 'type':
this.condition.PROCESS_TYPE = this.salePlanArr[index].value
this.condition.PROCESS_TYPE_VIEW = this.salePlanArr[index].name
break;
case 'status':
this.condition.ESTAT = this.saleStatusArr[index].value
this.condition.ESTAT_VIEW = this.saleStatusArr[index].name
break;
default:
break;
}
},
bindPickerYearChange(e) {
console.log('picker发送选择改变,携带值为', e.detail.value)
this.condition.GJAHR = e.detail.value
},
handleChecked(e, item, index) {
console.log('当前索引:', e, index);
this.lists.forEach((cur) => {
if (cur.PLAN_NUMBER === item.PLAN_NUMBER) {
cur.checked = !cur.checked
} else {
cur.checked = false
}
})
if (item.checked === true) {
this.selectedSalePlan = item
if (this.selectedSalePlan && this.selectedSalePlan.PLAN_NUMBER) {
uni.$emit('selectedSalePlan', {
selectedSalePlan: this.selectedSalePlan,
index: this.toPageParams.index
})
uni.navigateBack()
}
} else {
// const selectIndex = this.selectedSalePlan.findIndex((saleplan)=>{
// return saleplan.id === item.id
// })
// this.selectedSalePlan.splice(selectIndex,1)
this.selectedSalePlan = {}
}
},
}
}
</script>
......@@ -370,9 +350,9 @@
.header-bg {
height: 284rpx;
opacity: 0.72;
margin-top: -88rpx;
}
.header-bg-img {
width: 750rpx;
}
......@@ -380,26 +360,30 @@
.lists {
position: relative;
flex-direction: column;
overflow-y: scroll;
background: #f0f4f5;
overflow-x: hidden;
flex: 1;
}
.main {
position: relative;
flex-direction: column;
margin-top: -164rpx;
padding: 0 16rpx;
// padding-top: 40rpx;
// background-color: #fff;
}
.scroll-area {
overflow-y: scroll;
background: #f0f4f5;
}
.middle {
background-color: #fff;
border-radius: 16rpx;
padding: 32rpx 64rpx 32rpx 48rpx;
padding: 0rpx 64rpx 0rpx 48rpx;
}
.text-block {
display: flex;
overflow: hidden;
height: 96rpx;
margin-bottom: 14rpx;
......@@ -420,53 +404,46 @@
}
.middle-date-des {
flex: 2;
flex: 3;
font-size: 28rpx;
line-height: 96rpx;
height: 96rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #888;
}
.middle-pro-des {
display: flex;
flex: 2;
font-size: 28rpx;
// height: 96rpx;
color: #888;
margin-top: 10rpx;
align-items: center;
}
.middle-date-select {
color: #888;
}
.middle-date-des-select {
color: #333;
}
.picker-year {
position: relative;
border-radius: 4px;
align-items: center;
line-height: normal;
}
.uni-list-cell {
flex: 1;
height: 96rpx;
line-height: 96rpx;
}
.uni-list-cell-db {
flex: 1;
height: 48px;
line-height: 48px;
}
.picker-block {
flex: 1;
}
.uni-input-text {
height: 96rpx;
line-height: 96rpx;
font-size: 14px;
color: #888;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.icon-arrow {
position: absolute;
right: 0;
......@@ -476,60 +453,119 @@
z-index: 10;
}
.scroll-area {
overflow-y: scroll;
}
.planout-block-lists {
display: flex;
flex-direction: column;
}
.uni-swipe {
.planout-block-item {
// margin: 32rpx 0;
}
.scroll-item {
flex: 1;
margin-bottom: 26rpx;
display: flex;
flex-direction: column;
// margin-bottom: 32rpx;
background-color: #fff;
border-radius: 16rpx;
// padding: 32rpx 64rpx 40rpx 48rpx;
}
.planout-block-item__last {
height: 40px;
}
.item-block {
overflow: hidden;
}
/deep/ .uni-swipe_box {
.item-block-label {
font-size: 24rpx;
color: #333;
}
.item-block__label {
flex: 1;
text-align: left;
font-size: 32rpx;
color: #333;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
}
.swipe-right-block {
display: flex;
width: 100rpx;
justify-content: center;
align-items: center;
.item-block-code {
padding-bottom: 16rpx;
}
.swipe-right-block__text {
display: inline-block;
width: 52rpx;
height: 52rpx;
border-radius: 50%;
background-color: #fff;
.item-block-name {
padding-top: 24rpx;
padding-bottom: 32rpx;
}
.swipe-right-block__active {
width: 52rpx;
height: 52rpx;
border-radius: 50%;
background-color: $wly-primary-color;
.item-block-label-des {
flex: 1;
text-align: left;
font-size: 28rpx;
color: #333;
}
.item-block-right-des {
flex: 1;
text-align: right;
font-size: 28rpx;
color: #333;
}
.planout-block {
.block-detal {
display: flex;
justify-content: space-between;
margin-top: 30rpx;
margin-bottom: 30rpx;
padding: 0 24rpx;
flex-direction: column;
background: #f8f8f8;
border-radius: 20rpx;
padding: 0 20rpx;
margin-top: 32rpx;
}
.planout-block-item {
flex: 1;
width: 750rpx;
margin-bottom: 26rpx;
.block-detal-item {
display: flex;
overflow: hidden;
height: 96rpx;
margin-bottom: 14rpx;
border-bottom: 1px solid #f4f5f6;
}
.block-detal-item-last {
margin-bottom: 0;
border-bottom: 0;
}
.detal-item-label {
flex: 2;
font-size: 28rpx;
line-height: 96rpx;
color: #333;
margin-bottom: 8rpx;
}
.detal-item-value {
flex: 2;
font-size: 28rpx;
line-height: 96rpx;
height: 96rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #888;
}
.middle-pro-des {
display: flex;
flex: 2;
font-size: 28rpx;
// height: 96rpx;
color: #888;
margin-top: 10rpx;
align-items: center;
}
.btn {
flex: 1;
height: 92rpx;
......@@ -555,4 +591,57 @@
font-size: 12px;
color: #999;
}
.navs-block {
flex-direction: column;
background-color: #fff;
padding-top: 40rpx;
}
.navs-tab {
display: flex;
flex: 1;
align-items: center;
height: 60rpx;
border-bottom: 1px solid #F4F5F6;
padding-bottom: 8rpx;
}
.navs-tab-item {
display: flex;
justify-content: center;
flex: 1;
align-items: center;
height: 50rpx;
overflow: hidden;
}
.search-type-text {
color: #333;
font-size: 28rpx;
}
.icon-arrow-down {
width: 6px;
height: 4px;
margin-left: 16rpx;
}
.planout-block {
display: flex;
justify-content: space-between;
margin-top: 30rpx;
margin-bottom: 30rpx;
padding: 0 24rpx;
}
.btn {
flex: 1;
height: 92rpx;
background: $wly-primary-color;
border-radius: 46rpx;
}
.btn-text {
color: #fff;
font-size: 34rpx;
}
</style>
......@@ -23,15 +23,15 @@
</view>
<view class="text-block">
<text class="middle-date">制票类型</text>
<text class="middle-date-des">{{orderItem.noticeSheetTypeTextView}}</text>
<text class="middle-date-margin-des">{{orderItem.noticeSheetTypeTextView}}</text>
</view>
<view class="text-block">
<text class="middle-date">开票客户</text>
<text class="middle-date-des">{{orderItem.billCustomer}}</text>
<text class="middle-date-margin-des">{{orderItem.billCustomer}}</text>
</view>
<view class="text-block">
<text class="middle-date" @tap="selectClient">订单客户</text>
<text class="middle-date-des">{{orderItem.customerName}}</text>
<text class="middle-date-margin-des">{{orderItem.customerName}}</text>
</view>
<view class="text-block">
<text class="middle-date">渠道类型</text>
......@@ -433,7 +433,7 @@
.text-block {
overflow: hidden;
height: 96rpx;
// height: 96rpx;
// margin-bottom: 14rpx;
border-bottom: 1px solid #f4f5f6;
}
......@@ -455,10 +455,19 @@
flex: 3;
font-size: 28rpx;
height: 96rpx;
color: $text-base-color;
padding-top: 30rpx;
justify-content: start;
}
.middle-date-margin-des{
flex: 3;
font-size: 28rpx;
color: $text-base-color;
padding-top: 30rpx;
margin-bottom: 20rpx;
width: 200%;
text-align: left;
justify-content: end;
}
.picker-year {
position: relative;
......@@ -535,4 +544,5 @@
line-height: 96rpx;
color: $text-base-color;
}
</style>
......@@ -8,7 +8,7 @@
<view class="middle view">
<view class="text-block">
<text class="middle-date">存货分类</text>
<view class="middle-date-des uni-list picker-year">
<view class="middle-date-pro uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input">{{clueDetail.wlybrand_text}}</text>
......@@ -28,7 +28,7 @@
</view>
<view class="text-block">
<text class="middle-date">客户名称</text>
<view class="middle-date-des uni-list picker-year">
<view class="middle-date-pro uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input">{{clueDetail.cust_name}}</text>
......@@ -69,7 +69,7 @@
</view>
<view class="text-block">
<text class="middle-date">计划类型</text>
<view class="middle-date-des uni-list picker-year">
<view class="middle-date-pro uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="uni-input">{{clueDetail.plan_type_text}}</text>
......@@ -266,7 +266,7 @@
.text-block {
display: flex;
overflow: hidden;
height: 96rpx;
// height: 96rpx;
border-bottom: 1px solid #f4f5f6;
}
......@@ -289,12 +289,22 @@
.middle-date-des {
align-items: center;
flex: 5.5;
flex: 3;
font-size: 24rpx;
color: $text-base-color;
height: 96rpx;
line-height: 96rpx;
}
.middle-date-pro {
align-items: center;
flex: 3;
font-size: 24rpx;
color: $text-base-color;
// height: 96rpx;
// line-height: 96rpx;
display: flex;
margin-top: 30rpx;
}
.uni-input-placeholder {
color: #DBDBDB;
......
......@@ -65,7 +65,7 @@
<view class="uni-list-cell-db">
<picker class="picker-block" @change="bindPickerChange($event,'receive')" :value="orderItem.receiveUnitName"
range-key='PARTNER_NAME' mode="selector" :range="receiveUnitArr">
<text class="middle-date-address-text">{{orderItem.receiveUnitName}}</text>
<text class="middle-date-margin-des">{{orderItem.receiveUnitName}}</text>
</picker>
</view>
</view>
......@@ -78,7 +78,7 @@
<view class="middle-date-des-unit uni-list picker-year">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<text class="middle-date-address-text">{{orderItem.spurtCodeUnitName}}</text>
<text class="middle-date-margin-des">{{orderItem.spurtCodeUnitName}}</text>
</view>
</view>
<!-- <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode=""></image> -->
......@@ -589,6 +589,16 @@
line-height: 34rpx;
align-items: center;
}
.middle-date-margin-des{
flex: 1;
font-size: 28rpx;
color: #333;
margin-top: 0rpx;
margin-bottom: 20rpx;
width: 200%;
text-align: left;
justify-content: end;
}
.picker-year {
position: relative;
align-items: center;
......
......@@ -183,7 +183,7 @@ class Request {
if (config.url.indexOf('crm-app') !== -1) {
// config.baseUrl = 'http://10.0.135.61'
// config.baseUrl = 'https://crm.wuliangye.com.cn'
config.baseUrl = 'http://221.10.127.60:5000'
} else if (config.url.indexOf('adapter') !== -1) {
// config.baseUrl = 'http://api.c0331.dev.guanyingyun.com'
......@@ -197,6 +197,7 @@ class Request {
config.baseUrl = 'http://221.10.127.60:5000/gateway/zdcx'
} else if (config.url.indexOf('uusafe') !== -1) {
config.baseUrl = 'https://zzy.ipincloud.cn:9070'
// config.baseUrl = 'https://apps.wuliangye.com.cn:9076'
} else {
// http://10.0.134.182:8000
config.baseUrl = 'http://221.10.127.60:5000/wlySap'
......
......@@ -231,3 +231,12 @@ export async function queryNewsListSet(params) {
const res = await apiHelper.get('/sap/opu/odata/sap/ZODATA_APP_006_SRV/SODYNSTATSet', params, {'Content-Type': 'application/json','Accept':'application/json'})
return res
}
/**
* 最终订单动态
* @returns {Promise<AxiosResponse<T>>}
*/
export async function findAppWantGoods(params) {
const res = await apiHelper.post('/crm-app/Invinfo/findAppWantGoods', params, {
})
return res
}
\ No newline at end of file
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 to comment