| | |
| | | </view> |
| | | </view> |
| | | <u-popup :show="open" :round="10" mode="bottom"> |
| | | <view class="content"> |
| | | <scroll-view scroll-y class="content"> |
| | | <slot name="content"></slot> |
| | | </view> |
| | | </scroll-view> |
| | | <view class="zhanwei"></view> |
| | | <view class="footer"> |
| | | <view class="footer_close" @click="closes">éç½®</view> |
| | |
| | | } |
| | | .content { |
| | | padding: 30rpx 30rpx 0 30rpx; |
| | | width: 100%; |
| | | height: 800rpx; |
| | | box-sizing: border-box; |
| | | } |
| | | .footer { |
| | | width: 100%; |
| | |
| | | "root": "pages_adjust",
|
| | | "pages": [
|
| | | {
|
| | | "path": "pages/newOutbound/newOutbound",
|
| | | "style": {
|
| | | "navigationBarTitleText": "æ°å»ºåºåº",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | | },
|
| | | {
|
| | | "path": "pages/addReceipt/addReceipt",
|
| | | "style": {
|
| | | "navigationBarTitleText": "æ°å¢å
¥åº",
|
| | | "navigationBarTitleText": "æ°å»ºå
¥åº",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | | }, |
| | |
| | | "navigationBarTitleText": "åºåºåå表",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | | },
|
| | | {
|
| | | "path": "pages/outboundDetails/outboundDetails",
|
| | | "style": {
|
| | | "navigationBarTitleText": "åºåºè¯¦æ
",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | | },
|
| | | {
|
| | | "path": "pages/warehousingList/warehousingList",
|
| | | "style": {
|
| | | "navigationBarTitleText": "å
¥åºåå表",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | | },
|
| | | {
|
| | | "path": "pages/warehousingDetails1/warehousingDetails1",
|
| | | "style": {
|
| | | "navigationBarTitleText": "å
¥åºè¯¦æ
",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | | },
|
| | | {
|
| | | "path": "pages/InventoryQuery/InventoryQuery",
|
| | | "style": {
|
| | | "navigationBarTitleText": "åºåéæ¥è¯¢",
|
| | | "enablePullDownRefresh": false
|
| | | }
|
| | | }
|
| | | ]
|
| | | },
|
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <u-popup :show="show" mode="bottom" :closeable="true" :round="10" @open="open" @close="close"> |
| | | <view class="title"> |
| | | <text>éæ©ç©æ</text> |
| | | </view> |
| | | <view class="content"> |
| | | <view class="content_search"> |
| | | <u-search :showAction="false" placeholder="æç´¢ç©æåç§°" v-model="keyword"></u-search> |
| | | </view> |
| | | <div class="content_total">å
±{{total}}æ¡æ°æ®</div> |
| | | <view class="content_list"> |
| | | <u-list @scrolltolower="scrolltolower"> |
| | | <u-list-item v-for="(item, index) in indexList" :key="index"> |
| | | <div class="content_list_item" @click="getVal(item)"> |
| | | <div class="content_list_item_name"> |
| | | <span>{{item.name}}</span> |
| | | </div> |
| | | </div> |
| | | </u-list-item> |
| | | </u-list> |
| | | </view> |
| | | </view> |
| | | </u-popup> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | props: { |
| | | show: Boolean |
| | | }, |
| | | data() { |
| | | return { |
| | | keyword: '', |
| | | total: 0, |
| | | indexList: [] |
| | | }; |
| | | }, |
| | | methods: { |
| | | getVal(item) { |
| | | this.$emit('value', item) |
| | | }, |
| | | open() { |
| | | this.indexList = [] |
| | | this.loadmore() |
| | | }, |
| | | scrolltolower() { |
| | | this.loadmore() |
| | | }, |
| | | loadmore() { |
| | | for (let i = 0; i < 20; i++) { |
| | | this.indexList.push({ |
| | | id: i, |
| | | name: `ä»åº${i}` |
| | | }) |
| | | } |
| | | }, |
| | | close() { |
| | | this.$emit('close') |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .title { |
| | | width: 100%; |
| | | height: 85rpx; |
| | | line-height: 85rpx; |
| | | text-align: center; |
| | | text { |
| | | font-size: 30rpx; |
| | | font-family: PingFangSC-Medium, PingFang SC; |
| | | font-weight: 500; |
| | | color: #222222; |
| | | } |
| | | } |
| | | .content { |
| | | width: 100%; |
| | | .content_search { |
| | | width: 100%; |
| | | padding: 0 30rpx 30rpx 30rpx; |
| | | background: white; |
| | | position: sticky; |
| | | top: 85rpx; |
| | | z-index: 9; |
| | | box-sizing: border-box; |
| | | } |
| | | .content_total { |
| | | padding: 24rpx 30rpx; |
| | | background: #F7F7F7; |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #666666; |
| | | } |
| | | .content_list { |
| | | width: 100%; |
| | | height: 800rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | .content_list_item { |
| | | padding: 30rpx; |
| | | display: flex; |
| | | border-bottom: 1rpx solid #ececec; |
| | | .serious { |
| | | color: $nav-stateColor4 !important; |
| | | } |
| | | .success { |
| | | color: $nav-stateColor2 !important; |
| | | } |
| | | .warning { |
| | | color: $nav-stateColor5 !important; |
| | | } |
| | | .content_list_item_status { |
| | | font-size: 28rpx; |
| | | margin-right: 10rpx; |
| | | } |
| | | .content_list_item_name { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | span { |
| | | font-size: 30rpx; |
| | | font-family: PingFangSC-Regular, PingFang SC; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <u-popup :show="show" mode="bottom" :closeable="true" :round="10" @open="open" @close="close"> |
| | | <view class="title"> |
| | | <text>鿩工åº</text> |
| | | </view> |
| | | <view class="content"> |
| | | <scroll-view scroll-y class="content_list"> |
| | | <div class="content_list_item" v-for="(item, index) in list" :key="index" @click="getVal(item)"> |
| | | <div class="content_list_item_name"> |
| | | <span>{{item.name}}</span> |
| | | </div> |
| | | </div> |
| | | </scroll-view> |
| | | </view> |
| | | </u-popup> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | props: { |
| | | show: { |
| | | type: Boolean, |
| | | required: true |
| | | }, |
| | | list: { |
| | | type: Array, |
| | | required: true |
| | | } |
| | | }, |
| | | methods: { |
| | | getVal(item) { |
| | | this.$emit('value', item) |
| | | }, |
| | | open() { |
| | | this.indexList = [] |
| | | }, |
| | | close() { |
| | | this.$emit('close') |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .title { |
| | | width: 100%; |
| | | height: 85rpx; |
| | | line-height: 85rpx; |
| | | text-align: center; |
| | | text { |
| | | font-size: 30rpx; |
| | | font-family: PingFangSC-Medium, PingFang SC; |
| | | font-weight: 500; |
| | | color: #222222; |
| | | } |
| | | } |
| | | .content { |
| | | width: 100%; |
| | | .content_search { |
| | | width: 100%; |
| | | padding: 0 30rpx 30rpx 30rpx; |
| | | background: white; |
| | | position: sticky; |
| | | top: 85rpx; |
| | | z-index: 9; |
| | | box-sizing: border-box; |
| | | } |
| | | .content_total { |
| | | padding: 24rpx 30rpx; |
| | | background: #F7F7F7; |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #666666; |
| | | } |
| | | .content_list { |
| | | width: 100%; |
| | | height: 800rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | .content_list_item { |
| | | padding: 30rpx; |
| | | display: flex; |
| | | border-bottom: 1rpx solid #ececec; |
| | | .serious { |
| | | color: $nav-stateColor4 !important; |
| | | } |
| | | .success { |
| | | color: $nav-stateColor2 !important; |
| | | } |
| | | .warning { |
| | | color: $nav-stateColor5 !important; |
| | | } |
| | | .content_list_item_status { |
| | | font-size: 28rpx; |
| | | margin-right: 10rpx; |
| | | } |
| | | .content_list_item_name { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | span { |
| | | font-size: 30rpx; |
| | | font-family: PingFangSC-Regular, PingFang SC; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <u-popup :show="show" mode="bottom" :closeable="true" :round="10" @open="open" @close="close"> |
| | | <u-popup :show="show" mode="bottom" :closeable="true" :round="10" @close="close"> |
| | | <view class="title"> |
| | | <text>éæ©è´§ä½</text> |
| | | </view> |
| | | <view class="content"> |
| | | <view class="content_list"> |
| | | <u-list @scrolltolower="scrolltolower"> |
| | | <u-list-item v-for="(item, index) in indexList" :key="index"> |
| | | <div class="content_list_item"> |
| | | <div class="content_list_item_name"> |
| | | è´§ä½{{index}} |
| | | </div> |
| | | </div> |
| | | </u-list-item> |
| | | </u-list> |
| | | <div class="content_list_item" v-for="(item, i) in list" :key="i" @click="jump(item)"> |
| | | <div class="content_list_item_name">{{item.unionName}}</div> |
| | | </div> |
| | | </view> |
| | | </view> |
| | | </u-popup> |
| | |
| | | <script> |
| | | export default { |
| | | props: { |
| | | show: Boolean |
| | | show: { |
| | | type: Boolean, |
| | | required: true |
| | | }, |
| | | list: { |
| | | type: Array, |
| | | required: true |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | indexList: [1,2,3,4,5,6,7,8,9] |
| | | }; |
| | | }, |
| | | methods: { |
| | | close() { |
| | | this.$emit('close') |
| | | }, |
| | | jump(item) { |
| | | this.$emit('value', item) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view class="content"> |
| | | <view class="content_search"> |
| | | <Search @searchInput="searchInput" @submit="submit" @reset="reset" :isShow="true" |
| | | placeholder="æç´¢ä»åºåç§°/ç©æåç§°"> |
| | | <template v-slot:content> |
| | | <view class="Search_item"> |
| | | <view class="Search_item_label">æ±æ»ä¾æ®</view> |
| | | <view class="Search_item_content"> |
| | | <view class="tag"> |
| | | <view |
| | | class="tag_item" |
| | | :class="{ tag_active: item.isActive }" |
| | | v-for="(item, i) in groupTypes" |
| | | :key="item.id" |
| | | @click="changeGroup(i)" |
| | | > |
| | | {{ item.name }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | </Search> |
| | | </view> |
| | | <view class="content_total" :style="{top: top}">å
±{{controlData.total}}æ¡æ°æ®</view> |
| | | <view class="content_list"> |
| | | <scroll-view @scrolltolower="getLists" scroll-y :style="{height: height}"> |
| | | <view class="content_list_item" v-for="(item, i) in list" :key="i"> |
| | | <view class="content_list_item_top"> |
| | | <view class="content_list_item_top_left"> |
| | | <text>{{ item.materialName }} | {{ item.materialCode }}</text> |
| | | </view> |
| | | <view class="content_list_item_top_right"> |
| | | <text class="created">{{ 'åºåï¼' + item.num + item.unitName }}</text> |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_sx"> |
| | | <text v-if="item.qualityType == 0" class="green">åæ ¼ | </text> |
| | | <text v-if="item.qualityType == 1" class="yellow">ä¸è¯ | </text> |
| | | <text v-if="item.qualityType == 2" class="red">æ¥åº | </text> |
| | | <text>{{ item.procedureName ? item.procedureName : '-' }} | </text> |
| | | <text>{{ item.batch ? item.batch : '-' }}</text> |
| | | </view> |
| | | <!-- item主é¢ä¿¡æ¯é¨å --> |
| | | <view class="content_list_item_content"> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">è§æ ¼ï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.attr }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item" v-if="data.groupType == '3' || data.groupType == '2'"> |
| | | <view class="content_list_item_content_item_label">ä»åºï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.wareHouseName ? item.wareHouseName : '-' }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item" v-if="data.groupType == '3' || data.groupType == '2'"> |
| | | <view class="content_list_item_content_item_label">è´§ä½ï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.locationName }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </scroll-view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import Search from '@/components/Search.vue' |
| | | import { orderTyepToStr } from '@/util/constData.js' |
| | | export default { |
| | | components: { |
| | | Search |
| | | }, |
| | | data() { |
| | | return { |
| | | height: '', |
| | | top: '', |
| | | controlData: { |
| | | finished: false, |
| | | loading: false, |
| | | total: 0, |
| | | page: 0, |
| | | capacity: 10, |
| | | }, |
| | | groupTypes: [ |
| | | { name: 'é»è®¤', id: '3', isActive: true }, |
| | | { name: 'ç©æ', id: '1', isActive: false }, |
| | | { name: 'ç©æ+ä»åº', id: '2', isActive: false } |
| | | ], |
| | | data: { |
| | | materialName: '', |
| | | groupType: '3' |
| | | }, |
| | | list: [] |
| | | }; |
| | | }, |
| | | onReady() { |
| | | var that = this |
| | | this.$nextTick(() => { |
| | | uni.createSelectorQuery().in(this).select('.content_search').boundingClientRect((rect) => { |
| | | that.height = `calc(100vh - ${rect.height + 80}px)` |
| | | that.top = `${rect.height}px` |
| | | }).exec() |
| | | }) |
| | | }, |
| | | methods: { |
| | | changeGroup(i) { |
| | | this.groupTypes[i].isActive = !this.groupTypes[i].isActive; |
| | | this.data.groupType = this.groupTypes[i].id |
| | | for (const index in this.groupTypes) { |
| | | if (index != i) { |
| | | // console.log(index, i) |
| | | const item = this.groupTypes[index] |
| | | item.isActive = false |
| | | } |
| | | } |
| | | }, |
| | | tyepToStr(type) { |
| | | // <!-- 1ã车é´é¢æï¼2ã车é´å¤æï¼3ãå
¶ä»ï¼4ãå®å·¥å
¥åº --> |
| | | for (const item of this.orderType) { |
| | | if (item.id == type) { |
| | | return item.name |
| | | } |
| | | } |
| | | return '-' |
| | | }, |
| | | // 跳转 |
| | | jump(item) { |
| | | uni.navigateTo({ |
| | | url: `/pages/planDetails/planDetails?id=${item.id}` |
| | | }) |
| | | }, |
| | | // è·å头é¨ç»ä»¶é«åº¦ |
| | | getHeight(height) { |
| | | this.height = height |
| | | }, |
| | | // éç½® |
| | | reset() { |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | this.listData.mixParam = '' |
| | | this.listData.startDate = '' |
| | | this.listData.endDate = '' |
| | | this.listData.procedureIds = [] |
| | | if (this.factoryList.length > 0) { |
| | | this.listData.departIds = this.factoryList[0].id |
| | | } |
| | | if (this.data.length > 0) { |
| | | this.data.forEach(item => { |
| | | item.isActive = false |
| | | }) |
| | | } |
| | | // this.getLists() |
| | | // this.pageCounts() |
| | | }, |
| | | // æ¥æç¡®å® |
| | | timeConfirm(val) { |
| | | this.listData.startDate = val[0] |
| | | this.listData.endDate = val[val.length - 1] |
| | | this.timeShow = false |
| | | }, |
| | | // 忢工å |
| | | changeTags(i, id) { |
| | | this.listData.departIds = id |
| | | this.getWorkingProcedures(id) |
| | | this.factoryList.forEach((item, index) => { |
| | | if (index === i) { |
| | | item.isActive = true |
| | | } else { |
| | | item.isActive = false |
| | | } |
| | | }) |
| | | }, |
| | | // æå¼æ¥ææä»¶ |
| | | openDate() { |
| | | this.timeShow = true |
| | | }, |
| | | // æç´¢ |
| | | searchInput(val) { |
| | | this.listData.mixParam = val |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | this.getLists() |
| | | }, |
| | | // ç¹å»æ ç¾æç´¢ |
| | | clickTag(ids) { |
| | | this.listData.cateIds = ids |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | // this.getLists() |
| | | }, |
| | | // è·åå表ç»è®¡ |
| | | pageCounts() { |
| | | pageCount({ |
| | | factoryId: this.listData.departIds, |
| | | procedureIdList: this.listData.procedureIds ? this.listData.procedureIds : [], |
| | | startDate: this.listData.startDate, |
| | | endDate: this.listData.endDate, |
| | | statusList: this.listData.cateIds |
| | | }).then(res => { |
| | | if (res.code === 200 && res.data) { |
| | | this.tagList[0].num = res.data.allNum.toString() |
| | | this.tagList[1].num = res.data.startNum.toString() |
| | | this.tagList[2].num = res.data.ingNum.toString() |
| | | this.tagList[3].num = res.data.endNum.toString() |
| | | } |
| | | }) |
| | | }, |
| | | // è·åå·¥åæ°æ® |
| | | getOrganizations() { |
| | | getOrganization({ |
| | | type: 1 |
| | | }).then(res => { |
| | | if (res.code === 200 && res.data && res.data.length !== 0) { |
| | | res.data.forEach((item, i) => { |
| | | item.isActive = i === 0; |
| | | }) |
| | | if (res.data.length > 0) { |
| | | this.factoryList = res.data |
| | | this.listData.departIds = this.factoryList[0].id |
| | | this.listData.procedureIds = '' |
| | | this.finished = false |
| | | this.getWorkingProcedures(this.factoryList[0].id) |
| | | this.getLists() |
| | | this.pageCounts() |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | // è·åå·¥åºæ°æ® |
| | | getWorkingProcedures(orgId) { |
| | | this.data = [] |
| | | getWorkingProcedure({ |
| | | orgId |
| | | }) |
| | | .then(res => { |
| | | if (res.code === 200 && res.data && res.data.length !== 0) { |
| | | res.data.forEach((item, i) => { |
| | | item.isActive = false; |
| | | }) |
| | | this.data = res.data |
| | | } |
| | | }) |
| | | }, |
| | | // æç´¢å¼¹æ¡æäº¤ |
| | | submit() { |
| | | let pmodelOrgId = [] |
| | | this.data.forEach((item) => { |
| | | if (item.isActive) { |
| | | pmodelOrgId.push(item.id) |
| | | } |
| | | }) |
| | | this.listData.procedureIds = pmodelOrgId |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | // this.getLists() |
| | | // this.pageCounts() |
| | | }, |
| | | // è·å计ååè¡¨æ°æ® |
| | | getLists() { |
| | | console.log('getLists') |
| | | if (!this.finished) { |
| | | this.loading = true |
| | | this.listData.page = this.listData.page++ |
| | | getList({ |
| | | capacity: this.listData.capacity, |
| | | model: { |
| | | mixParam: this.listData.mixParam, |
| | | startDate: this.listData.startDate, |
| | | endDate: this.listData.endDate, |
| | | procedureIdList: this.listData.procedureIds ? this.listData.procedureIds : [], |
| | | factoryId: this.listData.departIds, |
| | | statusList: this.listData.cateIds |
| | | }, |
| | | page: this.listData.page, |
| | | sorts: [{ |
| | | direction: 'ASC', |
| | | property: 'publishDate' |
| | | }] |
| | | }).then(res => { |
| | | this.loading = false |
| | | this.listData.total = res.data.total |
| | | if (this.refreshing) { |
| | | this.lists = [] |
| | | this.refreshing = false; |
| | | } |
| | | if (res.code === 200 && res.data.records.length !== 0) { |
| | | if (this.lists.length === 0) { |
| | | this.lists = res.data.records |
| | | } else { |
| | | this.lists.push(...res.data.records) |
| | | } |
| | | } else { |
| | | this.finished = true |
| | | } |
| | | }).catch(err => { |
| | | this.loading = false |
| | | this.finished = true |
| | | if (this.refreshing) { |
| | | this.lists = [] |
| | | this.refreshing = false; |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .content { |
| | | .content_search { |
| | | width: 100%; |
| | | padding: 30rpx; |
| | | background: white; |
| | | position: sticky; |
| | | top: 0; |
| | | z-index: 999; |
| | | box-sizing: border-box; |
| | | |
| | | .Search_item { |
| | | margin-bottom: 40rpx; |
| | | |
| | | .Search_item_label { |
| | | font-size: 30rpx; |
| | | font-weight: 500; |
| | | color: #222222; |
| | | } |
| | | |
| | | .Search_item_content { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | margin-top: 30rpx; |
| | | |
| | | .tag { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | align-items: center; |
| | | |
| | | .tag_active { |
| | | background: $nav-color !important; |
| | | color: #ffffff !important; |
| | | } |
| | | |
| | | .tag_item { |
| | | padding: 22rpx 26rpx; |
| | | box-sizing: border-box; |
| | | background: #F2F2F2; |
| | | border-radius: 8rpx; |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | color: #333333; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-right: 22rpx; |
| | | margin-bottom: 22rpx; |
| | | } |
| | | } |
| | | |
| | | text { |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | color: #333333; |
| | | margin: 0 30rpx; |
| | | } |
| | | |
| | | .Search_item_content_a { |
| | | padding: 20rpx 0; |
| | | flex: 1; |
| | | background: #F7F7F7; |
| | | border-radius: 8rpx; |
| | | border: 1rpx solid #EEEEEE; |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | color: #B2B2B2; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .content_search_x { |
| | | height: 24rpx; |
| | | } |
| | | } |
| | | |
| | | .content_list { |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | .content_list_item { |
| | | background: #ffffff; |
| | | padding: 30rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | border-bottom: 1rpx solid #ececec; |
| | | .content_list_item_sx { |
| | | margin-top: 20rpx; |
| | | } |
| | | .content_list_item_top { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | .content_list_item_top_left { |
| | | text { |
| | | font-size: 32rpx; |
| | | font-weight: 500; |
| | | color: #333333; |
| | | } |
| | | } |
| | | .content_list_item_top_right { |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | .created { |
| | | color: $nav-stateColor1 !important; |
| | | } |
| | | .warning { |
| | | color: $nav-stateColor5 !important; |
| | | } |
| | | .green { |
| | | color: $nav-stateColor6 !important; |
| | | } |
| | | .info { |
| | | color: $nav-stateColor3 !important; |
| | | } |
| | | } |
| | | } |
| | | .content_list_item_content { |
| | | padding: 24rpx 30rpx; |
| | | background: #f7f7f7; |
| | | border-radius: 16rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | margin-top: 32rpx; |
| | | .content_list_item_content_item { |
| | | width: 100%; |
| | | display: flex; |
| | | margin-top: 24rpx; |
| | | &:nth-child(1) { |
| | | margin-top: 0 !important; |
| | | } |
| | | .content_list_item_content_item_label { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #666666; |
| | | flex-shrink: 0; |
| | | } |
| | | .content_list_item_content_item_nr { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | margin-right: 10rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .content_total { |
| | | width: 100%; |
| | | height: 80rpx; |
| | | padding: 24rpx 30rpx; |
| | | background: #F7F7F7; |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | box-sizing: border-box; |
| | | color: #666666; |
| | | position: sticky; |
| | | z-index: 99; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | </view> |
| | | <van-swipe-cell v-for="(item, index) in list" :key="index"> |
| | | <view class="rework_qd_list"> |
| | | <view class="rework_qd_item"> |
| | | <view class="rework_qd_item" @click="locationShow = true"> |
| | | <text><b>*</b>å
¥åºè´§ä½</text> |
| | | <view class="rework_qd_item_right"> |
| | | <text :class="item.locationName ? 'black' : ''">{{item.locationName ? item.locationName : 'è¯·éæ©'}}</text> |
| | | <u-icon name="arrow-right"></u-icon> |
| | | </view> |
| | | </view> |
| | | <view class="rework_qd_item"> |
| | | <view class="rework_qd_item" @click="materialsShow = true"> |
| | | <text><b>*</b>å
¥åºç©æ</text> |
| | | <view class="rework_qd_item_right"> |
| | | <text :class="item.materialName ? 'black' : ''">{{item.materialName ? item.materialName : 'è¯·éæ©'}}</text> |
| | |
| | | </view> |
| | | </view> |
| | | <template v-if="form.type !== 25"> |
| | | <view class="rework_qd_item"> |
| | | <view class="rework_qd_item" @click="productionShow = true"> |
| | | <text>ç产工åº</text> |
| | | <view class="rework_qd_item_right"> |
| | | <text :class="item.procedureName ? 'black' : ''">{{item.procedureName ? item.procedureName : 'è¯·éæ©'}}</text> |
| | |
| | | </view> |
| | | </view> |
| | | </template> |
| | | <view class="rework_qd_item"> |
| | | <view class="rework_qd_item" @click="qualityShow = true"> |
| | | <text><b>*</b>è´¨é屿§</text> |
| | | <view class="rework_qd_item_right"> |
| | | <text :class="item.qualityTypeName ? 'black' : ''">{{item.qualityTypeName ? item.qualityTypeName : 'è¯·éæ©'}}</text> |
| | |
| | | <view class="rework_qd_item"> |
| | | <text>æ¹æ¬¡å·</text> |
| | | <view class="rework_qd_item_right"> |
| | | <u--input placeholder="请è¾å
¥" style="width: 230rpx;" border="surround" v-model="item.batch"></u--input> |
| | | <u--input placeholder="请è¾å
¥" inputAlign="right" :customStyle="{width: '230rpx'}" border="surround" v-model="item.batch"></u--input> |
| | | </view> |
| | | </view> |
| | | <view class="rework_qd_item"> |
| | | <text><b>*</b>å
¥åºæ°é<template v-if="item.unitName">({{ item.unitName }})</template></text> |
| | | <view class="rework_qd_item_right"> |
| | | <u--input placeholder="0" border="surround" v-model="item.num"></u--input> |
| | | <u--input placeholder="0" inputAlign="right" :customStyle="{width: '230rpx'}" border="surround" v-model="item.num"></u--input> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | </van-swipe-cell> |
| | | </view> |
| | | <view class="rework_zw"></view> |
| | | <!-- åºé¨æä½æé® --> |
| | | <view class="rework_footer"> |
| | | <button class="rework_footer_submit">æäº¤</button> |
| | | </view> |
| | | <u-toast ref="uToast"></u-toast> |
| | | <!-- ä»åº --> |
| | | <Warehouse :show="warehouseShow" @close="close" @value="getValue" /> |
| | | <!-- ç©æ --> |
| | | <Material :show="materialsShow" @close="close1" @value="getValue1" /> |
| | | <!-- è´§ä½ --> |
| | | <location :show="locationShow" @close="close1" @value="getValue1" /> |
| | | <location :show="locationShow" :list="locationList" @close="close3" @value="getValue3" /> |
| | | <!-- å·¥åº --> |
| | | <ProductionProcess :show="productionShow" :list="productionList" @close="close4" @value="getValue4" /> |
| | | <!-- åæ®ç±»å --> |
| | | <u-picker :show="typeShow" keyName="name" :columns="typeList" @confirm="confirm" @cancel="typeClose"></u-picker> |
| | | <!-- è´¨é屿§ --> |
| | | <u-picker :show="qualityShow" :columns="columns" @cancel="qualityShow = false" keyName="name" @confirm="onConfirm1"></u-picker> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import Warehouse from '../../components/Warehouse.vue' |
| | | import location from '../../components/location.vue' |
| | | import Material from '../../components/Material.vue' |
| | | import ProductionProcess from '../../components/ProductionProcess.vue' |
| | | export default { |
| | | components: { Warehouse, location }, |
| | | components: { Warehouse, location, Material, ProductionProcess }, |
| | | data() { |
| | | return { |
| | | i: 0, |
| | | form: { |
| | | warehouseName: '', |
| | | warehouseId: '', |
| | | type: '', |
| | | typeName: '' |
| | | }, |
| | | locationList: [], |
| | | productionList: [], |
| | | columns: [ |
| | | [ |
| | | { name: 'åæ ¼', id: '0' }, |
| | | { name: 'ä¸è¯', id: '1' }, |
| | | { name: 'æ¥åº', id: '2' } |
| | | ] |
| | | ], |
| | | list: [ |
| | | { |
| | | batch: '', |
| | |
| | | typeList: [[{name: 'éè´å
¥åº', id: 25}, {name: 'åºåè°æ´', id: 28}]], |
| | | warehouseShow: false, |
| | | typeShow: false, |
| | | locationShow: false |
| | | locationShow: false, |
| | | materialsShow: false, |
| | | productionShow: false, |
| | | qualityShow: false |
| | | }; |
| | | }, |
| | | methods: { |
| | | // è´¨é屿§ç¡®è®¤ |
| | | onConfirm1(value) { |
| | | this.form.typeName = value.name |
| | | this.form.type = value.id |
| | | if (value.id == 25) { |
| | | this.list.forEach(item => { |
| | | item.procedureId = '' |
| | | item.procedureName = '' |
| | | }) |
| | | } |
| | | this.typeShow = false |
| | | }, |
| | | // éæ©ç©æ |
| | | getValue1(item) { |
| | | this.list[this.i].materialName = item.mmodelUnionName |
| | | this.list[this.i].materialId = item.id |
| | | this.list[this.i].unitId = item.unitId |
| | | this.list[this.i].hasBom = item.hasBom |
| | | this.list[this.i].unitName = item.umodelName |
| | | // è·åç©æä¸å·¥åº |
| | | getListByMaterialId({ |
| | | materialId: item.id |
| | | }).then(res => { |
| | | if (res.code === 200) { |
| | | productionList.value = res.data |
| | | this.list[this.i].procedureId = '' |
| | | this.list[this.i].procedureName = '' |
| | | } |
| | | }) |
| | | materialsShow.value = false |
| | | }, |
| | | // å
³éä»åºéæ©å¼¹æ¡ |
| | | close1() { |
| | | this.materialsShow = false |
| | | }, |
| | | // éæ©è´§ä½ |
| | | getValue3(item) { |
| | | this.list[this.i].locationId = item.id |
| | | this.list[this.i].locationName = item.unionName |
| | | this.list[this.i].qualityType = '' |
| | | this.list[this.i].qualityTypeName = '' |
| | | this.list[this.i].locationIdLabel = item.label |
| | | if (item.label === 'APPLIANCE_ONTEST') { |
| | | this.list[this.i].qualityType = '0' |
| | | this.list[this.i].qualityTypeName = 'åæ ¼' |
| | | } else if (item.label === 'APPLIANCE_OFFTEST') { |
| | | this.list[this.i].qualityType = '1' |
| | | this.list[this.i].qualityTypeName = 'ä¸è¯' |
| | | } else if (item.label === 'APPLIANCE_USELESS') { |
| | | this.list[this.i].qualityType = '2' |
| | | this.list[this.i].qualityTypeName = 'æ¥åº' |
| | | } |
| | | this.locationShow = false |
| | | }, |
| | | // å
³éè´§ä½éæ©å¼¹æ¡ |
| | | close3() { |
| | | this.locationShow = false |
| | | }, |
| | | // ç¡®è®¤åæ®ç±»å |
| | | confirm(val) { |
| | | this.form.type = val.value[0].id |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | |
| | | }; |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | |
| | | </style> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view class="content1"> |
| | | <view class="order-message"> |
| | | <view class="content_list_item_top"> |
| | | <view class="content_list_item_top_left"> |
| | | <!-- <text>åºåºåå·ï¼</text>--> |
| | | <text>{{ data.code }}</text> |
| | | </view> |
| | | <view class="content_list_item_top_right"> |
| | | <text class="warning" v-if="data.status === 0">å¾
åºåº</text> |
| | | <text class="green" v-else-if="data.status === 1">å·²åºåº</text> |
| | | <text class="info" v-else-if="data.status === 2">已忶</text> |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content"> |
| | | <view style="margin-top: 0 " class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">åæ®ç±»åï¼</view> |
| | | <view class="content_list_item_content_item_nr" v-if="data.billType"> |
| | | {{ orderTyepToStr(data.billType) }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">åºè´§ä»åºï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ data.warehouseCode + ' | ' + data.warehouseName }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">è®¡åæ¥æï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ data.planDate }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æ¥æºç±»åï¼</view> |
| | | <view class="content_list_item_content_item_nr" v-if="data.originType"> |
| | | {{ tyepToStr(data.originType) }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æ¥æºåå·ï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ data.originCode ? data.originCode : '-' }} |
| | | </view> |
| | | </view> |
| | | <view v-if="data.updateName" class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æä½äººï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ data.updateName + ' - ' + data.updateMobile }} |
| | | </view> |
| | | </view> |
| | | <view v-if="data.updateTime" class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æä½æ¶é´ï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ data.updateTime }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- 转åºç©æ --> |
| | | <view class="title"> |
| | | <text class="title-prefix"></text> |
| | | <text>{{ data.status == 1 ? 'å·²åºåºç©æ' : 'å¾
åºåºç©æ' }}</text> |
| | | </view> |
| | | <view class="material-content"> |
| | | <view class="item-style" v-for="(item, index) in materailArray" :key="index"> |
| | | <view class="item-title-style"> |
| | | <text style="font-weight: 500;">{{ item.materialName + ' | ' + item.materialCode}}</text> |
| | | </view> |
| | | <view class="item-content-style"> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æ¹æ¬¡å·ï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.batch }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æ°éï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.num + item.unitName }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">å·¥åºï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.procedureName || '-' }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">è´¨éï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | <text v-if="item.qualityType == 0" class="green">åæ ¼</text> |
| | | <text v-else-if="item.qualityType == 1" class="yellow">ä¸è¯</text> |
| | | <text v-else-if="item.qualityType == 2" class="red">æ¥åº</text> |
| | | <text v-else>-</text> |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">åºåºè´§ä½ï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.locationName }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- <view style="margin-top:10rpx; background: #cccccc; height:0.5rpx"></view>--> |
| | | </view> |
| | | </view> |
| | | <view v-if="data.status === 0" style="height:94rpx"></view> |
| | | <view v-if="data.status === 0" class="bottom-button"> |
| | | <button class="button button-action" @click="submit">å»åºåº</button> |
| | | <button class="button button-cancel" @click="cancel">åæ¶</button> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { orderTyepToStr } from '@/util/constData.js' |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | data: {}, |
| | | types: [ |
| | | { name: 'å
¨é¨', id: '', isActive: true }, |
| | | { name: 'éè´è®¢å', id: '0', isActive: false }, |
| | | { name: 'ç产工å', id: '1', isActive: false }, |
| | | { name: 'éå®è®¢å', id: '2', isActive: false }, |
| | | { name: '转åºå', id: '3', isActive: false }, |
| | | { name: 'çç¹å', id: '4', isActive: false }, |
| | | ], |
| | | materailArray: [] |
| | | }; |
| | | }, |
| | | methods: { |
| | | tyepToStr(type) { |
| | | // <!-- 1ã车é´é¢æï¼2ã车é´å¤æï¼3ãå
¶ä»ï¼4ãå®å·¥å
¥åº --> |
| | | for (const item of this.types) { |
| | | if (parseInt(item.id) === type) { |
| | | return item.name |
| | | } |
| | | } |
| | | return '-' |
| | | }, |
| | | submit() { |
| | | |
| | | }, |
| | | cancel() { |
| | | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .content1 { |
| | | padding: 30rpx; |
| | | background: white; |
| | | |
| | | .order-message { |
| | | display: flex; |
| | | flex-direction: column; |
| | | |
| | | // border-bottom: 1rpx solid #ececec; |
| | | .content_list_item_top { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | |
| | | .content_list_item_top_left { |
| | | display: flex; |
| | | |
| | | // align-items: center; |
| | | text { |
| | | font-size: 32rpx; |
| | | font-weight: 500; |
| | | color: #333333; |
| | | } |
| | | } |
| | | |
| | | .content_list_item_top_right { |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | |
| | | .created { |
| | | color: $nav-stateColor1 !important; |
| | | } |
| | | |
| | | .warning { |
| | | color: $nav-stateColor5 !important; |
| | | } |
| | | |
| | | .green { |
| | | color: $nav-stateColor6 !important; |
| | | } |
| | | |
| | | .info { |
| | | color: $nav-stateColor3 !important; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .content_list_item_content { |
| | | padding: 24rpx 30rpx; |
| | | background: #f7f7f7; |
| | | border-radius: 16rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | margin-top: 32rpx; |
| | | |
| | | .content_list_item_content_item { |
| | | width: 100%; |
| | | display: flex; |
| | | margin-top: 24rpx; |
| | | |
| | | .content_list_item_content_item_label { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #666666; |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .content_list_item_content_item_nr { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | margin-right: 10rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .title { |
| | | font-size: 30rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | margin-top: 30rpx; |
| | | |
| | | .title-prefix { |
| | | display: inline-block; |
| | | background-color: #4275FC; |
| | | height: 30rpx; |
| | | width: 8rpx; |
| | | border-radius: 1rpx; |
| | | margin-right: 12rpx; |
| | | } |
| | | } |
| | | |
| | | .material-content { |
| | | margin-top: 30rpx; |
| | | |
| | | .item-style { |
| | | width: initial; |
| | | border-bottom: 1rpx solid #ececec; |
| | | margin-top: 30rpx; |
| | | |
| | | &:last-child { |
| | | border: none; |
| | | } |
| | | |
| | | .item-title-style { |
| | | margin-bottom: 12rpx; |
| | | font-size: 30rpx; |
| | | } |
| | | |
| | | .item-content-style { |
| | | // padding: 24rpx 30rpx; |
| | | // background-color: #f7f7f7; |
| | | // border-radius: 16rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | padding: 1rpx 1rpx 30rpx 1rpx; |
| | | |
| | | .content_list_item_content_item { |
| | | width: 100%; |
| | | display: flex; |
| | | margin-top: 24rpx; |
| | | |
| | | .content_list_item_content_item_label { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #666666; |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .content_list_item_content_item_nr { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | margin-right: 10rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .bottom-button { |
| | | padding: 1rpx; |
| | | background-color: #f7f7f7; |
| | | position: fixed; |
| | | width: 100%; |
| | | bottom: 0; |
| | | height: 188rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | |
| | | .button-action { |
| | | background: #fff; |
| | | color: $nav-color; |
| | | } |
| | | |
| | | .button-cancel { |
| | | background: $nav-color; |
| | | color: #FFFFFF; |
| | | } |
| | | |
| | | .button { |
| | | margin: 32rpx 32rpx 68rpx 32rpx; |
| | | height: 88rpx; |
| | | width: 334rpx; |
| | | border: none; |
| | | border-radius: 8rpx; |
| | | box-shadow: 0 0 12rpx 0 rgba(0, 0, 0, 0.08); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <view> |
| | | åºåºåå表 |
| | | <view class="content"> |
| | | <view class="content_search"> |
| | | <Search @searchInput="searchInput" @submit="submit" @reset="reset" :isShow="true" |
| | | placeholder="æç´¢åºåºåå·/åºåºä»åº"> |
| | | <template v-slot:content> |
| | | <view class="Search_item"> |
| | | <view class="Search_item_label">è®¡åæ¥æ</view> |
| | | <view class="Search_item_content" @click="openDate"> |
| | | <view class="Search_item_content_a" :style="listData.startDate ? 'color: #000' : ''"> |
| | | {{ listData.startDate ? listData.startDate : 'å¼å§æ¥æ'}}</view> |
| | | <text>-</text> |
| | | <view class="Search_item_content_a" :style="listData.endDate ? 'color: #000' : ''"> |
| | | {{ listData.endDate ? listData.endDate : 'ç»ææ¥æ'}}</view> |
| | | </view> |
| | | </view> |
| | | <view class="Search_item"> |
| | | <view class="Search_item_label">åæ®ç±»å</view> |
| | | <view class="Search_item_content"> |
| | | <view class="tag"> |
| | | <view class="tag_item" :class="{'tag_active': item.isActive}" v-for="(item, i) in types" |
| | | :key="item.id" @click="changeTags(i)">{{item.name}}</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | </Search> |
| | | <view class="content_search_x"></view> |
| | | <LabelSelection :TagList="tagList" :isShow="true" @change="clickTag" /> |
| | | </view> |
| | | <view class="content_total" :style="{top: top}">å
±{{listData.total}}æ¡æ°æ®</view> |
| | | <view class="content_list"> |
| | | <scroll-view @scrolltolower="getLists" scroll-y :style="{height: height}"> |
| | | <view class="content_list_item" v-for="(item, i) in lists" :key="i" @click="jump(item)"> |
| | | <!-- item头é¨è§å¾ --> |
| | | <view class="content_list_item_top"> |
| | | <view class="content_list_item_top_left"> |
| | | <!-- <text>转åºåå·ï¼</text>--> |
| | | <text>{{ item.code }}</text> |
| | | </view> |
| | | <view class="content_list_item_top_right"> |
| | | <span class="warning" v-if="item.status === 0">å¾
åºåº</span> |
| | | <span class="green" v-else-if="item.status === 1">å·²åºåº</span> |
| | | <span class="info" v-else-if="item.status === 2">已忶</span> |
| | | </view> |
| | | </view> |
| | | <!-- item主é¢ä¿¡æ¯é¨å --> |
| | | <view class="content_list_item_content"> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">åæ®ç±»åï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ orderTyepToStr(item.billType) }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">åºåºä»åºï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.warehouseName + ' | ' + item.warehouseCode }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">计ååºåºï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.planDate }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æ¥æºç±»åï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ tyepToStr(item.originType) }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æ¥æºåå·ï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.originCode ? item.originCode : '-' }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </scroll-view> |
| | | </view> |
| | | <!-- éæ©æ¥æ --> |
| | | <u-calendar :show="timeShow" @close="timeShow = false" @confirm="timeConfirm"></u-calendar> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import Search from '@/components/Search.vue' |
| | | import LabelSelection from '@/components/LabelSelection.vue' |
| | | import { orderTyepToStr } from '@/util/constData.js' |
| | | export default { |
| | | components: { |
| | | Search, |
| | | LabelSelection |
| | | }, |
| | | data() { |
| | | return { |
| | | |
| | | height: '', |
| | | top: '', |
| | | listData: { |
| | | capacity: 10, |
| | | page: 0, |
| | | total: 0, |
| | | planDateEnd: "", |
| | | planDateStart: "", |
| | | code: "", |
| | | originType: "", |
| | | status: "" |
| | | }, |
| | | types: [ |
| | | { name: '车é´é¢æ', id: '1', isActive: false }, |
| | | { name: 'æºå°å¤æ', id: '2', isActive: false }, |
| | | { name: '车é´è½¬åº', id: '3', isActive: false }, |
| | | { name: 'å®å·¥å
¥åº', id: '4', isActive: false }, |
| | | { name: '计å颿', id: '5', isActive: false }, |
| | | { name: 'å¤å颿', id: '6', isActive: false }, |
| | | { name: 'å¤åå®å·¥è½¬åº', id: '7', isActive: false }, |
| | | { name: '产åå
¥åº', id: '8', isActive: false }, |
| | | { name: '产å转åº', id: '9', isActive: false }, |
| | | { name: 'è®©æ¥æ¾è¡å
¥åº', id: '10', isActive: false }, |
| | | { name: 'è®©æ¥æ¾è¡è½¬åº', id: '11', isActive: false }, |
| | | { name: '客è¿è¿ä¿®é¢æ', id: '12', isActive: false }, |
| | | { name: '客è¿è¿ä¿®å
¥åº', id: '13', isActive: false }, |
| | | { name: 'è·¨ç»ç»è½¬åº', id: '14', isActive: false }, |
| | | { name: 'å·¥åºæ¥åº', id: '15', isActive: false }, |
| | | { name: '客éè¿ä¿®é¢æ', id: '16', isActive: false }, |
| | | { name: '客éè¿ä¿®å
¥åº', id: '17', isActive: false }, |
| | | { name: 'éå®åºåº', id: '18', isActive: false }, |
| | | { name: '让æ¥éå®', id: '19', isActive: false }, |
| | | { name: '工忿', id: '20', isActive: false }, |
| | | { name: 'ä»åºæ¥åº', id: '21', isActive: false }, |
| | | { name: '客鿣éªé¢æ', id: '22', isActive: false }, |
| | | { name: 'å®¢è¿æ£éªé¢æ', id: '23', isActive: false }, |
| | | { name: 'åºåè°æ´', id: '28', isActive: false }, |
| | | { name: 'åºåå
¥åº', id: '30', isActive: false } |
| | | ], |
| | | tagList: [ |
| | | { |
| | | id: "", |
| | | name: "å
¨é¨", |
| | | num: '0', |
| | | }, |
| | | { |
| | | id: "0", |
| | | name: "å¾
åºåº", |
| | | num: '0', |
| | | }, |
| | | { |
| | | id: "1", |
| | | name: "å·²åºåº", |
| | | num: "0", |
| | | }, |
| | | { |
| | | id: "2", |
| | | name: "已忶", |
| | | num: "0", |
| | | } |
| | | ], |
| | | data: [], // å·¥åºæ°æ® |
| | | factoryList: [], |
| | | finished: true, |
| | | loading: false, |
| | | refreshing: false, |
| | | timeShow: false, |
| | | lists: [] |
| | | }; |
| | | }, |
| | | onReady() { |
| | | var that = this |
| | | this.$nextTick(() => { |
| | | uni.createSelectorQuery().in(this).select('.content_search').boundingClientRect((rect) => { |
| | | that.height = `calc(100vh - ${rect.height + 80}px)` |
| | | that.top = `${rect.height}px` |
| | | }).exec() |
| | | }) |
| | | }, |
| | | methods: { |
| | | tyepToStr(type) { |
| | | // <!-- 1ã车é´é¢æï¼2ã车é´å¤æï¼3ãå
¶ä»ï¼4ãå®å·¥å
¥åº --> |
| | | for (const item of this.orderType) { |
| | | if (item.id == type) { |
| | | return item.name |
| | | } |
| | | } |
| | | return '-' |
| | | }, |
| | | // 跳转 |
| | | jump(item) { |
| | | uni.navigateTo({ |
| | | url: `/pages/planDetails/planDetails?id=${item.id}` |
| | | }) |
| | | }, |
| | | // è·å头é¨ç»ä»¶é«åº¦ |
| | | getHeight(height) { |
| | | this.height = height |
| | | }, |
| | | // éç½® |
| | | reset() { |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | this.listData.mixParam = '' |
| | | this.listData.startDate = '' |
| | | this.listData.endDate = '' |
| | | this.listData.procedureIds = [] |
| | | if (this.factoryList.length > 0) { |
| | | this.listData.departIds = this.factoryList[0].id |
| | | } |
| | | if (this.data.length > 0) { |
| | | this.data.forEach(item => { |
| | | item.isActive = false |
| | | }) |
| | | } |
| | | // this.getLists() |
| | | // this.pageCounts() |
| | | }, |
| | | // æ¥æç¡®å® |
| | | timeConfirm(val) { |
| | | this.listData.startDate = val[0] |
| | | this.listData.endDate = val[val.length - 1] |
| | | this.timeShow = false |
| | | }, |
| | | // 忢工å |
| | | changeTags(i, id) { |
| | | this.listData.departIds = id |
| | | this.getWorkingProcedures(id) |
| | | this.factoryList.forEach((item, index) => { |
| | | if (index === i) { |
| | | item.isActive = true |
| | | } else { |
| | | item.isActive = false |
| | | } |
| | | }) |
| | | }, |
| | | // æå¼æ¥ææä»¶ |
| | | openDate() { |
| | | this.timeShow = true |
| | | }, |
| | | // æç´¢ |
| | | searchInput(val) { |
| | | this.listData.mixParam = val |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | this.getLists() |
| | | }, |
| | | // ç¹å»æ ç¾æç´¢ |
| | | clickTag(ids) { |
| | | this.listData.cateIds = ids |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | // this.getLists() |
| | | }, |
| | | // è·åå表ç»è®¡ |
| | | pageCounts() { |
| | | pageCount({ |
| | | factoryId: this.listData.departIds, |
| | | procedureIdList: this.listData.procedureIds ? this.listData.procedureIds : [], |
| | | startDate: this.listData.startDate, |
| | | endDate: this.listData.endDate, |
| | | statusList: this.listData.cateIds |
| | | }).then(res => { |
| | | if (res.code === 200 && res.data) { |
| | | this.tagList[0].num = res.data.allNum.toString() |
| | | this.tagList[1].num = res.data.startNum.toString() |
| | | this.tagList[2].num = res.data.ingNum.toString() |
| | | this.tagList[3].num = res.data.endNum.toString() |
| | | } |
| | | }) |
| | | }, |
| | | // è·åå·¥åæ°æ® |
| | | getOrganizations() { |
| | | getOrganization({ |
| | | type: 1 |
| | | }).then(res => { |
| | | if (res.code === 200 && res.data && res.data.length !== 0) { |
| | | res.data.forEach((item, i) => { |
| | | item.isActive = i === 0; |
| | | }) |
| | | if (res.data.length > 0) { |
| | | this.factoryList = res.data |
| | | this.listData.departIds = this.factoryList[0].id |
| | | this.listData.procedureIds = '' |
| | | this.finished = false |
| | | this.getWorkingProcedures(this.factoryList[0].id) |
| | | this.getLists() |
| | | this.pageCounts() |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | // è·åå·¥åºæ°æ® |
| | | getWorkingProcedures(orgId) { |
| | | this.data = [] |
| | | getWorkingProcedure({ |
| | | orgId |
| | | }) |
| | | .then(res => { |
| | | if (res.code === 200 && res.data && res.data.length !== 0) { |
| | | res.data.forEach((item, i) => { |
| | | item.isActive = false; |
| | | }) |
| | | this.data = res.data |
| | | } |
| | | }) |
| | | }, |
| | | // æç´¢å¼¹æ¡æäº¤ |
| | | submit() { |
| | | let pmodelOrgId = [] |
| | | this.data.forEach((item) => { |
| | | if (item.isActive) { |
| | | pmodelOrgId.push(item.id) |
| | | } |
| | | }) |
| | | this.listData.procedureIds = pmodelOrgId |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | // this.getLists() |
| | | // this.pageCounts() |
| | | }, |
| | | // è·å计ååè¡¨æ°æ® |
| | | getLists() { |
| | | console.log('getLists') |
| | | if (!this.finished) { |
| | | this.loading = true |
| | | this.listData.page = this.listData.page++ |
| | | getList({ |
| | | capacity: this.listData.capacity, |
| | | model: { |
| | | mixParam: this.listData.mixParam, |
| | | startDate: this.listData.startDate, |
| | | endDate: this.listData.endDate, |
| | | procedureIdList: this.listData.procedureIds ? this.listData.procedureIds : [], |
| | | factoryId: this.listData.departIds, |
| | | statusList: this.listData.cateIds |
| | | }, |
| | | page: this.listData.page, |
| | | sorts: [{ |
| | | direction: 'ASC', |
| | | property: 'publishDate' |
| | | }] |
| | | }).then(res => { |
| | | this.loading = false |
| | | this.listData.total = res.data.total |
| | | if (this.refreshing) { |
| | | this.lists = [] |
| | | this.refreshing = false; |
| | | } |
| | | if (res.code === 200 && res.data.records.length !== 0) { |
| | | if (this.lists.length === 0) { |
| | | this.lists = res.data.records |
| | | } else { |
| | | this.lists.push(...res.data.records) |
| | | } |
| | | } else { |
| | | this.finished = true |
| | | } |
| | | }).catch(err => { |
| | | this.loading = false |
| | | this.finished = true |
| | | if (this.refreshing) { |
| | | this.lists = [] |
| | | this.refreshing = false; |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | <style lang="scss" scoped> |
| | | .content { |
| | | .content_search { |
| | | width: 100%; |
| | | padding: 30rpx; |
| | | background: white; |
| | | position: sticky; |
| | | top: 0; |
| | | z-index: 999; |
| | | box-sizing: border-box; |
| | | |
| | | </style> |
| | | .Search_item { |
| | | margin-bottom: 40rpx; |
| | | |
| | | .Search_item_label { |
| | | font-size: 30rpx; |
| | | font-weight: 500; |
| | | color: #222222; |
| | | } |
| | | |
| | | .Search_item_content { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | margin-top: 30rpx; |
| | | |
| | | .tag { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | align-items: center; |
| | | |
| | | .tag_active { |
| | | background: $nav-color !important; |
| | | color: #ffffff !important; |
| | | } |
| | | |
| | | .tag_item { |
| | | padding: 22rpx 26rpx; |
| | | box-sizing: border-box; |
| | | background: #F2F2F2; |
| | | border-radius: 8rpx; |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | color: #333333; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-right: 22rpx; |
| | | margin-bottom: 22rpx; |
| | | } |
| | | } |
| | | |
| | | text { |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | color: #333333; |
| | | margin: 0 30rpx; |
| | | } |
| | | |
| | | .Search_item_content_a { |
| | | padding: 20rpx 0; |
| | | flex: 1; |
| | | background: #F7F7F7; |
| | | border-radius: 8rpx; |
| | | border: 1rpx solid #EEEEEE; |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | color: #B2B2B2; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .content_search_x { |
| | | height: 24rpx; |
| | | } |
| | | } |
| | | |
| | | .content_list { |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | |
| | | .content_list_item { |
| | | width: 100%; |
| | | box-sizing: border-box; |
| | | padding: 30rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | border-bottom: 1rpx solid #ececec; |
| | | background: white; |
| | | |
| | | .content_list_item_top { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | |
| | | .content_list_item_top_left { |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | text { |
| | | font-size: 32rpx; |
| | | font-weight: 500; |
| | | color: #333333; |
| | | } |
| | | } |
| | | |
| | | .content_list_item_top_right { |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | |
| | | .created { |
| | | color: $nav-stateColor1 !important; |
| | | } |
| | | |
| | | .warning { |
| | | color: $nav-stateColor5 !important; |
| | | } |
| | | |
| | | .green { |
| | | color: $nav-stateColor6 !important; |
| | | } |
| | | |
| | | .info { |
| | | color: $nav-stateColor3 !important; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .content_list_item_content { |
| | | padding: 24rpx 30rpx; |
| | | background: #f7f7f7; |
| | | border-radius: 16rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | margin-top: 32rpx; |
| | | |
| | | .content_list_item_content_item { |
| | | width: 100%; |
| | | display: flex; |
| | | margin-top: 24rpx; |
| | | |
| | | &:first-child { |
| | | margin-top: 0; |
| | | } |
| | | |
| | | // &:nth-child(1) { |
| | | // margin-top: 0 !important; |
| | | // } |
| | | // &:nth-child(2) { |
| | | // margin-top: 0 !important; |
| | | // } |
| | | .content_list_item_content_item_label { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #666666; |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .content_list_item_content_item_nr { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | margin-right: 10rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .content_total { |
| | | width: 100%; |
| | | height: 80rpx; |
| | | padding: 24rpx 30rpx; |
| | | background: #F7F7F7; |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | box-sizing: border-box; |
| | | color: #666666; |
| | | position: sticky; |
| | | z-index: 99; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <view class="content"> |
| | | <view class="content_search"> |
| | | <Search @searchInput="searchInput" @submit="submit" @reset="reset" :isShow="true" |
| | | placeholder="æç´¢ç©æåç§°/ç¼ç /å·¥åºåç§°"> |
| | | placeholder="æç´¢è½¬åºåå·"> |
| | | <template v-slot:content> |
| | | <view class="Search_item"> |
| | | <view class="Search_item_label">è®¡åæ¥æ</view> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view class="content"> |
| | | <view class="order-message"> |
| | | <view class="content_list_item_top"> |
| | | <view class="content_list_item_top_left"> |
| | | <!--<text>å
¥åºåå·ï¼</text>--> |
| | | <text>{{ data.code }}</text> |
| | | </view> |
| | | <view class="content_list_item_top_right"> |
| | | <text class="warning" v-if="data.status === 0">å¾
å
¥åº</text> |
| | | <text class="green" v-else-if="data.status === 1">å·²å
¥åº</text> |
| | | <text class="info" v-else-if="data.status === 2">已忶</text> |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content"> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">åæ®ç±»åï¼</view> |
| | | <view class="content_list_item_content_item_nr" v-if="data.billType"> |
| | | {{ orderTyepToStr(data.billType) }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">å
¥åºä»åºï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ data.warehouseCode + ' | ' + data.warehouseName }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">计åå
¥åºï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ data.planDate }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æ¥æºç±»åï¼</view> |
| | | <view class="content_list_item_content_item_nr" v-if="data.originType"> |
| | | {{ tyepToStr(data.originType) }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æ¥æºåå·ï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ data.originCode ? data.originCode : '-' }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- 转åºç©æ --> |
| | | <view class="title"> |
| | | <text class="title-prefix"></text> |
| | | <text>å
¥åºåºç©æ</text> |
| | | </view> |
| | | <view class="material-content"> |
| | | <view class="item-style" v-for="(item, index) in materailArray" :key="index"> |
| | | <view class="item-title-style"> |
| | | <text style="font-weight: 500;">{{ item.materialName + ' | ' + item.materialCode}}</text> |
| | | </view> |
| | | <view class="item-content-style"> |
| | | <view class="content_list_item_content_item"> |
| | | <text class="content_list_item_content_item_label">æ¹æ¬¡å·ï¼</text> |
| | | <text class="content_list_item_content_item_nr">{{ item.batch || '-' }}</text> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <text class="content_list_item_content_item_label">æ°éï¼</text> |
| | | <text class="content_list_item_content_item_nr">{{ item.doneNum + item.unitName }}</text> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <text class="content_list_item_content_item_label">å·¥åºï¼</text> |
| | | <text class="content_list_item_content_item_nr">{{ item.procedureName || '-' }}</text> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">è´¨éï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | <text v-if="item.qualityType == 0" class="green">åæ ¼</text> |
| | | <text v-else-if="item.qualityType == 1" class="yellow">ä¸è¯</text> |
| | | <text v-else-if="item.qualityType == 2" class="red">æ¥åº</text> |
| | | <text v-else>-</text> |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <text class="content_list_item_content_item_label">å
¥åºè´§ä½ï¼</text> |
| | | <text class="content_list_item_content_item_nr">{{ item.locationName ? item.locationName : '-' }}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view v-if="data.status === 0" style="height:94rpx"></view> |
| | | <view v-if="data.status === 0" class="bottom-button"> |
| | | <button class="button button-cancel" @click="submit">å»å
¥åº</button> |
| | | <!-- <button class="button button-cancel" @click="cancel">åæ¶</button> --> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | orderTyepToStr |
| | | } from '@/util/constData.js' |
| | | export default { |
| | | data() { |
| | | return { |
| | | types: [{ |
| | | name: 'å
¨é¨', |
| | | id: '', |
| | | isActive: true |
| | | }, |
| | | { |
| | | name: 'éè´è®¢å', |
| | | id: '0', |
| | | isActive: false |
| | | }, |
| | | { |
| | | name: 'ç产工å', |
| | | id: '1', |
| | | isActive: false |
| | | }, |
| | | { |
| | | name: 'éå®è®¢å', |
| | | id: '2', |
| | | isActive: false |
| | | }, |
| | | { |
| | | name: '转åºå', |
| | | id: '3', |
| | | isActive: false |
| | | }, |
| | | { |
| | | name: 'çç¹å', |
| | | id: '4', |
| | | isActive: false |
| | | }, |
| | | ], |
| | | data: {}, |
| | | materailArray: [] |
| | | }; |
| | | }, |
| | | methods: { |
| | | tyepToStr(type) { |
| | | // <!-- 1ã车é´é¢æï¼2ã车é´å¤æï¼3ãå
¶ä»ï¼4ãå®å·¥å
¥åº --> |
| | | for (const item of this.types) { |
| | | if (parseInt(item.id) === this.type) { |
| | | return item.name |
| | | } |
| | | } |
| | | return '-' |
| | | }, |
| | | submit() { |
| | | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .content { |
| | | background: white; |
| | | |
| | | .order-message { |
| | | padding: 30rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | |
| | | // border-bottom: 1rpx solid #ececec; |
| | | .content_list_item_top { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | |
| | | .content_list_item_top_left { |
| | | display: flex; |
| | | |
| | | // align-items: center; |
| | | text { |
| | | font-size: 32rpx; |
| | | font-weight: 500; |
| | | color: #333333; |
| | | } |
| | | } |
| | | |
| | | .content_list_item_top_right { |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | |
| | | .created { |
| | | color: $nav-stateColor1 !important; |
| | | } |
| | | |
| | | .warning { |
| | | color: $nav-stateColor5 !important; |
| | | } |
| | | |
| | | .green { |
| | | color: $nav-stateColor6 !important; |
| | | } |
| | | |
| | | .info { |
| | | color: $nav-stateColor3 !important; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .content_list_item_content { |
| | | padding: 24rpx 30rpx; |
| | | background: #f7f7f7; |
| | | border-radius: 16rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | margin-top: 32rpx; |
| | | |
| | | .content_list_item_content_item:first-child { |
| | | margin-top: 0; |
| | | } |
| | | |
| | | .content_list_item_content_item { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | margin-top: 24rpx; |
| | | |
| | | .content_list_item_content_item_label { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #666666; |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .content_list_item_content_item_nr { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | margin-right: 10rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .title { |
| | | background-color: #f7f7f7; |
| | | padding: 30rpx; |
| | | font-size: 30rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | .title-prefix { |
| | | display: inline-block; |
| | | background-color: #4275FC; |
| | | height: 30rpx; |
| | | width: 8rpx; |
| | | border-radius: 1rpx; |
| | | margin-right: 12rpx; |
| | | } |
| | | } |
| | | |
| | | .material-content { |
| | | padding: 30rpx; |
| | | |
| | | .item-style { |
| | | width: initial; |
| | | border-bottom: 1rpx solid #ececec; |
| | | margin-top: 30rpx; |
| | | |
| | | &:first-child { |
| | | margin-top: 0 !important; |
| | | } |
| | | |
| | | &:last-child { |
| | | border: none; |
| | | } |
| | | |
| | | .item-title-style { |
| | | margin-bottom: 12rpx; |
| | | font-size: 30rpx; |
| | | } |
| | | |
| | | .item-content-style { |
| | | // padding: 24rpx 30rpx; |
| | | // background-color: #f7f7f7; |
| | | // border-radius: 16rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | padding-bottom: 30rpx; |
| | | justify-content: space-between; |
| | | |
| | | &:last-child { |
| | | padding-bottom: 0; |
| | | } |
| | | |
| | | .content_list_item_content_item { |
| | | width: 100%; |
| | | display: flex; |
| | | margin-top: 24rpx; |
| | | |
| | | .content_list_item_content_item_label { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #666666; |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .content_list_item_content_item_nr { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | margin-right: 10rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .bottom-button { |
| | | padding: 1rpx; |
| | | background-color: #f7f7f7; |
| | | position: fixed; |
| | | width: 100%; |
| | | bottom: 0; |
| | | height: 188rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | |
| | | .button-action { |
| | | background: #fff; |
| | | color: $nav-color; |
| | | } |
| | | |
| | | .button-cancel { |
| | | background: $nav-color; |
| | | color: #FFFFFF; |
| | | } |
| | | |
| | | .button { |
| | | margin: 32rpx 32rpx 68rpx 32rpx; |
| | | height: 88rpx; |
| | | /*width: 668rpx;*/ |
| | | // width: 334rpx; |
| | | border: none; |
| | | border-radius: 8rpx; |
| | | box-shadow: 0 0 12rpx 0 rgba(0, 0, 0, 0.08); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | } |
| | | </style> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view class="content"> |
| | | <view class="content_search"> |
| | | <Search @searchInput="searchInput" @submit="submit" @reset="reset" :isShow="true" |
| | | placeholder="æç´¢å
¥åºåå·/å
¥åºä»åº"> |
| | | <template v-slot:content> |
| | | <view class="Search_item"> |
| | | <view class="Search_item_label">è®¡åæ¥æ</view> |
| | | <view class="Search_item_content" @click="openDate"> |
| | | <view class="Search_item_content_a" :style="listData.startDate ? 'color: #000' : ''"> |
| | | {{ listData.startDate ? listData.startDate : 'å¼å§æ¥æ'}}</view> |
| | | <text>-</text> |
| | | <view class="Search_item_content_a" :style="listData.endDate ? 'color: #000' : ''"> |
| | | {{ listData.endDate ? listData.endDate : 'ç»ææ¥æ'}}</view> |
| | | </view> |
| | | </view> |
| | | <view class="Search_item"> |
| | | <view class="Search_item_label">åæ®ç±»å</view> |
| | | <view class="Search_item_content"> |
| | | <view class="tag"> |
| | | <view class="tag_item" :class="{'tag_active': item.isActive}" v-for="(item, i) in types" |
| | | :key="item.id" @click="changeTags(i)">{{item.name}}</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | </Search> |
| | | <view class="content_search_x"></view> |
| | | <LabelSelection :TagList="tagList" :isShow="true" @change="clickTag" /> |
| | | </view> |
| | | <view class="content_total" :style="{top: top}">å
±{{listData.total}}æ¡æ°æ®</view> |
| | | <view class="content_list"> |
| | | <scroll-view @scrolltolower="getLists" scroll-y :style="{height: height}"> |
| | | <view class="content_list_item" v-for="(item, i) in lists" :key="i" @click="jump(item)"> |
| | | <!-- item头é¨è§å¾ --> |
| | | <view class="content_list_item_top"> |
| | | <view class="content_list_item_top_left"> |
| | | <!-- <text>转åºåå·ï¼</text>--> |
| | | <text>{{ item.code }}</text> |
| | | </view> |
| | | <view class="content_list_item_top_right"> |
| | | <span class="warning" v-if="item.status == 0">å¾
å
¥åº</span> |
| | | <span class="green" v-else-if="item.status == 1">å·²å
¥åº</span> |
| | | <span class="info" v-else-if="item.status == 2">已忶</span> |
| | | </view> |
| | | </view> |
| | | <!-- item主é¢ä¿¡æ¯é¨å --> |
| | | <view class="content_list_item_content"> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">åæ®ç±»åï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ orderTyepToStr(item.billType) }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">å
¥åºä»åºï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.warehouseName + ' | ' + item.warehouseCode }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">计åå
¥åºï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.planDate }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æ¥æºç±»åï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ tyepToStr(item.originType) }} |
| | | </view> |
| | | </view> |
| | | <view class="content_list_item_content_item"> |
| | | <view class="content_list_item_content_item_label">æ¥æºåå·ï¼</view> |
| | | <view class="content_list_item_content_item_nr"> |
| | | {{ item.originCode ? item.originCode : '-' }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </scroll-view> |
| | | </view> |
| | | <!-- éæ©æ¥æ --> |
| | | <u-calendar :show="timeShow" @close="timeShow = false" @confirm="timeConfirm"></u-calendar> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import Search from '@/components/Search.vue' |
| | | import LabelSelection from '@/components/LabelSelection.vue' |
| | | import { orderTyepToStr } from '@/util/constData.js' |
| | | export default { |
| | | components: { |
| | | Search, |
| | | LabelSelection |
| | | }, |
| | | data() { |
| | | return { |
| | | height: '', |
| | | top: '', |
| | | listData: { |
| | | capacity: 10, |
| | | page: 0, |
| | | total: 0, |
| | | planDateEnd: "", |
| | | planDateStart: "", |
| | | code: "", |
| | | originType: "", |
| | | status: "" |
| | | }, |
| | | types: [ |
| | | { name: '车é´é¢æ', id: '1', isActive: false }, |
| | | { name: 'æºå°å¤æ', id: '2', isActive: false }, |
| | | { name: '车é´è½¬åº', id: '3', isActive: false }, |
| | | { name: 'å®å·¥å
¥åº', id: '4', isActive: false }, |
| | | { name: '计å颿', id: '5', isActive: false }, |
| | | { name: 'å¤å颿', id: '6', isActive: false }, |
| | | { name: 'å¤åå®å·¥è½¬åº', id: '7', isActive: false }, |
| | | { name: '产åå
¥åº', id: '8', isActive: false }, |
| | | { name: '产å转åº', id: '9', isActive: false }, |
| | | { name: 'è®©æ¥æ¾è¡å
¥åº', id: '10', isActive: false }, |
| | | { name: 'è®©æ¥æ¾è¡è½¬åº', id: '11', isActive: false }, |
| | | { name: '客è¿è¿ä¿®é¢æ', id: '12', isActive: false }, |
| | | { name: '客è¿è¿ä¿®å
¥åº', id: '13', isActive: false }, |
| | | { name: 'è·¨ç»ç»è½¬åº', id: '14', isActive: false }, |
| | | { name: 'å·¥åºæ¥åº', id: '15', isActive: false }, |
| | | { name: '客éè¿ä¿®é¢æ', id: '16', isActive: false }, |
| | | { name: '客éè¿ä¿®å
¥åº', id: '17', isActive: false }, |
| | | { name: 'éå®åºåº', id: '18', isActive: false }, |
| | | { name: '让æ¥éå®', id: '19', isActive: false }, |
| | | { name: '工忿', id: '20', isActive: false }, |
| | | { name: 'ä»åºæ¥åº', id: '21', isActive: false }, |
| | | { name: '客鿣éªé¢æ', id: '22', isActive: false }, |
| | | { name: 'å®¢è¿æ£éªé¢æ', id: '23', isActive: false }, |
| | | { name: 'åºåè°æ´', id: '28', isActive: false }, |
| | | { name: 'åºåå
¥åº', id: '30', isActive: false } |
| | | ], |
| | | tagList: [ |
| | | { |
| | | id: "", |
| | | name: "å
¨é¨", |
| | | num: '0', |
| | | }, |
| | | { |
| | | id: "0", |
| | | name: "å¾
åºåº", |
| | | num: '0', |
| | | }, |
| | | { |
| | | id: "1", |
| | | name: "å·²åºåº", |
| | | num: "0", |
| | | }, |
| | | { |
| | | id: "2", |
| | | name: "已忶", |
| | | num: "0", |
| | | } |
| | | ], |
| | | data: [], // å·¥åºæ°æ® |
| | | factoryList: [], |
| | | finished: true, |
| | | loading: false, |
| | | refreshing: false, |
| | | timeShow: false, |
| | | lists: [] |
| | | }; |
| | | }, |
| | | onReady() { |
| | | var that = this |
| | | this.$nextTick(() => { |
| | | uni.createSelectorQuery().in(this).select('.content_search').boundingClientRect((rect) => { |
| | | that.height = `calc(100vh - ${rect.height + 80}px)` |
| | | that.top = `${rect.height}px` |
| | | }).exec() |
| | | }) |
| | | }, |
| | | methods: { |
| | | tyepToStr(type) { |
| | | // <!-- 1ã车é´é¢æï¼2ã车é´å¤æï¼3ãå
¶ä»ï¼4ãå®å·¥å
¥åº --> |
| | | for (const item of this.orderType) { |
| | | if (item.id == type) { |
| | | return item.name |
| | | } |
| | | } |
| | | return '-' |
| | | }, |
| | | // 跳转 |
| | | jump(item) { |
| | | uni.navigateTo({ |
| | | url: `/pages/planDetails/planDetails?id=${item.id}` |
| | | }) |
| | | }, |
| | | // è·å头é¨ç»ä»¶é«åº¦ |
| | | getHeight(height) { |
| | | this.height = height |
| | | }, |
| | | // éç½® |
| | | reset() { |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | this.listData.mixParam = '' |
| | | this.listData.startDate = '' |
| | | this.listData.endDate = '' |
| | | this.listData.procedureIds = [] |
| | | if (this.factoryList.length > 0) { |
| | | this.listData.departIds = this.factoryList[0].id |
| | | } |
| | | if (this.data.length > 0) { |
| | | this.data.forEach(item => { |
| | | item.isActive = false |
| | | }) |
| | | } |
| | | // this.getLists() |
| | | // this.pageCounts() |
| | | }, |
| | | // æ¥æç¡®å® |
| | | timeConfirm(val) { |
| | | this.listData.startDate = val[0] |
| | | this.listData.endDate = val[val.length - 1] |
| | | this.timeShow = false |
| | | }, |
| | | // 忢工å |
| | | changeTags(i, id) { |
| | | this.listData.departIds = id |
| | | this.getWorkingProcedures(id) |
| | | this.factoryList.forEach((item, index) => { |
| | | if (index === i) { |
| | | item.isActive = true |
| | | } else { |
| | | item.isActive = false |
| | | } |
| | | }) |
| | | }, |
| | | // æå¼æ¥ææä»¶ |
| | | openDate() { |
| | | this.timeShow = true |
| | | }, |
| | | // æç´¢ |
| | | searchInput(val) { |
| | | this.listData.mixParam = val |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | this.getLists() |
| | | }, |
| | | // ç¹å»æ ç¾æç´¢ |
| | | clickTag(ids) { |
| | | this.listData.cateIds = ids |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | // this.getLists() |
| | | }, |
| | | // è·åå表ç»è®¡ |
| | | pageCounts() { |
| | | pageCount({ |
| | | factoryId: this.listData.departIds, |
| | | procedureIdList: this.listData.procedureIds ? this.listData.procedureIds : [], |
| | | startDate: this.listData.startDate, |
| | | endDate: this.listData.endDate, |
| | | statusList: this.listData.cateIds |
| | | }).then(res => { |
| | | if (res.code === 200 && res.data) { |
| | | this.tagList[0].num = res.data.allNum.toString() |
| | | this.tagList[1].num = res.data.startNum.toString() |
| | | this.tagList[2].num = res.data.ingNum.toString() |
| | | this.tagList[3].num = res.data.endNum.toString() |
| | | } |
| | | }) |
| | | }, |
| | | // è·åå·¥åæ°æ® |
| | | getOrganizations() { |
| | | getOrganization({ |
| | | type: 1 |
| | | }).then(res => { |
| | | if (res.code === 200 && res.data && res.data.length !== 0) { |
| | | res.data.forEach((item, i) => { |
| | | item.isActive = i === 0; |
| | | }) |
| | | if (res.data.length > 0) { |
| | | this.factoryList = res.data |
| | | this.listData.departIds = this.factoryList[0].id |
| | | this.listData.procedureIds = '' |
| | | this.finished = false |
| | | this.getWorkingProcedures(this.factoryList[0].id) |
| | | this.getLists() |
| | | this.pageCounts() |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | // è·åå·¥åºæ°æ® |
| | | getWorkingProcedures(orgId) { |
| | | this.data = [] |
| | | getWorkingProcedure({ |
| | | orgId |
| | | }) |
| | | .then(res => { |
| | | if (res.code === 200 && res.data && res.data.length !== 0) { |
| | | res.data.forEach((item, i) => { |
| | | item.isActive = false; |
| | | }) |
| | | this.data = res.data |
| | | } |
| | | }) |
| | | }, |
| | | // æç´¢å¼¹æ¡æäº¤ |
| | | submit() { |
| | | let pmodelOrgId = [] |
| | | this.data.forEach((item) => { |
| | | if (item.isActive) { |
| | | pmodelOrgId.push(item.id) |
| | | } |
| | | }) |
| | | this.listData.procedureIds = pmodelOrgId |
| | | this.listData.page = 0 |
| | | this.finished = false |
| | | this.lists = [] |
| | | // this.getLists() |
| | | // this.pageCounts() |
| | | }, |
| | | // è·å计ååè¡¨æ°æ® |
| | | getLists() { |
| | | console.log('getLists') |
| | | if (!this.finished) { |
| | | this.loading = true |
| | | this.listData.page = this.listData.page++ |
| | | getList({ |
| | | capacity: this.listData.capacity, |
| | | model: { |
| | | mixParam: this.listData.mixParam, |
| | | startDate: this.listData.startDate, |
| | | endDate: this.listData.endDate, |
| | | procedureIdList: this.listData.procedureIds ? this.listData.procedureIds : [], |
| | | factoryId: this.listData.departIds, |
| | | statusList: this.listData.cateIds |
| | | }, |
| | | page: this.listData.page, |
| | | sorts: [{ |
| | | direction: 'ASC', |
| | | property: 'publishDate' |
| | | }] |
| | | }).then(res => { |
| | | this.loading = false |
| | | this.listData.total = res.data.total |
| | | if (this.refreshing) { |
| | | this.lists = [] |
| | | this.refreshing = false; |
| | | } |
| | | if (res.code === 200 && res.data.records.length !== 0) { |
| | | if (this.lists.length === 0) { |
| | | this.lists = res.data.records |
| | | } else { |
| | | this.lists.push(...res.data.records) |
| | | } |
| | | } else { |
| | | this.finished = true |
| | | } |
| | | }).catch(err => { |
| | | this.loading = false |
| | | this.finished = true |
| | | if (this.refreshing) { |
| | | this.lists = [] |
| | | this.refreshing = false; |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .content { |
| | | .content_search { |
| | | width: 100%; |
| | | padding: 30rpx; |
| | | background: white; |
| | | position: sticky; |
| | | top: 0; |
| | | z-index: 999; |
| | | box-sizing: border-box; |
| | | |
| | | .Search_item { |
| | | margin-bottom: 40rpx; |
| | | |
| | | .Search_item_label { |
| | | font-size: 30rpx; |
| | | font-weight: 500; |
| | | color: #222222; |
| | | } |
| | | |
| | | .Search_item_content { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | margin-top: 30rpx; |
| | | |
| | | .tag { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | align-items: center; |
| | | |
| | | .tag_active { |
| | | background: $nav-color !important; |
| | | color: #ffffff !important; |
| | | } |
| | | |
| | | .tag_item { |
| | | padding: 22rpx 26rpx; |
| | | box-sizing: border-box; |
| | | background: #F2F2F2; |
| | | border-radius: 8rpx; |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | color: #333333; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-right: 22rpx; |
| | | margin-bottom: 22rpx; |
| | | } |
| | | } |
| | | |
| | | text { |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | color: #333333; |
| | | margin: 0 30rpx; |
| | | } |
| | | |
| | | .Search_item_content_a { |
| | | padding: 20rpx 0; |
| | | flex: 1; |
| | | background: #F7F7F7; |
| | | border-radius: 8rpx; |
| | | border: 1rpx solid #EEEEEE; |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | color: #B2B2B2; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .content_search_x { |
| | | height: 24rpx; |
| | | } |
| | | } |
| | | |
| | | .content_list { |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | |
| | | .content_list_item { |
| | | width: 100%; |
| | | box-sizing: border-box; |
| | | padding: 30rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | border-bottom: 1rpx solid #ececec; |
| | | background: white; |
| | | |
| | | .content_list_item_top { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | |
| | | .content_list_item_top_left { |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | text { |
| | | font-size: 32rpx; |
| | | font-weight: 500; |
| | | color: #333333; |
| | | } |
| | | } |
| | | |
| | | .content_list_item_top_right { |
| | | font-size: 26rpx; |
| | | font-weight: 400; |
| | | |
| | | .created { |
| | | color: $nav-stateColor1 !important; |
| | | } |
| | | |
| | | .warning { |
| | | color: $nav-stateColor5 !important; |
| | | } |
| | | |
| | | .green { |
| | | color: $nav-stateColor6 !important; |
| | | } |
| | | |
| | | .info { |
| | | color: $nav-stateColor3 !important; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .content_list_item_content { |
| | | padding: 24rpx 30rpx; |
| | | background: #f7f7f7; |
| | | border-radius: 16rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | margin-top: 32rpx; |
| | | |
| | | .content_list_item_content_item { |
| | | width: 100%; |
| | | display: flex; |
| | | margin-top: 24rpx; |
| | | |
| | | &:first-child { |
| | | margin-top: 0; |
| | | } |
| | | |
| | | // &:nth-child(1) { |
| | | // margin-top: 0 !important; |
| | | // } |
| | | // &:nth-child(2) { |
| | | // margin-top: 0 !important; |
| | | // } |
| | | .content_list_item_content_item_label { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #666666; |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .content_list_item_content_item_nr { |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | margin-right: 10rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .content_total { |
| | | width: 100%; |
| | | height: 80rpx; |
| | | padding: 24rpx 30rpx; |
| | | background: #F7F7F7; |
| | | font-size: 24rpx; |
| | | font-weight: 400; |
| | | box-sizing: border-box; |
| | | color: #666666; |
| | | position: sticky; |
| | | z-index: 99; |
| | | } |
| | | } |
| | | </style> |