Compare commits

..

No commits in common. "d725cb7a0c351b8616a946a54597137697231a8e" and "6ac3fcb572891ca73feb6101d6988dd039445b0f" have entirely different histories.

6 changed files with 1031 additions and 625 deletions

View File

@ -1,8 +1,13 @@
/* /*
* @Author: gtz * @Author: gtz
* @Date: 2021-03-04 16:13:51 * @Date: 2021-03-04 16:13:51
<<<<<<< HEAD
* @LastEditors: fzq
* @LastEditTime: 2022-03-14 16:22:38
=======
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-15 10:17:01 * @LastEditTime: 2022-03-14 10:58:20
>>>>>>> develop
* @Description: file content * @Description: file content
*/ */
export default { export default {

View File

@ -1,8 +1,14 @@
/* /*
* @Author: gtz * @Author: gtz
* @Date: 2021-03-04 16:13:51 * @Date: 2021-03-04 16:13:51
<<<<<<< HEAD
* @LastEditors: fzq
* @LastEditTime: 2022-03-14 16:22:20
* @Description: file content
=======
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-15 10:16:52 * @LastEditTime: 2022-03-14 10:58:12
>>>>>>> develop
*/ */
export default { export default {
visual: { visual: {

View File

@ -2,7 +2,7 @@
* @Author: gtz * @Author: gtz
* @Date: 2022-03-03 09:16:10 * @Date: 2022-03-03 09:16:10
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-15 11:03:18 * @LastEditTime: 2022-03-11 16:33:41
* @Description: file content * @Description: file content
* @FilePath: \mt-ck-wms-ui\src\views\dashboard\index.vue * @FilePath: \mt-ck-wms-ui\src\views\dashboard\index.vue
--> -->
@ -117,8 +117,26 @@
) )
" "
> >
<div v-if="z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].attribute !== 3" class="dashboard-layout-item-cricle" :style="{background: z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].cassetteList[0] ? cassetteStatusObj[z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].cassetteList[0].status] : ''}" /> <div
{{ z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].attribute !== 3 ? z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].name : 'XXXX' }} v-if="
z.portList[
(current - 1) * 80 + (item - 1) * 20 + (x - 1)
].attribute !== 3
"
class="dashboard-layout-item-cricle"
:style="{
background:
cassetteStatusObj[
z.portList[
(current - 1) * 80 + (item - 1) * 20 + (x - 1)
].cassetteList[0].status
]
}"
/>
{{
z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)]
.name
}}
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
@ -198,8 +216,26 @@
) )
" "
> >
<div v-if="z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].attribute !== 3" class="dashboard-layout-item-cricle" :style="{background: z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].cassetteList[0] ? cassetteStatusObj[z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].cassetteList[0].status] : ''}" /> <div
{{ z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].attribute !== 3 ? z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].name : 'XXXX' }} v-if="
z.portList[
(current - 1) * 80 + (item - 1) * 20 + (x - 1)
].attribute !== 3
"
class="dashboard-layout-item-cricle"
:style="{
background:
cassetteStatusObj[
z.portList[
(current - 1) * 80 + (item - 1) * 20 + (x - 1)
].cassetteList[0].status
]
}"
/>
{{
z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)]
.name
}}
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
@ -247,8 +283,26 @@
) )
" "
> >
<div v-if="z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].attribute !== 3" class="dashboard-layout-item-cricle" :style="{background: z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].cassetteList[0] ? cassetteStatusObj[z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].cassetteList[0].status] : ''}" /> <div
{{ z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].attribute !== 3 ? z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)].name : 'XXXX' }} v-if="
z.portList[
(current - 1) * 80 + (item - 1) * 20 + (x - 1)
].attribute !== 3
"
class="dashboard-layout-item-cricle"
:style="{
background:
cassetteStatusObj[
z.portList[
(current - 1) * 80 + (item - 1) * 20 + (x - 1)
].cassetteList[0].status
]
}"
/>
{{
z.portList[(current - 1) * 80 + (item - 1) * 20 + (x - 1)]
.name
}}
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
@ -299,13 +353,13 @@ export default {
} else { } else {
this.typeVisible = true this.typeVisible = true
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.typeRef.init(item.id, item.name) this.$refs.typeRef.init(item.id)
}) })
} }
} }
}, },
setStorageList(locationId, locationName, dataForm) { setStorageList(locationId, dataForm) {
const obj = Object.assign({ locationId, locationName }, dataForm) const obj = Object.assign({ locationId }, dataForm)
this.selectStorageList.push(obj) this.selectStorageList.push(obj)
}, },
handleChange(v) { handleChange(v) {
@ -313,7 +367,7 @@ export default {
}, },
submitLinkList() { submitLinkList() {
const tipArr = this.selectStorageList.map(item => { const tipArr = this.selectStorageList.map(item => {
return item.locationName return item.locationId
}) })
const obj = { const obj = {
id: this.id, id: this.id,

View File

@ -2,7 +2,7 @@
* @Author: zwq * @Author: zwq
* @Date: 2020-12-29 16:37:56 * @Date: 2020-12-29 16:37:56
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-15 11:02:46 * @LastEditTime: 2022-03-11 14:48:18
* @Description: * @Description:
--> -->
<template> <template>
@ -49,7 +49,6 @@ export default {
return { return {
visible: false, visible: false,
locationId: '', locationId: '',
locationName: '',
dataForm: { dataForm: {
portAttrId: 1, portAttrId: 1,
storageId: '' storageId: ''
@ -66,9 +65,8 @@ export default {
} }
}, },
methods: { methods: {
init(id, name) { init(id) {
this.locationId = id this.locationId = id
this.locationName = name
const listQuery = { const listQuery = {
current: 1, current: 1,
size: 999 size: 999
@ -80,9 +78,6 @@ export default {
this.storageBoxArr.splice(0, this.list.length) this.storageBoxArr.splice(0, this.list.length)
} }
}) })
this.$nextTick(() => {
this.$refs['dataForm'].resetFields()
})
this.visible = true this.visible = true
}, },
// //
@ -90,7 +85,7 @@ export default {
this.$refs['dataForm'].validate((valid) => { this.$refs['dataForm'].validate((valid) => {
if (valid) { if (valid) {
this.visible = false this.visible = false
this.$emit('refreshDataList', this.locationId, this.locationName, this.dataForm) this.$emit('refreshDataList', this.locationId, this.dataForm)
} }
}) })
} }

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
* @Author: zwq * @Author: zwq
* @Date: 2020-12-29 16:37:56 * @Date: 2020-12-29 16:37:56
* @LastEditors: zwq * @LastEditors: zwq
* @LastEditTime: 2022-03-15 10:50:00 * @LastEditTime: 2022-03-11 09:05:38
* @Description: * @Description:
--> -->
<template> <template>
@ -114,7 +114,7 @@
</template> </template>
<script> <script>
import { ExecutionInfoDetail } from '@/api/orderManage/00A' import { ProcessInfoDetail } from '@/api/orderManage/00A'
export default { export default {
data() { data() {
@ -146,7 +146,7 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['dataForm'].resetFields() this.$refs['dataForm'].resetFields()
if (this.dataForm.id) { if (this.dataForm.id) {
ExecutionInfoDetail(this.dataForm.id).then(res => { ProcessInfoDetail(this.dataForm.id).then(res => {
res.data.status = this.statusfilter('orderStatus', res.data.status) res.data.status = this.statusfilter('orderStatus', res.data.status)
res.data.type = this.statusfilter('orderType', res.data.type) res.data.type = this.statusfilter('orderType', res.data.type)
res.data.priority = this.statusfilter('priority', res.data.priority) res.data.priority = this.statusfilter('priority', res.data.priority)