feat:
1. add price list status 2. add order remarks
This commit is contained in:
@@ -39,9 +39,10 @@
|
||||
</el-button>
|
||||
</template>
|
||||
</avue-crud>
|
||||
<el-drawer :title="`[${orderName}:${serialNumber}] Detail`" v-model="subVisible" :direction="direction"
|
||||
<el-drawer :title="`${orderName} ${serialNumber} `" v-model="subVisible" :direction="direction"
|
||||
append-to-body
|
||||
:before-close="handleSubClose" size="90%">
|
||||
<el-tag size="large" type="danger" effect="dark">{{notes}}</el-tag>
|
||||
<basic-container>
|
||||
<avue-crud :option="optionSub"
|
||||
:data="dataSub"
|
||||
@@ -78,16 +79,17 @@
|
||||
</avue-crud>
|
||||
</basic-container>
|
||||
</el-drawer>
|
||||
<el-drawer :title="`[${category}] [${material}] [${size}] [${shape}]`" v-model="photosVisible" :direction="directionPhotos"
|
||||
<el-drawer :title="`[${category}] [${material}] [${size}] [${shape}]`" v-model="photosVisible"
|
||||
:direction="directionPhotos"
|
||||
append-to-body
|
||||
:before-close="handlePhotosClose" size="90%">
|
||||
<basic-container>
|
||||
<avue-crud :option="optionPhotos" :data="dataPhotos" >
|
||||
<avue-crud :option="optionPhotos" :data="dataPhotos">
|
||||
<template #texts="{ row }">
|
||||
<div v-if="row.texts?.length">
|
||||
<div v-for="(item, index) in row.texts" :key="index" style="display: flex; gap: 4px; flex-wrap: wrap;">
|
||||
<el-tag size="small">{{ item.font }}</el-tag>
|
||||
<el-tag size="small" type="warning">{{ item.content }}</el-tag>
|
||||
<el-tag size="small" type="warning">{{ item.content }}</el-tag>
|
||||
</div>
|
||||
</div>
|
||||
<span v-else></span>
|
||||
@@ -137,11 +139,12 @@ export default {
|
||||
directionPhotos: 'rtl',
|
||||
orderId: 0,
|
||||
serialNumber: '',
|
||||
orderName: 'Order',
|
||||
orderName: 'Order SN',
|
||||
notes: '',
|
||||
category: '',
|
||||
material: '',
|
||||
size: '',
|
||||
shape:'',
|
||||
shape: '',
|
||||
formSub: {},
|
||||
querySub: {},
|
||||
loadingSub: true,
|
||||
@@ -301,12 +304,13 @@ export default {
|
||||
this.subVisible = true;
|
||||
this.orderId = row.id;
|
||||
this.serialNumber = row.serialNumber;
|
||||
this.notes = row.remarks;
|
||||
this.onLoadSub(this.pageSub);
|
||||
},
|
||||
handleSubClose(hide) {
|
||||
hide();
|
||||
},
|
||||
handlePhotosClose(hide){
|
||||
handlePhotosClose(hide) {
|
||||
hide();
|
||||
},
|
||||
handleAccept(row) {
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
<!-- </el-scrollbar>-->
|
||||
<!-- </div>-->
|
||||
<!-- </el-col>-->
|
||||
<el-col :span="19">
|
||||
<!-- <el-col :span="19"> 适配上面 tree 的宽度-->
|
||||
<el-col :span="24">
|
||||
<basic-container>
|
||||
<!-- <div style="margin-bottom: 20px;">-->
|
||||
<!-- <el-tag effect="dark">{{ deptName || 'Please select dept from left side' }}</el-tag>-->
|
||||
|
||||
Reference in New Issue
Block a user