|
@@ -17,7 +17,7 @@
|
|
<el-button v-if="formData.id && ~['ON'].indexOf(formData.status)" type="primary" size="small"
|
|
<el-button v-if="formData.id && ~['ON'].indexOf(formData.status)" type="primary" size="small"
|
|
@click="setStatus('OFF')">下架</el-button>
|
|
@click="setStatus('OFF')">下架</el-button>
|
|
<el-button v-if="formData.id && ~['ON', 'OFF'].indexOf(formData.status)" type="primary" size="small"
|
|
<el-button v-if="formData.id && ~['ON', 'OFF'].indexOf(formData.status)" type="primary" size="small"
|
|
- @click="setStatus('SALE')">转销售</el-button>
|
|
|
|
|
|
+ @click="zhuanxiaoshou">转销售</el-button>
|
|
<el-button v-if="formData.id && ~['OFF'].indexOf(formData.status)" type="primary" size="small"
|
|
<el-button v-if="formData.id && ~['OFF'].indexOf(formData.status)" type="primary" size="small"
|
|
@click="setStatus('ON')">重新上架</el-button>
|
|
@click="setStatus('ON')">重新上架</el-button>
|
|
<el-button size="small" @click="handleClose">取消</el-button>
|
|
<el-button size="small" @click="handleClose">取消</el-button>
|
|
@@ -201,7 +201,7 @@ export default {
|
|
]
|
|
]
|
|
},
|
|
},
|
|
// esOrderInfo
|
|
// esOrderInfo
|
|
- formItems2() {
|
|
|
|
|
|
+ formItems2 () {
|
|
return [{
|
|
return [{
|
|
name: 'slot-component',
|
|
name: 'slot-component',
|
|
md: 24,
|
|
md: 24,
|
|
@@ -250,7 +250,7 @@ export default {
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col xs={24} sm={24} md={8} lg={8} xl={8}>
|
|
|
|
|
|
+ {~['SEND','OVER'].indexOf(this?.formData?.esOrderInfo?.status)?<el-col xs={24} sm={24} md={8} lg={8} xl={8}>
|
|
<div class='info'>
|
|
<div class='info'>
|
|
<div class='info_title'>物流信息</div>
|
|
<div class='info_title'>物流信息</div>
|
|
<div class='info_bottom'>
|
|
<div class='info_bottom'>
|
|
@@ -264,13 +264,20 @@ export default {
|
|
<div>快递单号:{this?.formData?.esOrderInfo?.logisticsNo}</div>
|
|
<div>快递单号:{this?.formData?.esOrderInfo?.logisticsNo}</div>
|
|
<div>快递公司:{this?.formData?.esOrderInfo?.logisticsName}</div>
|
|
<div>快递公司:{this?.formData?.esOrderInfo?.logisticsName}</div>
|
|
<el-button type='primary' size='small' onClick={() => {
|
|
<el-button type='primary' size='small' onClick={() => {
|
|
-
|
|
|
|
|
|
+ this.$router.push({
|
|
|
|
+ name: 'orderManagement',
|
|
|
|
+ params: {
|
|
|
|
+ pageName: this?.formData?.esOrderInfo?.esOrderId,
|
|
|
|
+ pageType: 'materialFlow',
|
|
|
|
+ pageCode: this?.formData?.esOrderInfo?.esOrderId,
|
|
|
|
+ },
|
|
|
|
+ })
|
|
}}>查看物流
|
|
}}>查看物流
|
|
</el-button>
|
|
</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </el-col>
|
|
|
|
|
|
+ </el-col>:null}
|
|
</el-row>
|
|
</el-row>
|
|
</div>)
|
|
</div>)
|
|
}
|
|
}
|
|
@@ -428,6 +435,16 @@ export default {
|
|
},
|
|
},
|
|
handleClose() {
|
|
handleClose() {
|
|
this.$emit('back')
|
|
this.$emit('back')
|
|
|
|
+ },
|
|
|
|
+ zhuanxiaoshou(){
|
|
|
|
+ this.$router.push({
|
|
|
|
+ name: 'orderManagement',
|
|
|
|
+ params: {
|
|
|
|
+ pageName: this.detailId,
|
|
|
|
+ pageType: 'add',
|
|
|
|
+ pageCode: this.detailId,
|
|
|
|
+ },
|
|
|
|
+ })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|