|
@@ -37,7 +37,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
|
- <detail-dialog ref="DetailDialogRef"></detail-dialog>
|
|
|
|
|
|
|
+ <detail-dialog ref="DetailDialogRef" :detailDialogFlag.sync="detailDialogFlag"></detail-dialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -58,6 +58,7 @@
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
activeComp: 'saleorder',
|
|
activeComp: 'saleorder',
|
|
|
|
|
+ detailDialogFlag: false,
|
|
|
selection: [], //单选中集合
|
|
selection: [], //单选中集合
|
|
|
delVisible: false, //批量删除弹框状态
|
|
delVisible: false, //批量删除弹框状态
|
|
|
loading: false, // 加载状态
|
|
loading: false, // 加载状态
|
|
@@ -203,7 +204,8 @@
|
|
|
//查看详情
|
|
//查看详情
|
|
|
openorderDetail(row, type) {
|
|
openorderDetail(row, type) {
|
|
|
if (type === 'statementNo') {
|
|
if (type === 'statementNo') {
|
|
|
- this.$refs.DetailDialogRef.open(row);
|
|
|
|
|
|
|
+ this.detailDialogFlag = true;
|
|
|
|
|
+ this.$refs.DetailDialogRef.open('view', row, '2');
|
|
|
}
|
|
}
|
|
|
if (type === 'orderNo') {
|
|
if (type === 'orderNo') {
|
|
|
this.$refs.orderDetailDialogRef.open({ id: row.orderId });
|
|
this.$refs.orderDetailDialogRef.open({ id: row.orderId });
|