Commit c2ce38e3 by LJM

css

parent 52503759
......@@ -116,7 +116,7 @@
<!--未成单-->
<span v-if="scope.row.is_purchased == 0">{{ scope.row.is_purchased_val }}</span>
<!--成单-->
<a v-if="scope.row.is_purchased == 1" class="alink" :href="'/#/orderTrackGoods?inquiry_item_id='+scope.row.id">{{ scope.row.is_purchased_val }}</a>
<a v-if="scope.row.is_purchased == 1" class="alink" :href="'/#/orderTrackGoods?inquiry_sn='+scope.row.inquiry_sn">{{ scope.row.is_purchased_val }}</a>
</template>
</el-table-column>
<el-table-column prop="customer_tag" label="客户性质" width="80" :show-overflow-tooltip="true" align="center"></el-table-column>
......
......@@ -197,13 +197,17 @@ export default {
};
},
created() {
let inquiry_sn = this.$route.query.inquiry_sn;
this.inquiry_item_id = this.$route.query.inquiry_item_id || '';
if (inquiry_sn) {
this.formInline.inquiry_sn = inquiry_sn;
}
this.formInline.inquiry_sn = this.$route.query.inquiry_sn || '';
this.getData();
},
watch: {
$route(to, from) {
if (to.path == '/orderTrackGoods') {
this.formInline.inquiry_sn = this.$route.query.inquiry_sn || '';
this.getData();
}
}
},
methods: {
getData() {
//格式化时间
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment