| | |
| | | </view> |
| | | <u-button class="xiugai-btn" type="primary" text="提交" @click="dataFormSubmit"></u-button> |
| | | </view> |
| | | <view v-else> |
| | | <view v-if="isTomJihua == '已设置的计划'"> |
| | | <view class="main-block-box" v-for="(item,index) in fyData" :key="item.id"> |
| | | <view class="jihua-main-line"> |
| | | <view class="name">客户名称:{{item.customerName}}</view> |
| | |
| | | </view> |
| | | <u-button class="xiugai-btn" type="primary" text="修改" @click="getOrderCarNum"></u-button> |
| | | </view> |
| | | |
| | | <!-- <u-empty |
| | | v-if="fyData.length == 0" |
| | | mode="data" |
| | | icon="" |
| | | > |
| | | </u-empty> --> |
| | | </div> |
| | | </view> |
| | | <!-- 菜单栏 --> |
| | |
| | | info: { |
| | | shippingDate: this.todayDate() |
| | | }, |
| | | isTomJihua: '', |
| | | isTomJihua: '全部', |
| | | editRow:'', //修改行的行 |
| | | menuShow:false, |
| | | } |
| | |
| | | title: '正在加载...' |
| | | }); |
| | | let compId = uni.getStorageSync('userInfo').compId |
| | | |
| | | let params = { |
| | | current: 1, |
| | | size: 100, |
| | |
| | | if (res.code == 0) { |
| | | if(!allList) { |
| | | this.fyData = res.data.records |
| | | console.log(this.fyData,'this.fyData=========11111111') |
| | | }else { |
| | | let l = res.data.records |
| | | allList.forEach(e => { |
| | |
| | | }) |
| | | }) |
| | | this.fyData = allList; |
| | | console.log(this.fyData,'this.fyData=========22222222') |
| | | } |
| | | console.log(this.fyData,'this.fyData=========333333333') |
| | | uni.hideLoading(); |
| | | } |
| | | }).catch(e => { |
| | | uni.hideLoading(); |
| | | }) |
| | | }, |
| | | tabClick(item) { //切换今日和明日 |
| | | console.log(item.name, 'item==========') |
| | | console.log(item, 'item==========') |
| | | if (item.index == 1) { |
| | | this.info.shippingDate = this.tomorrowDate() |
| | | if (this.isTomJihua == '已设置的计划') { |