|
@@ -11,6 +11,9 @@
|
|
|
@click="backToList">返回列表
|
|
|
</el-button>
|
|
|
</template>
|
|
|
+ <template slot="orderNo" slot-scope="scope">
|
|
|
+ <span style="color: #409EFF;cursor: pointer" @click.stop="detOpen(scope.row)">{{ scope.row.orderNo}}</span>
|
|
|
+ </template>
|
|
|
</avue-crud>
|
|
|
</basic-container>
|
|
|
</div>
|
|
@@ -576,6 +579,32 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
+ //点击跳转销售单
|
|
|
+ detOpen(row){
|
|
|
+ if (eval("(this.$store.getters.domSaleStatus)")) {
|
|
|
+ this.$alert(
|
|
|
+ "" +
|
|
|
+ "销售订单" +
|
|
|
+ "页面已存在,请关闭" +
|
|
|
+ "销售订单" +
|
|
|
+ "页面再进行操作",
|
|
|
+ "温馨提示",
|
|
|
+ {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ type: "warning",
|
|
|
+ callback: action => { }
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }else {
|
|
|
+ this.$router.$avueRouter.closeTag("/businessManagement/salesOrder/index");
|
|
|
+ this.$router.push({
|
|
|
+ path: "/businessManagement/salesOrder/index",
|
|
|
+ query: {
|
|
|
+ id: row.id
|
|
|
+ },
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
getAllWorkDicts() {
|
|
|
this.getWorkDicts('brand').then(res => {
|
|
|
this.findObject(this.option.column, "brand").dicData =
|